Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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.0008958/0.0008958, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0009663/0.0009663, allocations: 166.5 kB / 24.82 MB, free: 9.27 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.8656/0.8656, allocations: 158.6 MB / 186.7 MB, free: 2.781 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.1989/0.1989, allocations: 36.34 MB / 275.4 MB, free: 10.48 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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 354.3 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239e-05/1.393e-05, allocations: 2.312 kB / 354.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.0274/0.02742, allocations: 28.4 MB / 382.7 MB, free: 6.637 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009093/0.03651, allocations: 8.549 MB / 391.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000366/0.03687, allocations: 31.69 kB / 391.2 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005317/0.03741, allocations: 230.1 kB / 391.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007707/0.03818, allocations: 0.5468 MB / 392 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009951/0.04813, allocations: 5.156 MB / 397.2 MB, free: 8.074 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.04937, allocations: 1.442 MB / 398.6 MB, free: 6.625 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005721/0.04994, allocations: 0.5037 MB / 399.1 MB, free: 6.105 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008609/0.0508, allocations: 0.7405 MB / 399.9 MB, free: 5.363 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005498/0.05135, allocations: 0.5103 MB / 400.4 MB, free: 4.852 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.433e-05/0.05143, allocations: 64 kB / 400.4 MB, free: 4.789 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007402/0.05883, allocations: 5.872 MB / 406.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.05896, allocations: 179.2 kB / 406.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.05924, allocations: 315.2 kB / 406.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006674/0.06591, allocations: 4.844 MB / 411.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.06592, allocations: 0 / 411.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.06592, allocations: 0 / 411.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.06593, allocations: 0 / 411.6 MB, free: 9.57 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.003331/0.06926, allocations: 1.607 MB / 413.2 MB, free: 7.922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.06931, allocations: 12.03 kB / 413.2 MB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003873/0.0697, allocations: 212.1 kB / 413.5 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005808/0.07028, allocations: 0.5377 MB / 414 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.07031, allocations: 41.69 kB / 414 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.884e-05/0.07037, allocations: 48.38 kB / 414.1 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008918/0.07126, allocations: 0.7164 MB / 414.8 MB, free: 6.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.07127, allocations: 192 / 414.8 MB, free: 6.277 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.07131, allocations: 23.94 kB / 414.8 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.07132, allocations: 16 kB / 414.8 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/0.07202, allocations: 0.5101 MB / 415.3 MB, free: 5.727 MB / 346.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.001992/0.07401, allocations: 2.517 MB / 417.9 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.07444, allocations: 267 kB / 418.1 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.07454, allocations: 91.5 kB / 418.2 MB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0244/0.09895, allocations: 14.71 MB / 432.9 MB, free: 4.043 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.09898, allocations: 37.39 kB / 433 MB, free: 3.996 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003686/0.09935, allocations: 103.6 kB / 433.1 MB, free: 3.895 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/0.09935, allocations: 0 / 433.1 MB, free: 3.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.003485/0.1028, allocations: 1.386 MB / 434.4 MB, free: 2.496 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.1029, allocations: 59.41 kB / 434.5 MB, free: 2.426 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.1032, allocations: 0.5061 MB / 435 MB, free: 1.902 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.1032, allocations: 29.7 kB / 435 MB, free: 1.867 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.1034, allocations: 398.9 kB / 435.4 MB, free: 1.473 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.695e-05/0.1035, allocations: 115 kB / 435.5 MB, free: 1.359 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/0.1036, allocations: 95.56 kB / 435.6 MB, free: 1.254 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1037, allocations: 0.539 MB / 436.2 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-05/0.1038, allocations: 68.88 kB / 436.2 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.1039, allocations: 127.3 kB / 436.4 MB, free: 496 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.1042, allocations: 213.7 kB / 436.6 MB, free: 256 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1042, allocations: 4 kB / 436.6 MB, free: 252 kB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.1472/0.2514, allocations: 414.9 kB / 437 MB, free: 68.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.2514, allocations: 8.906 kB / 437 MB, free: 68.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2514, allocations: 1.891 kB / 437 MB, free: 68.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003039/0.2545, allocations: 1.017 MB / 438 MB, free: 68.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.572e-05/0.2546, allocations: 41.69 kB / 438 MB, free: 68.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008887/0.2555, allocations: 1.086 MB / 439.1 MB, free: 67.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.2557, allocations: 24.44 kB / 439.2 MB, free: 67.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.2557, allocations: 18.25 kB / 439.2 MB, free: 67.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001708/0.2559, allocations: 178.4 kB / 439.3 MB, free: 67.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001099/0.256, allocations: 156.8 kB / 439.5 MB, free: 67.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001973/0.2562, allocations: 228.3 kB / 439.7 MB, free: 67.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.2562, allocations: 2.219 kB / 439.7 MB, free: 67.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004465/0.2567, allocations: 358.9 kB / 440.1 MB, free: 67.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.2567, allocations: 10.16 kB / 440.1 MB, free: 67.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2567, allocations: 1.75 kB / 440.1 MB, free: 67.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.2569, allocations: 67.61 kB / 440.2 MB, free: 67.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.2571, allocations: 88.64 kB / 440.2 MB, free: 67.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006659/0.2577, allocations: 1.819 MB / 442.1 MB, free: 65.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.2579, allocations: 24.23 kB / 442.1 MB, free: 65.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.2579, allocations: 13.56 kB / 442.1 MB, free: 65.51 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V1.fluidState.phase,V2.fluidState.phase,V3.fluidState.phase,V4.fluidState.phase,V5.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.258, allocations: 283.3 kB / 442.4 MB, free: 65.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-05/0.2581, allocations: 73.09 kB / 442.4 MB, free: 65.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.2592, allocations: 1.102 MB / 443.5 MB, free: 65.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.2592, allocations: 25.16 kB / 443.6 MB, free: 65.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2592, allocations: 1.375 kB / 443.6 MB, free: 65.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2592, allocations: 3.047 kB / 443.6 MB, free: 65.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.2597, allocations: 0.5379 MB / 444.1 MB, free: 64.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2597, allocations: 0 / 444.1 MB, free: 64.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.28e-05/0.2597, allocations: 31.08 kB / 444.1 MB, free: 64.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/0.2613, allocations: 1.138 MB / 445.3 MB, free: 64.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.2613, allocations: 11.34 kB / 445.3 MB, free: 64.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008738/0.2622, allocations: 1.54 MB / 446.8 MB, free: 64.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.2622, allocations: 3.219 kB / 446.8 MB, free: 64.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006449/0.2628, allocations: 1.057 MB / 447.9 MB, free: 63.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.2629, allocations: 96.33 kB / 448 MB, free: 63.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.2629, allocations: 18.47 kB / 448 MB, free: 63.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.2631, allocations: 18.59 kB / 448 MB, free: 63.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.2631, allocations: 36.73 kB / 448.1 MB, free: 63.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.2632, allocations: 10.44 kB / 448.1 MB, free: 63.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.2633, allocations: 323.1 kB / 448.4 MB, free: 63.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2633, allocations: 3.5 kB / 448.4 MB, free: 63.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002088/0.2654, allocations: 1.127 MB / 449.5 MB, free: 63.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001991/0.2674, allocations: 1.115 MB / 450.6 MB, free: 63.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008103/0.2682, allocations: 0.6131 MB / 451.2 MB, free: 63.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2682, allocations: 0.875 kB / 451.2 MB, free: 63.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.2685, allocations: 296 kB / 451.5 MB, free: 63.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007681/0.2692, allocations: 333 kB / 451.9 MB, free: 63.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.2707, allocations: 1.473 MB / 453.3 MB, free: 62.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.027e-05/0.2708, allocations: 181.8 kB / 453.5 MB, free: 62.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002566/0.271, allocations: 253.1 kB / 453.8 MB, free: 62.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.2713, allocations: 236.9 kB / 454 MB, free: 62.22 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2713, allocations: 3.562 kB / 454 MB, free: 62.22 MB / 362.7 MB Notification: Performance of Templates: time 0.0364/0.3077, allocations: 46.63 MB / 0.4889 GB, free: 19.69 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.506258910987526]