Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.001704/0.001704, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001967/0.001967, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.436/1.436, allocations: 207.6 MB / 231.1 MB, free: 4.094 MB / 174.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.4469/0.4469, allocations: 49.51 MB / 332.5 MB, free: 0.7305 MB / 254.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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) [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.002076/0.002076, allocations: 70.19 kB / 470.8 MB, free: 41.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1062, allocations: 62.35 MB / 0.5207 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.05516/0.1614, allocations: 51.3 MB / 0.5708 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02146/0.1828, allocations: 17.19 MB / 0.5875 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000506/0.1833, allocations: 11.88 kB / 0.5876 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008173/0.1841, allocations: 258.5 kB / 0.5878 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006797/0.1909, allocations: 2.386 MB / 0.5901 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00967/0.2006, allocations: 3.25 MB / 0.5933 GB, free: 7.668 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.202, allocations: 0.8483 MB / 0.5941 GB, free: 6.816 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000519/0.2025, allocations: 244.6 kB / 0.5944 GB, free: 6.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005082/0.203, allocations: 354.6 kB / 0.5947 GB, free: 6.223 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004965/0.2035, allocations: 390.6 kB / 0.5951 GB, free: 5.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.2035, allocations: 32 kB / 0.5951 GB, free: 5.809 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01524/0.2188, allocations: 7.543 MB / 0.6025 GB, free: 14.26 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.219, allocations: 107.5 kB / 0.6026 GB, free: 14.15 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005663/0.2195, allocations: 254.8 kB / 0.6028 GB, free: 13.9 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.2332, allocations: 4.618 MB / 0.6073 GB, free: 9.273 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2332, allocations: 0 / 0.6073 GB, free: 9.273 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2332, allocations: 0 / 0.6073 GB, free: 9.273 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.2332, allocations: 0 / 0.6073 GB, free: 9.273 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003598/0.2368, allocations: 1.398 MB / 0.6087 GB, free: 7.809 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.2369, allocations: 19.83 kB / 0.6087 GB, free: 7.789 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.124e-05/0.237, allocations: 74.72 kB / 0.6088 GB, free: 7.707 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000961/0.2379, allocations: 156.5 kB / 0.6089 GB, free: 7.555 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006002/0.2385, allocations: 358.4 kB / 0.6093 GB, free: 7.168 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.2386, allocations: 29.03 kB / 0.6093 GB, free: 7.141 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/0.2386, allocations: 40.08 kB / 0.6093 GB, free: 7.102 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009007/0.2395, allocations: 479 kB / 0.6098 GB, free: 6.594 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2395, allocations: 3.938 kB / 0.6098 GB, free: 6.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.2396, allocations: 16 kB / 0.6098 GB, free: 6.574 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.2396, allocations: 12 kB / 0.6098 GB, free: 6.562 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006734/0.2403, allocations: 306.3 kB / 0.6101 GB, free: 6.262 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.002648/0.2429, allocations: 2.514 MB / 0.6126 GB, free: 3.488 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/0.2435, allocations: 258.4 kB / 0.6128 GB, free: 3.227 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.2437, allocations: 128.8 kB / 0.6129 GB, free: 3.098 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3102/0.5539, allocations: 32.58 MB / 0.6448 GB, free: 121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007385/0.5547, allocations: 303 kB / 0.6451 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.514e-06/0.5547, allocations: 0 / 0.6451 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.003552/0.5582, allocations: 1.717 MB / 0.6467 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.5583, allocations: 140.4 kB / 0.6469 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.5586, allocations: 395.3 kB / 0.6472 GB, free: 120 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.5586, allocations: 31.42 kB / 0.6473 GB, free: 120 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.5588, allocations: 246 kB / 0.6475 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.5588, allocations: 121.3 kB / 0.6476 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.5589, allocations: 76.17 kB / 0.6477 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.969e-05/0.559, allocations: 358.3 kB / 0.648 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.5592, allocations: 131.6 kB / 0.6482 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.5594, allocations: 214.8 kB / 0.6484 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.5598, allocations: 475 kB / 0.6488 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5598, allocations: 1.125 kB / 0.6488 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008614/0.5607, allocations: 0.6077 MB / 0.6494 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/0.5607, allocations: 73.2 kB / 0.6495 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5607, allocations: 3.234 kB / 0.6495 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.5619, allocations: 161 kB / 0.6496 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.5622, allocations: 59.78 kB / 0.6497 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006726/0.5628, allocations: 1.138 MB / 0.6508 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.5631, allocations: 23.14 kB / 0.6508 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.5631, allocations: 12.48 kB / 0.6508 GB, free: 117.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.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): 31 * Array equations: 0 * Algorithm blocks: 2 * 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), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002223/0.5633, allocations: 254 kB / 0.6511 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.5634, allocations: 54.61 kB / 0.6511 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.5655, allocations: 1.564 MB / 0.6527 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.903e-05/0.5655, allocations: 17.98 kB / 0.6527 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.5655, allocations: 0.6875 kB / 0.6527 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.5655, allocations: 2.469 kB / 0.6527 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008735/0.5664, allocations: 0.7411 MB / 0.6534 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.5664, allocations: 0.6562 kB / 0.6534 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.5666, allocations: 46.14 kB / 0.6535 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006157/0.5672, allocations: 249 kB / 0.6537 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.5673, allocations: 13.27 kB / 0.6537 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007413/0.568, allocations: 1.338 MB / 0.655 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.568, allocations: 1.875 kB / 0.655 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.5702, allocations: 1.69 MB / 0.6567 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.5704, allocations: 189.1 kB / 0.6568 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.818e-05/0.5705, allocations: 10.73 kB / 0.6569 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.5707, allocations: 11.22 kB / 0.6569 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.5708, allocations: 21.53 kB / 0.6569 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.5708, allocations: 21.3 kB / 0.6569 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004308/0.5713, allocations: 282 kB / 0.6572 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5713, allocations: 0 / 0.6572 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003894/0.5751, allocations: 1.12 MB / 0.6583 GB, free: 113.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007085/0.5822, allocations: 3.338 MB / 0.6615 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.5834, allocations: 0.6705 MB / 0.6622 GB, free: 112 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5834, allocations: 0.9375 kB / 0.6622 GB, free: 112 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005768/0.5839, allocations: 0.5031 MB / 0.6627 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.585, allocations: 193.7 kB / 0.6629 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006607/0.5916, allocations: 5.259 MB / 0.668 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.5918, allocations: 0.9125 MB / 0.6689 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002462/0.5921, allocations: 91.88 kB / 0.669 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.5923, allocations: 220.5 kB / 0.6692 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/0.5923, allocations: 0 / 0.6692 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07713/0.6694, allocations: 47.62 MB / 0.7157 GB, free: 59.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.38, allocations: 8 kB / 0.7157 GB, free: 59.81 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.484493356998428] Failed to read output from testmodel.py, exit status != 0: 15.502964474988403 15.52231046 15.285393451 Calling exit ...