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.001641/0.001641, allocations: 77.78 kB / 21.28 MB, free: 0.5273 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.00197/0.00197, allocations: 161.9 kB / 24.55 MB, free: 3.828 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.281 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.1377/0.1377, allocations: 19.72 MB / 281 MB, free: 13.05 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.002393/0.002393, allocations: 67.91 kB / 417.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2759, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.08744/0.3633, allocations: 71.27 MB / 0.5365 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01554/0.3788, allocations: 10.1 MB / 0.5463 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008181/0.3797, allocations: 35.62 kB / 0.5464 GB, free: 0.625 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.381, allocations: 393.1 kB / 0.5467 GB, free: 244 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.3825, allocations: 0.551 MB / 0.5473 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01781/0.4004, allocations: 5.965 MB / 0.5531 GB, free: 9.719 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002809/0.4032, allocations: 1.543 MB / 0.5546 GB, free: 8.168 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008406/0.404, allocations: 366 kB / 0.555 GB, free: 7.793 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.4065, allocations: 0.7827 MB / 0.5557 GB, free: 7.008 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.4077, allocations: 0.4938 MB / 0.5562 GB, free: 6.512 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.4079, allocations: 52 kB / 0.5563 GB, free: 6.461 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01309/0.421, allocations: 6.076 MB / 0.5622 GB, free: 388 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.4213, allocations: 147.3 kB / 0.5623 GB, free: 240 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007516/0.4221, allocations: 374.3 kB / 0.5627 GB, free: 15.87 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.4322, allocations: 4.22 MB / 0.5668 GB, free: 11.64 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4322, allocations: 0 / 0.5668 GB, free: 11.64 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4322, allocations: 0 / 0.5668 GB, free: 11.64 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.779e-05/0.4322, allocations: 0 / 0.5668 GB, free: 11.64 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.004599/0.4368, allocations: 1.634 MB / 0.5684 GB, free: 9.965 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.4369, allocations: 8.031 kB / 0.5684 GB, free: 9.957 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004535/0.4373, allocations: 136.3 kB / 0.5685 GB, free: 9.824 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.4383, allocations: 0.5056 MB / 0.569 GB, free: 9.293 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/0.4386, allocations: 283.5 kB / 0.5693 GB, free: 8.969 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.218e-05/0.4387, allocations: 56.11 kB / 0.5694 GB, free: 8.914 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.4404, allocations: 0.7348 MB / 0.5701 GB, free: 8.133 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.4405, allocations: 7.938 kB / 0.5701 GB, free: 8.125 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/0.4405, allocations: 20 kB / 0.5701 GB, free: 8.105 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.4405, allocations: 12 kB / 0.5701 GB, free: 8.094 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.4422, allocations: 0.6166 MB / 0.5707 GB, free: 7.477 MB / 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.003351/0.4455, allocations: 2.154 MB / 0.5728 GB, free: 5.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009697/0.4465, allocations: 297.9 kB / 0.5731 GB, free: 4.922 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.4467, allocations: 100 kB / 0.5732 GB, free: 4.812 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-05/0.4468, allocations: 11.98 kB / 0.5732 GB, free: 4.801 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.4468, allocations: 38.56 kB / 0.5733 GB, free: 4.754 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 2.414e-06/0.4468, allocations: 0 / 0.5733 GB, free: 4.754 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.002279/0.4491, allocations: 0.6178 MB / 0.5739 GB, free: 4.129 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.186e-05/0.4492, allocations: 132.5 kB / 0.574 GB, free: 3.969 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006286/0.4498, allocations: 0.5031 MB / 0.5745 GB, free: 3.453 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.4499, allocations: 33.7 kB / 0.5745 GB, free: 3.414 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.4502, allocations: 380.8 kB / 0.5749 GB, free: 3.039 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.4503, allocations: 95.12 kB / 0.575 GB, free: 2.945 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.4504, allocations: 69.67 kB / 0.575 GB, free: 2.871 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.4506, allocations: 370.7 kB / 0.5754 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.4509, allocations: 104.8 kB / 0.5755 GB, free: 2.395 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.4512, allocations: 136.1 kB / 0.5756 GB, free: 2.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005458/0.4518, allocations: 212.5 kB / 0.5758 GB, free: 2.031 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4518, allocations: 0 / 0.5758 GB, free: 2.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008364/0.4526, allocations: 341 kB / 0.5761 GB, free: 1.691 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4526, allocations: 8 kB / 0.5761 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4526, allocations: 4 kB / 0.5761 GB, free: 1.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4527, allocations: 0 / 0.5761 GB, free: 1.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.4531, allocations: 83.81 kB / 0.5762 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.4531, allocations: 4 kB / 0.5762 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.4535, allocations: 23.83 kB / 0.5763 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.4535, allocations: 19.98 kB / 0.5763 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004019/0.4539, allocations: 208.1 kB / 0.5765 GB, free: 1.344 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003118/0.4542, allocations: 157.2 kB / 0.5766 GB, free: 1.156 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005248/0.4547, allocations: 245.2 kB / 0.5769 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.4547, allocations: 0 / 0.5769 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0007578/0.4555, allocations: 336.9 kB / 0.5772 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4555, allocations: 8 kB / 0.5772 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.4555, allocations: 8.156 kB / 0.5772 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.503e-06/0.4555, allocations: 4 kB / 0.5772 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.4559, allocations: 75.89 kB / 0.5773 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.4559, allocations: 7.984 kB / 0.5773 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.4562, allocations: 20.17 kB / 0.5773 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.4562, allocations: 15.98 kB / 0.5773 GB, free: 420 kB / 478.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.0001792/0.4564, allocations: 204.1 kB / 0.5775 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.4566, allocations: 67.56 kB / 0.5776 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008022/0.4574, allocations: 310.3 kB / 0.5779 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4574, allocations: 8 kB / 0.5779 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4574, allocations: 0 / 0.5779 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.4575, allocations: 63.48 kB / 0.5779 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.387e-05/0.4576, allocations: 11.95 kB / 0.5779 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.4579, allocations: 11.92 kB / 0.578 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.458, allocations: 31.94 kB / 0.578 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007669/0.4588, allocations: 0.5298 MB / 0.5785 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008037/0.4596, allocations: 0.6618 MB / 0.5791 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002343/0.4598, allocations: 83.86 kB / 0.5792 GB, free: 14.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004593/0.4603, allocations: 379.1 kB / 0.5796 GB, free: 14.02 MB / 494.1 MB Notification: Performance of Backend: time 5.71e-07/0.4603, allocations: 0 / 0.5796 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006189/0.4665, allocations: 1.49 MB / 0.581 GB, free: 12.53 MB / 494.1 MB Notification: Performance of SimCode: time 0.002908/0.4694, allocations: 1.727 MB / 0.5827 GB, free: 10.75 MB / 494.1 MB Notification: Performance of Templates: time 0.06295/0.5323, allocations: 43.27 MB / 0.625 GB, free: 15.63 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.286835712031461] Failed to read output from testmodel.py, exit status != 0: 0.5427334849955514 0.557480149 0.12163789000000001 Calling exit ...