Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.006124/0.006124, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.08877/0.08877, allocations: 18.24 MB / 42.19 MB, free: 5.195 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009409/0.0009409, allocations: 88.75 kB / 53.06 MB, free: 6.52 MB / 44.04 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 156.5 kB / 64.03 MB, free: 10.21 MB / 58.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9363/0.9363, allocations: 177.2 MB / 252.1 MB, free: 11.75 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.5046/0.5046, allocations: 102.5 MB / 418.6 MB, free: 5.184 MB / 362.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.6029 GB, free: 264 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.677e-05, allocations: 6.359 kB / 0.6029 GB, free: 260 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves): time 0.01156/0.01157, allocations: 15.33 MB / 0.6179 GB, free: 0.8516 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01871/0.03028, allocations: 17.61 MB / 0.6351 GB, free: 15.17 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.03161, allocations: 99.25 kB / 0.6352 GB, free: 15.07 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.002399/0.03401, allocations: 1.681 MB / 0.6368 GB, free: 13.38 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.0363, allocations: 2.177 MB / 0.639 GB, free: 11.19 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003596/0.0399, allocations: 2.712 MB / 0.6416 GB, free: 8.477 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.003443/0.04334, allocations: 5.826 MB / 0.6473 GB, free: 2.633 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.04492, allocations: 1.661 MB / 0.6489 GB, free: 0.9297 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.04694, allocations: 3.18 MB / 0.652 GB, free: 13.74 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.04841, allocations: 1.963 MB / 0.6539 GB, free: 11.77 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0002995/0.04871, allocations: 360 kB / 0.6543 GB, free: 11.42 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.05065, allocations: 1.341 MB / 0.6556 GB, free: 10.08 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.0005999/0.05125, allocations: 1.191 MB / 0.6568 GB, free: 8.883 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.0008208/0.05207, allocations: 1.289 MB / 0.658 GB, free: 7.59 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.003935/0.05601, allocations: 6.18 MB / 0.6641 GB, free: 1.391 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.05601, allocations: 0 / 0.6641 GB, free: 1.391 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.443e-06/0.05601, allocations: 0 / 0.6641 GB, free: 1.391 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 2.945e-05/0.05604, allocations: 0 / 0.6641 GB, free: 1.391 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 845 * Number of variables: 845 Notification: Performance of Generate backend data structure: time 0.2432/0.2993, allocations: 4.592 MB / 0.6685 GB, free: 68.3 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.2993, allocations: 9.094 kB / 0.6685 GB, free: 68.3 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004054/0.2997, allocations: 410.3 kB / 0.6689 GB, free: 68.07 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.3009, allocations: 0.5859 MB / 0.6695 GB, free: 67.8 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004642/0.3056, allocations: 3.641 MB / 0.6731 GB, free: 66.2 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.3057, allocations: 167.6 kB / 0.6732 GB, free: 66.12 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.3059, allocations: 216.3 kB / 0.6734 GB, free: 66.05 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006339/0.3123, allocations: 5.869 MB / 0.6792 GB, free: 61.82 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.997e-05/0.3123, allocations: 39.56 kB / 0.6792 GB, free: 61.79 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.3125, allocations: 119.8 kB / 0.6793 GB, free: 61.72 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.308e-05/0.3125, allocations: 84.23 kB / 0.6794 GB, free: 61.71 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005256/0.3178, allocations: 3.463 MB / 0.6828 GB, free: 60.64 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.3283, allocations: 25.24 MB / 0.7074 GB, free: 37.83 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005291/0.3335, allocations: 2.802 MB / 0.7102 GB, free: 36.71 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009299/0.3345, allocations: 0.8225 MB / 0.711 GB, free: 36.26 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/0.3347, allocations: 117.2 kB / 0.7111 GB, free: 36.23 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.3347, allocations: 67.28 kB / 0.7111 GB, free: 36.18 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=427): time 4.92e-06/0.3347, allocations: 0 / 0.7111 GB, free: 36.18 MB / 0.5418 GB Notification: Performance of matching and sorting (n=427): time 0.01008/0.3448, allocations: 5.561 MB / 0.7166 GB, free: 33.66 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/0.3449, allocations: 0.6095 MB / 0.7172 GB, free: 32.93 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/0.3483, allocations: 3.397 MB / 0.7205 GB, free: 31.07 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.3484, allocations: 52.58 kB / 0.7205 GB, free: 31.02 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.00067/0.3491, allocations: 1.648 MB / 0.7221 GB, free: 29.56 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006903/0.3498, allocations: 1.441 MB / 0.7236 GB, free: 28.3 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009338/0.3507, allocations: 0.9644 MB / 0.7245 GB, free: 27.73 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 2.74e-05/0.3507, allocations: 301.1 kB / 0.7248 GB, free: 27.44 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/0.3523, allocations: 1.289 MB / 0.726 GB, free: 26.74 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002186/0.3544, allocations: 3.19 MB / 0.7292 GB, free: 23.51 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005873/0.3603, allocations: 6.223 MB / 0.7352 GB, free: 17.3 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.637e-05/0.3603, allocations: 19.94 kB / 0.7353 GB, free: 17.29 MB / 0.5418 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.005338/0.3657, allocations: 4.813 MB / 0.74 GB, free: 12.43 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.3657, allocations: 28 kB / 0.74 GB, free: 12.4 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003178/0.3689, allocations: 2.953 MB / 0.7429 GB, free: 9.402 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/0.369, allocations: 116.8 kB / 0.743 GB, free: 9.285 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.3709, allocations: 1.252 MB / 0.7442 GB, free: 8.031 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000695/0.3716, allocations: 1.439 MB / 0.7456 GB, free: 6.48 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.3732, allocations: 0.5311 MB / 0.7461 GB, free: 5.945 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/0.3735, allocations: 331.8 kB / 0.7464 GB, free: 5.621 MB / 0.5418 GB Warning: Assuming fixed start value for the following 2 variables: threeWayValveVLE_L2_1.h:VARIABLE(start = threeWayValveVLE_L2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) type: Real threeWayValveVLE_L2_1.p:VARIABLE(min = 0.0 start = threeWayValveVLE_L2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002464/0.376, allocations: 1.97 MB / 0.7484 GB, free: 3.645 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001999/0.378, allocations: 3.174 MB / 0.7515 GB, free: 15.61 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007063/0.385, allocations: 6.186 MB / 0.7575 GB, free: 8.598 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.911e-05/0.385, allocations: 20 kB / 0.7575 GB, free: 8.578 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.00622/0.3913, allocations: 4.793 MB / 0.7622 GB, free: 3.738 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.3913, allocations: 31.94 kB / 0.7622 GB, free: 3.707 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003545/0.3948, allocations: 2.949 MB / 0.7651 GB, free: 0.7148 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001446/0.395, allocations: 112.8 kB / 0.7652 GB, free: 0.6016 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.397, allocations: 1.256 MB / 0.7664 GB, free: 15.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007828/0.3978, allocations: 1.427 MB / 0.7678 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.3995, allocations: 417.1 kB / 0.7682 GB, free: 13.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002985/0.3998, allocations: 327.8 kB / 0.7686 GB, free: 13.07 MB / 0.573 GB Warning: Assuming fixed start value for the following 2 variables: threeWayValveVLE_L2_1.h:VARIABLE(start = threeWayValveVLE_L2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) type: Real threeWayValveVLE_L2_1.p:VARIABLE(min = 0.0 start = threeWayValveVLE_L2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (660): * Single equations (assignments): 659 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001161/0.4009, allocations: 0.4916 MB / 0.769 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006544/0.4016, allocations: 439.6 kB / 0.7694 GB, free: 12.14 MB / 0.573 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 525 equation(s) and 506 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:65:5-70:23:writable] Error: (pressureSink_ph1.fluidOut.VLE.d_l, pressureSink_ph1.fluidOut.VLE.h_l, pressureSink_ph1.fluidOut.VLE.p_l, pressureSink_ph1.fluidOut.VLE.s_l, pressureSink_ph1.fluidOut.VLE.T_l, _, pressureSink_ph1.fluidOut.VLE.d_v, pressureSink_ph1.fluidOut.VLE.h_v, pressureSink_ph1.fluidOut.VLE.p_v, pressureSink_ph1.fluidOut.VLE.s_v, pressureSink_ph1.fluidOut.VLE.T_v, _) = ($cse154, $cse155, $cse156, $cse157, $cse158, $cse159, $cse160, $cse161, $cse162, $cse163, $cse164, $cse165) has size 10 but 2 variables (massFlowSource_h.fluidOut.s, massFlowSource_h.eye_int[1].s) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005324/0.4069, allocations: 4.907 MB / 0.7742 GB, free: 7.379 MB / 0.573 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.1425660336390138]