Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.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.001576/0.001576, allocations: 77.55 kB / 21.28 MB, free: 0.5312 MB / 14.72 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.001395/0.001395, allocations: 159.3 kB / 24.54 MB, free: 3.836 MB / 14.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 1.39/1.39, allocations: 177.2 MB / 204.9 MB, free: 9.281 MB / 190.1 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.1393/0.1393, allocations: 19.71 MB / 281 MB, free: 13.06 MB / 270.1 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.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump") translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 71.89 kB / 417.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2785, allocations: 60.45 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.03834/0.3168, allocations: 31.76 MB / 0.4979 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.3281, allocations: 7.602 MB / 0.5053 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/0.3285, allocations: 15.88 kB / 0.5053 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005171/0.329, allocations: 138.9 kB / 0.5054 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007867/0.3298, allocations: 282.4 kB / 0.5057 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01206/0.3419, allocations: 4.461 MB / 0.5101 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009377/0.3428, allocations: 0.6113 MB / 0.5107 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000351/0.3432, allocations: 173.5 kB / 0.5108 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009863/0.3442, allocations: 0.5455 MB / 0.5114 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004069/0.3446, allocations: 267 kB / 0.5116 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.406e-05/0.3446, allocations: 24 kB / 0.5116 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01073/0.3554, allocations: 5.912 MB / 0.5174 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.3555, allocations: 71.69 kB / 0.5175 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.3557, allocations: 147.3 kB / 0.5176 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007409/0.3631, allocations: 3.644 MB / 0.5212 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3631, allocations: 0 / 0.5212 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3631, allocations: 0 / 0.5212 GB, free: 10.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3631, allocations: 0 / 0.5212 GB, free: 10.52 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002599/0.3657, allocations: 0.9936 MB / 0.5222 GB, free: 9.492 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3658, allocations: 12.03 kB / 0.5222 GB, free: 9.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.366, allocations: 56.64 kB / 0.5222 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.3664, allocations: 249.3 kB / 0.5225 GB, free: 9.156 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.3665, allocations: 76.45 kB / 0.5225 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.3666, allocations: 28.12 kB / 0.5226 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007698/0.3674, allocations: 328.3 kB / 0.5229 GB, free: 8.703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3674, allocations: 0 / 0.5229 GB, free: 8.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.3674, allocations: 12 kB / 0.5229 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.3674, allocations: 8 kB / 0.5229 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007896/0.3682, allocations: 261.7 kB / 0.5231 GB, free: 8.43 MB / 430.1 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.001435/0.3696, allocations: 0.8714 MB / 0.524 GB, free: 7.512 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/0.3703, allocations: 194.5 kB / 0.5242 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.3706, allocations: 109 kB / 0.5243 GB, free: 7.203 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06144/0.4321, allocations: 17.58 MB / 0.5414 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.4321, allocations: 38.56 kB / 0.5415 GB, free: 5.562 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.4321, allocations: 0 / 0.5415 GB, free: 5.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.002722/0.4348, allocations: 0.5836 MB / 0.5421 GB, free: 4.965 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.4349, allocations: 59.34 kB / 0.5421 GB, free: 4.895 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.4351, allocations: 252.2 kB / 0.5424 GB, free: 4.641 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.4352, allocations: 29.7 kB / 0.5424 GB, free: 4.605 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.4353, allocations: 184.6 kB / 0.5426 GB, free: 4.422 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.034e-05/0.4354, allocations: 79.31 kB / 0.5426 GB, free: 4.344 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-05/0.4355, allocations: 45.69 kB / 0.5427 GB, free: 4.293 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4357, allocations: 338.8 kB / 0.543 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.436, allocations: 100.8 kB / 0.5431 GB, free: 3.852 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.4363, allocations: 126.2 kB / 0.5432 GB, free: 3.719 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/0.4369, allocations: 230.2 kB / 0.5434 GB, free: 3.484 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4369, allocations: 3.938 kB / 0.5434 GB, free: 3.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001035/0.438, allocations: 350 kB / 0.5438 GB, free: 3.129 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.438, allocations: 4 kB / 0.5438 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.438, allocations: 4 kB / 0.5438 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005705/0.4386, allocations: 100.8 kB / 0.5439 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.4388, allocations: 51.95 kB / 0.5439 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006864/0.4395, allocations: 0.6382 MB / 0.5445 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.4398, allocations: 31.86 kB / 0.5446 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.4398, allocations: 8 kB / 0.5446 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000392/0.4402, allocations: 196 kB / 0.5448 GB, free: 2.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003118/0.4405, allocations: 123.3 kB / 0.5449 GB, free: 1.938 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005798/0.4411, allocations: 214.6 kB / 0.5451 GB, free: 1.719 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.4411, allocations: 0 / 0.5451 GB, free: 1.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000911/0.442, allocations: 333.9 kB / 0.5454 GB, free: 1.383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.442, allocations: 8 kB / 0.5454 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-06/0.442, allocations: 0 / 0.5454 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/0.4422, allocations: 60.91 kB / 0.5455 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.4425, allocations: 55.83 kB / 0.5455 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.4446, allocations: 1.687 MB / 0.5472 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.4449, allocations: 27.86 kB / 0.5472 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.4449, allocations: 12 kB / 0.5472 GB, free: 15.43 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.4451, allocations: 192.1 kB / 0.5474 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.4451, allocations: 31.81 kB / 0.5474 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.4464, allocations: 0.6143 MB / 0.548 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.4464, allocations: 4 kB / 0.548 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.4464, allocations: 0 / 0.548 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4464, allocations: 0 / 0.548 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.4468, allocations: 301.6 kB / 0.5483 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4469, allocations: 7.984 kB / 0.5483 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.4471, allocations: 39.97 kB / 0.5484 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004988/0.4476, allocations: 245.6 kB / 0.5486 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.4476, allocations: 11.94 kB / 0.5486 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008737/0.4485, allocations: 0.866 MB / 0.5495 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4485, allocations: 0 / 0.5495 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.4501, allocations: 0.8214 MB / 0.5503 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.4502, allocations: 67.61 kB / 0.5503 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.4502, allocations: 0 / 0.5503 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.4505, allocations: 23.97 kB / 0.5503 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/0.4506, allocations: 15.97 kB / 0.5504 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.4506, allocations: 15.98 kB / 0.5504 GB, free: 12.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.4508, allocations: 171.1 kB / 0.5505 GB, free: 11.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4508, allocations: 0 / 0.5505 GB, free: 11.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003421/0.4542, allocations: 0.9356 MB / 0.5515 GB, free: 10.99 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pump.h) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003995/0.4582, allocations: 1.031 MB / 0.5525 GB, free: 9.949 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.4597, allocations: 0.521 MB / 0.553 GB, free: 9.418 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4597, allocations: 4 kB / 0.553 GB, free: 9.414 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005275/0.4603, allocations: 170.3 kB / 0.5531 GB, free: 9.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.4609, allocations: 108.8 kB / 0.5532 GB, free: 9.141 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.4624, allocations: 0.7835 MB / 0.554 GB, free: 8.324 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.4625, allocations: 177.6 kB / 0.5542 GB, free: 8.129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.57e-05/0.4626, allocations: 28.5 kB / 0.5542 GB, free: 8.102 MB / 462.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4626, allocations: 0 / 0.5542 GB, free: 8.102 MB / 462.1 MB Notification: Performance of Templates: time 0.0305/0.4931, allocations: 19.9 MB / 0.5736 GB, free: 4.191 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.799634685972705] Failed to read output from testmodel.py, exit status != 0: 0.5030147461220622 0.5178340730000001 0.15127072900000002 Calling exit ...