Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.conf.json 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.0009093/0.0009093, allocations: 80.31 kB / 22.21 MB, free: 2.281 MB / 18.57 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.001042/0.001042, allocations: 167.6 kB / 25.61 MB, free: 8.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8383/0.8383, allocations: 158.6 MB / 187.5 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1762/0.1762, allocations: 36.34 MB / 276.2 MB, free: 14.35 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 355 MB, free: 62.54 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.418e-05, allocations: 2.969 kB / 355.1 MB, free: 62.54 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.01664/0.01665, allocations: 24.16 MB / 379.2 MB, free: 45.76 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005791/0.02244, allocations: 8.183 MB / 387.4 MB, free: 38.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.02264, allocations: 15.81 kB / 387.4 MB, free: 38.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000368/0.02301, allocations: 158.7 kB / 387.6 MB, free: 38.26 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.02336, allocations: 293.8 kB / 387.9 MB, free: 37.97 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008232/0.03159, allocations: 4.959 MB / 392.8 MB, free: 32.99 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005429/0.03213, allocations: 0.825 MB / 393.6 MB, free: 32.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.03236, allocations: 231.4 kB / 393.9 MB, free: 31.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000505/0.03287, allocations: 0.4906 MB / 394.4 MB, free: 31.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.03306, allocations: 251.2 kB / 394.6 MB, free: 31.19 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.03309, allocations: 32 kB / 394.6 MB, free: 31.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005813/0.0389, allocations: 5.801 MB / 400.4 MB, free: 25.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.03896, allocations: 87.59 kB / 400.5 MB, free: 25.26 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.03907, allocations: 171.6 kB / 400.7 MB, free: 25.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003911/0.04298, allocations: 4.494 MB / 405.2 MB, free: 20.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.04298, allocations: 0 / 405.2 MB, free: 20.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.04298, allocations: 0 / 405.2 MB, free: 20.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.04299, allocations: 0 / 405.2 MB, free: 20.59 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001667/0.04465, allocations: 1.202 MB / 406.4 MB, free: 19.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.04468, allocations: 12.02 kB / 406.4 MB, free: 19.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.04487, allocations: 116.5 kB / 406.5 MB, free: 19.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.04513, allocations: 337.1 kB / 406.8 MB, free: 18.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.04515, allocations: 21.03 kB / 406.9 MB, free: 18.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.04517, allocations: 32.38 kB / 406.9 MB, free: 18.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.04569, allocations: 383.9 kB / 407.3 MB, free: 18.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.04571, allocations: 192 / 407.3 MB, free: 18.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.04573, allocations: 15.94 kB / 407.3 MB, free: 18.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.04574, allocations: 8 kB / 407.3 MB, free: 18.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.04604, allocations: 171.7 kB / 407.5 MB, free: 18.2 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.04716, allocations: 1.901 MB / 409.4 MB, free: 16.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.04768, allocations: 202.1 kB / 409.6 MB, free: 16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.789e-05/0.04774, allocations: 55.34 kB / 409.6 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03098/0.07872, allocations: 14.64 MB / 424.2 MB, free: 1.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.07875, allocations: 37.39 kB / 424.3 MB, free: 1.234 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.844e-06/0.07875, allocations: 0 / 424.3 MB, free: 1.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005829/0.07933, allocations: 245.1 kB / 424.5 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.07935, allocations: 85.05 kB / 424.6 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.07954, allocations: 374.5 kB / 425 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.07956, allocations: 25.7 kB / 425 MB, free: 484 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.486e-05/0.07965, allocations: 291.1 kB / 425.3 MB, free: 184 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.07968, allocations: 63.47 kB / 425.3 MB, free: 120 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.07975, allocations: 55.33 kB / 425.4 MB, free: 56 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.07991, allocations: 0.5196 MB / 425.9 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.473e-05/0.07999, allocations: 35.66 kB / 426 MB, free: 15.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.0801, allocations: 121 kB / 426.1 MB, free: 15.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.08029, allocations: 159.8 kB / 426.2 MB, free: 15.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.08029, allocations: 0 / 426.2 MB, free: 15.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003065/0.0806, allocations: 197.1 kB / 426.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.08061, allocations: 8 kB / 426.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.08062, allocations: 4.219 kB / 426.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.08063, allocations: 4 kB / 426.4 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.08083, allocations: 63.89 kB / 426.5 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.08084, allocations: 0 / 426.5 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.08101, allocations: 31.83 kB / 426.5 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.08103, allocations: 8 kB / 426.5 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001211/0.08115, allocations: 154.8 kB / 426.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000108/0.08126, allocations: 128.5 kB / 426.8 MB, free: 14.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000164/0.08142, allocations: 172.3 kB / 427 MB, free: 14.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.08142, allocations: 0 / 427 MB, free: 14.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002734/0.08169, allocations: 201.1 kB / 427.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.211e-06/0.0817, allocations: 4 kB / 427.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.0817, allocations: 4 kB / 427.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.698e-06/0.08171, allocations: 4 kB / 427.2 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.08187, allocations: 62.83 kB / 427.3 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.08188, allocations: 4.75 kB / 427.3 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.08204, allocations: 31.88 kB / 427.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.08205, allocations: 8 kB / 427.3 MB, free: 13.96 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveLiqChocked.fluidState.phase,ValveVap.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.08217, allocations: 287.9 kB / 427.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.979e-05/0.08225, allocations: 43.7 kB / 427.6 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.08259, allocations: 258 kB / 427.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.08259, allocations: 4 kB / 427.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.08259, allocations: 0 / 427.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.0826, allocations: 0 / 427.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.08296, allocations: 276.8 kB / 428.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.08296, allocations: 0 / 428.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.08311, allocations: 47.89 kB / 428.2 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.08311, allocations: 3.938 kB / 428.2 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.08312, allocations: 4 kB / 428.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.08313, allocations: 4 kB / 428.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.08313, allocations: 0 / 428.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.08343, allocations: 420.1 kB / 428.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.08348, allocations: 39.69 kB / 428.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.08353, allocations: 27.78 kB / 428.7 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.08372, allocations: 15.98 kB / 428.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.08376, allocations: 23.83 kB / 428.7 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.08377, allocations: 8 kB / 428.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002121/0.08398, allocations: 314.7 kB / 429 MB, free: 12.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08398, allocations: 0 / 429 MB, free: 12.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001897/0.08588, allocations: 0.9629 MB / 430 MB, free: 11.19 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00288/0.08876, allocations: 1.082 MB / 431.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.08907, allocations: 192.5 kB / 431.3 MB, free: 9.906 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.08908, allocations: 0 / 431.3 MB, free: 9.906 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.08916, allocations: 60.09 kB / 431.3 MB, free: 9.844 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007814/0.08994, allocations: 184.3 kB / 431.5 MB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.09121, allocations: 0.7383 MB / 432.2 MB, free: 8.895 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.559e-05/0.09129, allocations: 104.6 kB / 432.3 MB, free: 8.773 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002637/0.09155, allocations: 149.6 kB / 432.5 MB, free: 8.633 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.09179, allocations: 170.1 kB / 432.7 MB, free: 8.465 MB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.09179, allocations: 0 / 432.7 MB, free: 8.465 MB / 346.7 MB Notification: Performance of Templates: time 0.03905/0.1308, allocations: 38.16 MB / 470.8 MB, free: 2.305 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.598197808023542]