Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.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.001819/0.001819, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002238/0.002238, allocations: 214.5 kB / 23.75 MB, free: 4.668 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.408/1.408, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.1661/0.1661, allocations: 26.82 MB / 340.7 MB, free: 8.227 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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") [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.00202/0.00202, allocations: 63.91 kB / 477.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.368, allocations: 60.49 MB / 0.5252 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.08512/0.4532, allocations: 79.48 MB / 0.6028 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01684/0.47, allocations: 11.38 MB / 0.6139 GB, free: 9.914 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008717/0.4709, allocations: 35.62 kB / 0.614 GB, free: 9.879 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.4721, allocations: 405.1 kB / 0.6144 GB, free: 9.48 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.4734, allocations: 0.551 MB / 0.6149 GB, free: 8.926 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02121/0.4946, allocations: 6.055 MB / 0.6208 GB, free: 2.867 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002718/0.4973, allocations: 1.54 MB / 0.6223 GB, free: 1.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006767/0.498, allocations: 369.9 kB / 0.6227 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008399/0.4988, allocations: 0.5409 MB / 0.6232 GB, free: 408 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007685/0.4996, allocations: 0.5444 MB / 0.6237 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.663e-05/0.4997, allocations: 52 kB / 0.6238 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01318/0.5129, allocations: 6.396 MB / 0.63 GB, free: 9.398 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.5131, allocations: 143.3 kB / 0.6302 GB, free: 9.258 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006925/0.5138, allocations: 445.8 kB / 0.6306 GB, free: 8.82 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.5251, allocations: 4.228 MB / 0.6347 GB, free: 4.582 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5251, allocations: 4 kB / 0.6347 GB, free: 4.578 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5251, allocations: 0 / 0.6347 GB, free: 4.578 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.5251, allocations: 0 / 0.6347 GB, free: 4.578 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004938/0.5301, allocations: 1.631 MB / 0.6363 GB, free: 2.906 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.5301, allocations: 8.031 kB / 0.6363 GB, free: 2.898 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004916/0.5306, allocations: 136.3 kB / 0.6364 GB, free: 2.766 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.5316, allocations: 0.5095 MB / 0.6369 GB, free: 2.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/0.5319, allocations: 279.5 kB / 0.6372 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-05/0.532, allocations: 60.12 kB / 0.6373 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.5337, allocations: 0.7425 MB / 0.638 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.5337, allocations: 0 / 0.638 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-05/0.5338, allocations: 23.94 kB / 0.638 GB, free: 1.039 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.5338, allocations: 16 kB / 0.638 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.5353, allocations: 0.6248 MB / 0.6386 GB, free: 408 kB / 478.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.004047/0.5393, allocations: 3.055 MB / 0.6416 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009036/0.5402, allocations: 290 kB / 0.6419 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.5405, allocations: 99.41 kB / 0.642 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.5405, allocations: 8.609 kB / 0.642 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/0.5406, allocations: 46.55 kB / 0.6421 GB, free: 12.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.5406, allocations: 0 / 0.6421 GB, free: 12.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.002215/0.5428, allocations: 0.6382 MB / 0.6427 GB, free: 11.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.5429, allocations: 132.5 kB / 0.6428 GB, free: 11.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009239/0.5438, allocations: 0.7476 MB / 0.6435 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.5438, allocations: 29.7 kB / 0.6436 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.5442, allocations: 364.7 kB / 0.6439 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.509e-05/0.5443, allocations: 91.22 kB / 0.644 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.5444, allocations: 73.64 kB / 0.6441 GB, free: 10.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.5445, allocations: 329.8 kB / 0.6444 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.5448, allocations: 96.8 kB / 0.6445 GB, free: 10.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.5451, allocations: 132.1 kB / 0.6446 GB, free: 9.922 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005415/0.5456, allocations: 219.2 kB / 0.6448 GB, free: 9.695 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5456, allocations: 0 / 0.6448 GB, free: 9.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000834/0.5465, allocations: 368.9 kB / 0.6452 GB, free: 9.328 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.5465, allocations: 8 kB / 0.6452 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5465, allocations: 0 / 0.6452 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.5465, allocations: 7.984 kB / 0.6452 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/0.547, allocations: 75.88 kB / 0.6452 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.547, allocations: 4 kB / 0.6452 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.5474, allocations: 55.52 kB / 0.6453 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.5474, allocations: 23.92 kB / 0.6453 GB, free: 9.156 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003802/0.5478, allocations: 212.1 kB / 0.6455 GB, free: 8.945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002877/0.5481, allocations: 153.2 kB / 0.6457 GB, free: 8.762 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004891/0.5486, allocations: 241.4 kB / 0.6459 GB, free: 8.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.5486, allocations: 4 kB / 0.6459 GB, free: 8.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0007358/0.5493, allocations: 356.8 kB / 0.6462 GB, free: 8.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5493, allocations: 8 kB / 0.6463 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.5493, allocations: 0 / 0.6463 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-06/0.5494, allocations: 4 kB / 0.6463 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.5497, allocations: 79.88 kB / 0.6463 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.5497, allocations: 4 kB / 0.6463 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.5501, allocations: 32.09 kB / 0.6464 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.5501, allocations: 16 kB / 0.6464 GB, free: 7.992 MB / 494.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: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001879/0.5503, allocations: 211.6 kB / 0.6466 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.5505, allocations: 91.44 kB / 0.6467 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007718/0.5513, allocations: 333 kB / 0.647 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5513, allocations: 4 kB / 0.647 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.5513, allocations: 4 kB / 0.647 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.5513, allocations: 7.984 kB / 0.647 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.5535, allocations: 1.323 MB / 0.6483 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.5535, allocations: 7.938 kB / 0.6483 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.5537, allocations: 60.41 kB / 0.6484 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.5537, allocations: 8 kB / 0.6484 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.5537, allocations: 19.98 kB / 0.6484 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.5538, allocations: 4.078 kB / 0.6484 GB, free: 5.816 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/0.5538, allocations: 15.92 kB / 0.6484 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008531/0.5546, allocations: 0.717 MB / 0.6491 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.5548, allocations: 95.34 kB / 0.6492 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.5549, allocations: 19.94 kB / 0.6492 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.5553, allocations: 12 kB / 0.6492 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.5554, allocations: 39.83 kB / 0.6493 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.5554, allocations: 23.98 kB / 0.6493 GB, free: 4.828 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006951/0.5561, allocations: 0.5341 MB / 0.6498 GB, free: 4.301 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5561, allocations: 0 / 0.6498 GB, free: 4.301 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003598/0.5597, allocations: 1.08 MB / 0.6509 GB, free: 3.219 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004177/0.5639, allocations: 1.016 MB / 0.6519 GB, free: 2.195 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.565, allocations: 355.4 kB / 0.6522 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.565, allocations: 0 / 0.6522 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.5653, allocations: 116.8 kB / 0.6523 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/0.5685, allocations: 0.5416 MB / 0.6528 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.5706, allocations: 1.162 MB / 0.654 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/0.5713, allocations: 0.9105 MB / 0.6549 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001399/0.5727, allocations: 0.8714 MB / 0.6557 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.5729, allocations: 71.41 kB / 0.6558 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of SimCode: time 1.403e-06/0.5729, allocations: 0 / 0.6558 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.06682/0.6397, allocations: 41.97 MB / 0.6968 GB, free: 4.227 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.632477466017008] Failed to read output from testmodel.py, exit status != 0: 0.6489610727876425 0.663395092 0.134979183 Calling exit ...