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.001045/0.001045, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001069/0.001069, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.8618/0.8618, allocations: 158.6 MB / 187.5 MB, free: 2.809 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.1782/0.1782, allocations: 36.34 MB / 276.2 MB, free: 14.38 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.153e-06/1.153e-06, allocations: 0 / 355.1 MB, free: 62.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.121e-05, allocations: 3.156 kB / 355.1 MB, free: 62.65 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.01943/0.01945, allocations: 28.38 MB / 383.4 MB, free: 42.44 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008009/0.02746, allocations: 8.56 MB / 392 MB, free: 33.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003926/0.02785, allocations: 31.69 kB / 392 MB, free: 33.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005204/0.02837, allocations: 230.1 kB / 392.3 MB, free: 33.6 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007601/0.02913, allocations: 0.5507 MB / 392.8 MB, free: 33.05 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01031/0.03944, allocations: 5.157 MB / 398 MB, free: 27.87 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.04045, allocations: 1.438 MB / 399.4 MB, free: 26.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005068/0.04095, allocations: 0.5115 MB / 399.9 MB, free: 25.9 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006217/0.04158, allocations: 0.7405 MB / 400.6 MB, free: 25.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005048/0.04208, allocations: 0.518 MB / 401.2 MB, free: 24.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.496e-05/0.04216, allocations: 64 kB / 401.2 MB, free: 24.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006838/0.04899, allocations: 5.858 MB / 407.1 MB, free: 18.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.707e-05/0.04909, allocations: 171.2 kB / 407.3 MB, free: 18.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.04932, allocations: 327.2 kB / 407.6 MB, free: 18.22 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004616/0.05393, allocations: 4.836 MB / 412.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.05394, allocations: 0 / 412.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.05394, allocations: 0 / 412.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.05395, allocations: 0 / 412.4 MB, free: 13.38 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.003321/0.05727, allocations: 1.611 MB / 414 MB, free: 11.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.0573, allocations: 8.031 kB / 414 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004555/0.05775, allocations: 220 kB / 414.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.0583, allocations: 0.5377 MB / 414.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.05832, allocations: 41.69 kB / 414.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.05839, allocations: 48.38 kB / 414.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009952/0.05939, allocations: 0.7203 MB / 415.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.0594, allocations: 192 / 415.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.563e-05/0.05946, allocations: 23.94 kB / 415.6 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.05947, allocations: 16 kB / 415.6 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008572/0.06033, allocations: 0.5023 MB / 416.1 MB, free: 9.527 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.001728/0.06206, allocations: 2.525 MB / 418.7 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.06254, allocations: 256 kB / 418.9 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.06265, allocations: 88.39 kB / 419 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02916/0.0918, allocations: 14.6 MB / 433.6 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.09183, allocations: 37.39 kB / 433.6 MB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003147/0.09214, allocations: 107.7 kB / 433.7 MB, free: 7.805 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.533e-06/0.09215, allocations: 0 / 433.7 MB, free: 7.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.003607/0.09575, allocations: 1.363 MB / 435.1 MB, free: 6.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.09578, allocations: 55.41 kB / 435.2 MB, free: 6.363 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.09607, allocations: 0.5023 MB / 435.7 MB, free: 5.844 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.09609, allocations: 29.7 kB / 435.7 MB, free: 5.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.09627, allocations: 402.9 kB / 436.1 MB, free: 5.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.09634, allocations: 114.9 kB / 436.2 MB, free: 5.297 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.413e-05/0.09643, allocations: 91.55 kB / 436.3 MB, free: 5.195 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.09657, allocations: 0.5468 MB / 436.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-05/0.09667, allocations: 68.94 kB / 436.9 MB, free: 4.566 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.09678, allocations: 123.4 kB / 437 MB, free: 4.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.09701, allocations: 209.7 kB / 437.2 MB, free: 4.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.09701, allocations: 0 / 437.2 MB, free: 4.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005236/0.09753, allocations: 413.1 kB / 437.6 MB, free: 3.777 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.09754, allocations: 8 kB / 437.6 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.09755, allocations: 0 / 437.6 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/0.1007, allocations: 1.019 MB / 438.6 MB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.1008, allocations: 35.92 kB / 438.7 MB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009547/0.1018, allocations: 1.09 MB / 439.8 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.102, allocations: 27.92 kB / 439.8 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.102, allocations: 14.92 kB / 439.8 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001551/0.1021, allocations: 191.5 kB / 440 MB, free: 1.359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001159/0.1023, allocations: 161.6 kB / 440.2 MB, free: 1.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000257/0.1025, allocations: 224.9 kB / 440.4 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.422e-06/0.1025, allocations: 4 kB / 440.4 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004512/0.103, allocations: 344.6 kB / 440.7 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.632e-06/0.103, allocations: 4 kB / 440.7 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.103, allocations: 8.219 kB / 440.7 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.1032, allocations: 75.59 kB / 440.8 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.1033, allocations: 79.88 kB / 440.9 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009121/0.1043, allocations: 1.827 MB / 442.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.1044, allocations: 12 kB / 442.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.1045, allocations: 23.92 kB / 442.7 MB, free: 14.4 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.0001262/0.1046, allocations: 284 kB / 443 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.424e-05/0.1047, allocations: 67.62 kB / 443.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009647/0.1056, allocations: 1.094 MB / 444.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.1056, allocations: 19.97 kB / 444.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.1056, allocations: 3.938 kB / 444.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1056, allocations: 0 / 444.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.1061, allocations: 0.5485 MB / 444.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1061, allocations: 2.312 kB / 444.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.468e-05/0.1062, allocations: 35.97 kB / 444.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001471/0.1076, allocations: 1.136 MB / 445.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.1077, allocations: 8 kB / 445.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009724/0.1086, allocations: 1.531 MB / 447.5 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1086, allocations: 0 / 447.5 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007915/0.1094, allocations: 1.067 MB / 448.5 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.1095, allocations: 83.25 kB / 448.6 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/0.1096, allocations: 12 kB / 448.6 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.1097, allocations: 19.92 kB / 448.6 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.1098, allocations: 44.36 kB / 448.7 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1098, allocations: 11.98 kB / 448.7 MB, free: 8.332 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001866/0.11, allocations: 322.7 kB / 449 MB, free: 8.016 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.11, allocations: 0 / 449 MB, free: 8.016 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002635/0.1126, allocations: 1.13 MB / 450.1 MB, free: 6.883 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.002321/0.1149, allocations: 1.12 MB / 451.3 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009245/0.1159, allocations: 0.6253 MB / 451.9 MB, free: 5.105 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1159, allocations: 8.812 kB / 451.9 MB, free: 5.098 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003351/0.1162, allocations: 295 kB / 452.2 MB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008441/0.117, allocations: 330.2 kB / 452.5 MB, free: 4.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.1186, allocations: 1.484 MB / 454 MB, free: 2.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.694e-05/0.1187, allocations: 180.6 kB / 454.2 MB, free: 2.773 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.119, allocations: 251.9 kB / 454.4 MB, free: 2.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.1192, allocations: 230 kB / 454.6 MB, free: 2.301 MB / 362.7 MB Notification: Performance of SimCode: time 6.02e-07/0.1192, allocations: 0 / 454.6 MB, free: 2.301 MB / 362.7 MB Notification: Performance of Templates: time 0.04141/0.1607, allocations: 46.93 MB / 0.4898 GB, free: 3.336 MB / 410.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: 5.524670520331711]