Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001936/0.001936, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002317/0.002317, allocations: 211.4 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 207.7 MB / 234.6 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3155/0.3155, allocations: 49.61 MB / 336.4 MB, free: 3.891 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002362/0.002362, allocations: 71.91 kB / 476.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1184, allocations: 62.44 MB / 0.5266 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.295/0.4133, allocations: 71.1 MB / 0.5961 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01534/0.4287, allocations: 9.889 MB / 0.6057 GB, free: 1.996 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008713/0.4295, allocations: 29.88 kB / 0.6058 GB, free: 1.977 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.4309, allocations: 382.2 kB / 0.6061 GB, free: 1.652 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.4324, allocations: 0.522 MB / 0.6066 GB, free: 1.211 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01739/0.4498, allocations: 5.829 MB / 0.6123 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002235/0.452, allocations: 1.381 MB / 0.6137 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007923/0.4528, allocations: 325.8 kB / 0.614 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.4539, allocations: 0.4981 MB / 0.6145 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009301/0.4548, allocations: 469.7 kB / 0.6149 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.4549, allocations: 44 kB / 0.615 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/0.4676, allocations: 6.048 MB / 0.6209 GB, free: 4.344 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.4679, allocations: 127.4 kB / 0.621 GB, free: 4.219 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006379/0.4685, allocations: 338.4 kB / 0.6213 GB, free: 3.887 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009682/0.4782, allocations: 4.126 MB / 0.6253 GB, free: 15.75 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4782, allocations: 0 / 0.6253 GB, free: 15.75 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4782, allocations: 4 kB / 0.6254 GB, free: 15.75 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.315e-05/0.4782, allocations: 0 / 0.6254 GB, free: 15.75 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.003934/0.4822, allocations: 1.44 MB / 0.6268 GB, free: 14.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4822, allocations: 12.03 kB / 0.6268 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004861/0.4827, allocations: 120.3 kB / 0.6269 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009711/0.4837, allocations: 473.9 kB / 0.6273 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.4837, allocations: 37.38 kB / 0.6274 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-05/0.4838, allocations: 48.56 kB / 0.6274 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.485, allocations: 0.6242 MB / 0.628 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.485, allocations: 0 / 0.628 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.4851, allocations: 24 kB / 0.6281 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.4851, allocations: 12 kB / 0.6281 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008434/0.486, allocations: 359.5 kB / 0.6284 GB, free: 12.48 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.003377/0.4893, allocations: 2.624 MB / 0.631 GB, free: 9.758 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.4899, allocations: 174.4 kB / 0.6311 GB, free: 9.551 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.49, allocations: 59.45 kB / 0.6312 GB, free: 9.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0633/0.5532, allocations: 16.81 MB / 0.6476 GB, free: 8.652 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.5533, allocations: 42.5 kB / 0.6476 GB, free: 8.602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.484e-06/0.5533, allocations: 0 / 0.6476 GB, free: 8.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.001381/0.5547, allocations: 337 kB / 0.648 GB, free: 8.266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.5548, allocations: 132.5 kB / 0.6481 GB, free: 8.105 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007286/0.5555, allocations: 0.4912 MB / 0.6486 GB, free: 7.605 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.5555, allocations: 29.7 kB / 0.6486 GB, free: 7.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.5559, allocations: 384 kB / 0.649 GB, free: 7.188 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.5559, allocations: 47.58 kB / 0.649 GB, free: 7.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.5561, allocations: 45.7 kB / 0.6491 GB, free: 7.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.5562, allocations: 362.8 kB / 0.6494 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.5564, allocations: 60.84 kB / 0.6495 GB, free: 6.664 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.5566, allocations: 130.3 kB / 0.6496 GB, free: 6.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.5569, allocations: 186.1 kB / 0.6498 GB, free: 6.281 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5569, allocations: 0 / 0.6498 GB, free: 6.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005582/0.5575, allocations: 273.7 kB / 0.65 GB, free: 6.008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5575, allocations: 4 kB / 0.65 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5575, allocations: 4.188 kB / 0.65 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.5575, allocations: 4 kB / 0.65 GB, free: 5.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.5579, allocations: 60.77 kB / 0.6501 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.5579, allocations: 5.719 kB / 0.6501 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/0.5582, allocations: 28.08 kB / 0.6501 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.5582, allocations: 12 kB / 0.6501 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002651/0.5585, allocations: 168 kB / 0.6503 GB, free: 5.727 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002284/0.5587, allocations: 180 kB / 0.6505 GB, free: 5.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003391/0.5591, allocations: 247.4 kB / 0.6507 GB, free: 5.168 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.935e-06/0.5591, allocations: 0 / 0.6507 GB, free: 5.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004933/0.5596, allocations: 273.1 kB / 0.651 GB, free: 4.895 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.5596, allocations: 7.938 kB / 0.651 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5596, allocations: 8 kB / 0.651 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.5596, allocations: 4.562 kB / 0.651 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.5598, allocations: 55.91 kB / 0.651 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.5598, allocations: 11.94 kB / 0.6511 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.5602, allocations: 23.88 kB / 0.6511 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.5602, allocations: 15.31 kB / 0.6511 GB, free: 4.773 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 23 * 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.0001447/0.5603, allocations: 188.6 kB / 0.6513 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.5605, allocations: 67.56 kB / 0.6513 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007094/0.5612, allocations: 0.5238 MB / 0.6518 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.5612, allocations: 4 kB / 0.6519 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5612, allocations: 0 / 0.6519 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5612, allocations: 0 / 0.6519 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007586/0.562, allocations: 480.6 kB / 0.6523 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.562, allocations: 0 / 0.6523 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.386e-05/0.5621, allocations: 23.92 kB / 0.6523 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.5621, allocations: 7.938 kB / 0.6523 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.5621, allocations: 4 kB / 0.6523 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5621, allocations: 0 / 0.6523 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.5621, allocations: 4 kB / 0.6523 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.5625, allocations: 492.8 kB / 0.6528 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.5627, allocations: 59.48 kB / 0.6529 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.013e-05/0.5627, allocations: 27.73 kB / 0.6529 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.5631, allocations: 4 kB / 0.6529 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.5631, allocations: 11.98 kB / 0.6529 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.5631, allocations: 3.984 kB / 0.6529 GB, free: 2.832 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007544/0.5639, allocations: 0.5576 MB / 0.6535 GB, free: 2.273 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5639, allocations: 4 kB / 0.6535 GB, free: 2.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00338/0.5672, allocations: 1.111 MB / 0.6546 GB, free: 1.152 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003693/0.5709, allocations: 0.9806 MB / 0.6555 GB, free: 168 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005242/0.5714, allocations: 201 kB / 0.6557 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5715, allocations: 0 / 0.6557 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.599e-05/0.5715, allocations: 31.92 kB / 0.6557 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.5732, allocations: 282.8 kB / 0.656 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.575, allocations: 1.1 MB / 0.6571 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.5753, allocations: 343.6 kB / 0.6574 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004949/0.5758, allocations: 250.9 kB / 0.6576 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.774e-05/0.5759, allocations: 39.42 kB / 0.6577 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.5759, allocations: 4 kB / 0.6577 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.05737/0.6333, allocations: 37.44 MB / 0.6942 GB, free: 8.359 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.560689935460687] Failed to read output from testmodel.py, exit status != 0: 0.643370671197772 0.659417181 0.177463317 Calling exit ...