Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001203/0.001203, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009588/0.0009588, allocations: 169.6 kB / 24.91 MB, free: 8.727 MB / 18.57 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.8903/0.8903, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08358/0.08358, allocations: 19.75 MB / 281.6 MB, free: 9.156 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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) Running command: translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 305.2 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.437e-05, allocations: 5.328 kB / 305.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.02072/0.02073, allocations: 29.32 MB / 334.5 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00869/0.02942, allocations: 9.117 MB / 343.6 MB, free: 7.695 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.02981, allocations: 31.69 kB / 343.7 MB, free: 7.664 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004996/0.03031, allocations: 245.9 kB / 343.9 MB, free: 7.422 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007672/0.03108, allocations: 0.5932 MB / 344.5 MB, free: 6.824 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009661/0.04074, allocations: 5.53 MB / 350 MB, free: 1.273 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.0421, allocations: 1.667 MB / 351.7 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005508/0.04265, allocations: 0.5047 MB / 352.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007856/0.04343, allocations: 0.7989 MB / 353 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004882/0.04392, allocations: 0.5024 MB / 353.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.679e-05/0.04399, allocations: 64 kB / 353.6 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007285/0.05127, allocations: 5.876 MB / 359.4 MB, free: 7.824 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.05139, allocations: 187.2 kB / 359.6 MB, free: 7.641 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.05165, allocations: 359.2 kB / 360 MB, free: 7.289 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004834/0.05649, allocations: 4.903 MB / 364.9 MB, free: 2.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.05649, allocations: 0 / 364.9 MB, free: 2.375 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.05649, allocations: 0 / 364.9 MB, free: 2.375 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.0565, allocations: 0 / 364.9 MB, free: 2.375 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002265/0.05876, allocations: 1.731 MB / 366.6 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.05879, allocations: 12.02 kB / 366.6 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.05909, allocations: 220.5 kB / 366.8 MB, free: 392 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.0596, allocations: 0.5017 MB / 367.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004005/0.06, allocations: 334.9 kB / 367.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.06005, allocations: 56.38 kB / 367.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008128/0.06086, allocations: 0.7097 MB / 368.4 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.06088, allocations: 7.922 kB / 368.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.06091, allocations: 20 kB / 368.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.06092, allocations: 16 kB / 368.5 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006467/0.06156, allocations: 465.9 kB / 368.9 MB, free: 14.17 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.001518/0.06308, allocations: 1.537 MB / 370.5 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005495/0.06363, allocations: 350.8 kB / 370.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.06375, allocations: 105.5 kB / 370.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.06378, allocations: 12.38 kB / 370.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.0638, allocations: 38.92 kB / 370.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002531/0.06405, allocations: 99.8 kB / 371 MB, free: 11.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 1.934e-06/0.06405, allocations: 0 / 371 MB, free: 11.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.003377/0.06743, allocations: 1.481 MB / 372.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.06746, allocations: 59.41 kB / 372.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.06773, allocations: 0.496 MB / 373.1 MB, free: 9.918 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.06776, allocations: 33.7 kB / 373.1 MB, free: 9.879 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.06788, allocations: 286.8 kB / 373.4 MB, free: 9.594 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.861e-05/0.06796, allocations: 162.5 kB / 373.5 MB, free: 9.434 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.166e-05/0.06805, allocations: 86.12 kB / 373.6 MB, free: 9.344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.06815, allocations: 382.6 kB / 374 MB, free: 8.961 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.84e-05/0.06825, allocations: 62.83 kB / 374.1 MB, free: 8.895 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.593e-05/0.06834, allocations: 76.45 kB / 374.1 MB, free: 8.824 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.06856, allocations: 188.6 kB / 374.3 MB, free: 8.637 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.06856, allocations: 0 / 374.3 MB, free: 8.637 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006659/0.06922, allocations: 331.3 kB / 374.7 MB, free: 8.305 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.06924, allocations: 4 kB / 374.7 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.06924, allocations: 0 / 374.7 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002722/0.07196, allocations: 0.9795 MB / 375.6 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.07208, allocations: 63.91 kB / 375.7 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007085/0.07279, allocations: 0.7695 MB / 376.5 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.07297, allocations: 15.98 kB / 376.5 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.07299, allocations: 15.98 kB / 376.5 MB, free: 6.434 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000154/0.07314, allocations: 149.1 kB / 376.6 MB, free: 6.281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001005/0.07324, allocations: 100 kB / 376.7 MB, free: 6.176 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001921/0.07344, allocations: 190.1 kB / 376.9 MB, free: 5.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.07344, allocations: 0 / 376.9 MB, free: 5.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.0003627/0.0738, allocations: 295.1 kB / 377.2 MB, free: 5.688 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.07381, allocations: 12.06 kB / 377.2 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-06/0.07381, allocations: 3.984 kB / 377.2 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001542/0.07396, allocations: 60.78 kB / 377.3 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.07416, allocations: 87.88 kB / 377.4 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006261/0.07479, allocations: 1.253 MB / 378.6 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.07496, allocations: 19.98 kB / 378.6 MB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.07497, allocations: 19.97 kB / 378.7 MB, free: 4.148 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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.0001073/0.07508, allocations: 196.2 kB / 378.9 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/0.07515, allocations: 71.91 kB / 378.9 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005441/0.07569, allocations: 469.2 kB / 379.4 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.0757, allocations: 8 kB / 379.4 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.0757, allocations: 0 / 379.4 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.0757, allocations: 7.922 kB / 379.4 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.07672, allocations: 0.8878 MB / 380.3 MB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.07672, allocations: 4 kB / 380.3 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.07683, allocations: 55.89 kB / 380.3 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008769/0.0777, allocations: 449 kB / 380.8 MB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.07772, allocations: 16 kB / 380.8 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005431/0.07827, allocations: 0.8215 MB / 381.6 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.07827, allocations: 0 / 381.6 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004784/0.07875, allocations: 0.5039 MB / 382.1 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.0788, allocations: 71.5 kB / 382.2 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.07885, allocations: 12 kB / 382.2 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.07901, allocations: 19.98 kB / 382.2 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.07909, allocations: 60.27 kB / 382.3 MB, free: 408 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.07911, allocations: 12 kB / 382.3 MB, free: 396 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.07926, allocations: 240.6 kB / 382.5 MB, free: 160 kB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07926, allocations: 0 / 382.5 MB, free: 160 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001523/0.08078, allocations: 1.193 MB / 383.7 MB, free: 14.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (V2.fluidState.phase,V3.fluidState.phase,V5.fluidState.phase,V4.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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 {(7,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002034/0.08281, allocations: 1.164 MB / 384.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007888/0.0836, allocations: 0.5385 MB / 385.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.08361, allocations: 4 kB / 385.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.08392, allocations: 262.1 kB / 385.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009033/0.08483, allocations: 451 kB / 386.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.08632, allocations: 1.283 MB / 387.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.588e-05/0.0864, allocations: 155.7 kB / 387.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005304/0.08693, allocations: 0.6644 MB / 388.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.08727, allocations: 245.1 kB / 388.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.08727, allocations: 0 / 388.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.04213/0.1294, allocations: 49.33 MB / 437.8 MB, free: 9.086 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.43139426689595]