Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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.001832/0.001832, allocations: 79.2 kB / 21.28 MB, free: 380 kB / 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.001429/0.001429, allocations: 163.8 kB / 24.54 MB, free: 3.586 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.422/1.422, allocations: 177.2 MB / 204.9 MB, free: 9.285 MB / 190.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.1409/0.1409, allocations: 19.69 MB / 281 MB, free: 13.07 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.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2") [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.00222/0.00222, allocations: 67.89 kB / 417.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2652, allocations: 60.46 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.0495/0.3147, allocations: 42.66 MB / 0.5085 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.3273, allocations: 8.74 MB / 0.5171 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002877/0.3276, allocations: 7.938 kB / 0.5171 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000723/0.3283, allocations: 238.4 kB / 0.5173 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006318/0.3289, allocations: 306 kB / 0.5176 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01223/0.3412, allocations: 4.714 MB / 0.5222 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.3423, allocations: 0.8135 MB / 0.523 GB, free: 8.648 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.3427, allocations: 202.8 kB / 0.5232 GB, free: 8.441 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005716/0.3432, allocations: 438.7 kB / 0.5236 GB, free: 8.012 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004192/0.3436, allocations: 302.6 kB / 0.5239 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.114e-05/0.3437, allocations: 32 kB / 0.5239 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01083/0.3545, allocations: 5.931 MB / 0.5297 GB, free: 1.746 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.3547, allocations: 87.62 kB / 0.5298 GB, free: 1.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.3549, allocations: 211 kB / 0.53 GB, free: 1.453 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006755/0.3617, allocations: 3.765 MB / 0.5337 GB, free: 13.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.3617, allocations: 7.984 kB / 0.5337 GB, free: 13.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3617, allocations: 4 kB / 0.5337 GB, free: 13.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3617, allocations: 0 / 0.5337 GB, free: 13.67 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003156/0.3649, allocations: 1.134 MB / 0.5348 GB, free: 12.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.3649, allocations: 8.031 kB / 0.5348 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004278/0.3654, allocations: 92.61 kB / 0.5349 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005508/0.3659, allocations: 294.2 kB / 0.5352 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.366, allocations: 84.62 kB / 0.5353 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.792e-05/0.3661, allocations: 40.08 kB / 0.5353 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.3671, allocations: 457.2 kB / 0.5357 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3671, allocations: 0 / 0.5357 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.3672, allocations: 16 kB / 0.5357 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.3672, allocations: 8 kB / 0.5358 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008941/0.3681, allocations: 362.2 kB / 0.5361 GB, free: 11.1 MB / 446.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.001901/0.37, allocations: 1.31 MB / 0.5374 GB, free: 9.738 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008556/0.3708, allocations: 288.8 kB / 0.5377 GB, free: 9.449 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.3711, allocations: 120.9 kB / 0.5378 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06086/0.4319, allocations: 17.55 MB / 0.5549 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.432, allocations: 34.56 kB / 0.5549 GB, free: 7.715 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.665e-06/0.432, allocations: 0 / 0.5549 GB, free: 7.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.005424/0.4374, allocations: 1.51 MB / 0.5564 GB, free: 6.164 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.4375, allocations: 59.39 kB / 0.5565 GB, free: 6.094 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.4378, allocations: 268.5 kB / 0.5567 GB, free: 5.824 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.4378, allocations: 29.7 kB / 0.5568 GB, free: 5.789 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.438, allocations: 216.8 kB / 0.557 GB, free: 5.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.4381, allocations: 138.8 kB / 0.5571 GB, free: 5.434 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.4382, allocations: 74.08 kB / 0.5572 GB, free: 5.355 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4384, allocations: 346.8 kB / 0.5575 GB, free: 5.008 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.4387, allocations: 138.3 kB / 0.5576 GB, free: 4.871 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.4391, allocations: 189.4 kB / 0.5578 GB, free: 4.672 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/0.4397, allocations: 323.9 kB / 0.5581 GB, free: 4.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4397, allocations: 0 / 0.5581 GB, free: 4.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001127/0.4408, allocations: 482.4 kB / 0.5586 GB, free: 3.855 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4409, allocations: 4 kB / 0.5586 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.4409, allocations: 0 / 0.5586 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005663/0.4414, allocations: 97.75 kB / 0.5587 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/0.4418, allocations: 83.89 kB / 0.5588 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.4429, allocations: 1.109 MB / 0.5598 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.4431, allocations: 12.06 kB / 0.5598 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.4431, allocations: 19.98 kB / 0.5599 GB, free: 2.477 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003849/0.4435, allocations: 239.8 kB / 0.5601 GB, free: 2.238 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003048/0.4438, allocations: 168.2 kB / 0.5603 GB, free: 2.059 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005625/0.4444, allocations: 304.3 kB / 0.5605 GB, free: 1.746 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.4444, allocations: 3.938 kB / 0.5605 GB, free: 1.742 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001016/0.4454, allocations: 454.5 kB / 0.561 GB, free: 1.285 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.4454, allocations: 11.94 kB / 0.561 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.4454, allocations: 0 / 0.561 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004882/0.4459, allocations: 93.77 kB / 0.5611 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.4463, allocations: 83.89 kB / 0.5612 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009771/0.4472, allocations: 1.113 MB / 0.5622 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.4475, allocations: 16.02 kB / 0.5623 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.4475, allocations: 16 kB / 0.5623 GB, free: 15.9 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Valve.fluidState.phase,Tank2.liquidState.phase,Tank1.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.4477, allocations: 192.2 kB / 0.5625 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.332e-05/0.4477, allocations: 39.77 kB / 0.5625 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.4495, allocations: 1.043 MB / 0.5635 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4495, allocations: 0 / 0.5635 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.4495, allocations: 0 / 0.5635 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.4497, allocations: 75.56 kB / 0.5636 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.4497, allocations: 8 kB / 0.5636 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.4499, allocations: 15.98 kB / 0.5636 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/0.45, allocations: 27.95 kB / 0.5636 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001589/0.4516, allocations: 0.7841 MB / 0.5644 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001564/0.4532, allocations: 1.117 MB / 0.5655 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004164/0.4536, allocations: 260.7 kB / 0.5657 GB, free: 12.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.4538, allocations: 191 kB / 0.5659 GB, free: 12.11 MB / 478.1 MB Notification: Performance of Backend: time 6.71e-07/0.4538, allocations: 0 / 0.5659 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005563/0.4594, allocations: 1.597 MB / 0.5675 GB, free: 10.51 MB / 478.1 MB Notification: Performance of SimCode: time 0.002187/0.4615, allocations: 1.549 MB / 0.569 GB, free: 8.914 MB / 478.1 MB Notification: Performance of Templates: time 0.05608/0.5176, allocations: 39.52 MB / 0.6076 GB, free: 1.453 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.157618866069242] Failed to read output from testmodel.py, exit status != 0: 0.5265131869819015 0.5409671730000001 0.17603527800000002 Calling exit ...