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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 119.3 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002163/0.002163, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.483/1.483, allocations: 207.6 MB / 231.1 MB, free: 4.102 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4489/0.4489, allocations: 49.51 MB / 332.5 MB, free: 0.7422 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 79.36 kB / 470.8 MB, free: 41.03 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1055, allocations: 62.33 MB / 0.5206 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.05742/0.1629, allocations: 51.29 MB / 0.5707 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0208/0.1837, allocations: 17.18 MB / 0.5875 GB, free: 13.65 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004527/0.1841, allocations: 11.94 kB / 0.5875 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008041/0.185, allocations: 270.4 kB / 0.5878 GB, free: 13.37 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006224/0.1912, allocations: 2.378 MB / 0.5901 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008679/0.1999, allocations: 3.261 MB / 0.5933 GB, free: 7.711 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.2012, allocations: 0.8445 MB / 0.5941 GB, free: 6.863 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004686/0.2016, allocations: 240.7 kB / 0.5943 GB, free: 6.621 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005607/0.2022, allocations: 350.7 kB / 0.5946 GB, free: 6.277 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005119/0.2027, allocations: 390.5 kB / 0.595 GB, free: 5.895 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.719e-05/0.2028, allocations: 32 kB / 0.595 GB, free: 5.863 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01501/0.2178, allocations: 7.547 MB / 0.6024 GB, free: 14.31 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.218, allocations: 107.5 kB / 0.6025 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003821/0.2183, allocations: 246.8 kB / 0.6028 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.2296, allocations: 4.618 MB / 0.6073 GB, free: 9.332 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2296, allocations: 0 / 0.6073 GB, free: 9.332 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2296, allocations: 0 / 0.6073 GB, free: 9.332 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.2296, allocations: 3.984 kB / 0.6073 GB, free: 9.328 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.003295/0.2329, allocations: 1.406 MB / 0.6086 GB, free: 7.855 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.233, allocations: 15.89 kB / 0.6087 GB, free: 7.84 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.612e-05/0.2331, allocations: 70.72 kB / 0.6087 GB, free: 7.762 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000952/0.234, allocations: 152.5 kB / 0.6089 GB, free: 7.613 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.2346, allocations: 362.4 kB / 0.6092 GB, free: 7.223 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.2347, allocations: 32.97 kB / 0.6092 GB, free: 7.191 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.2348, allocations: 44.08 kB / 0.6093 GB, free: 7.148 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009003/0.2357, allocations: 471 kB / 0.6097 GB, free: 6.648 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.2357, allocations: 0 / 0.6097 GB, free: 6.648 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.2357, allocations: 27.98 kB / 0.6098 GB, free: 6.621 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.2357, allocations: 8 kB / 0.6098 GB, free: 6.613 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006595/0.2364, allocations: 310.3 kB / 0.6101 GB, free: 6.309 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.002747/0.2391, allocations: 2.498 MB / 0.6125 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/0.2397, allocations: 258.4 kB / 0.6128 GB, free: 3.289 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.2399, allocations: 128.8 kB / 0.6129 GB, free: 3.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2959/0.5359, allocations: 32.59 MB / 0.6447 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008271/0.5367, allocations: 302.3 kB / 0.645 GB, free: 121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 3.216e-06/0.5367, allocations: 2.438 kB / 0.645 GB, free: 121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.003661/0.5404, allocations: 1.713 MB / 0.6467 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.5404, allocations: 137.4 kB / 0.6468 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.5408, allocations: 400.6 kB / 0.6472 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.5408, allocations: 31.95 kB / 0.6472 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.5409, allocations: 241 kB / 0.6474 GB, free: 120 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.873e-05/0.541, allocations: 119.8 kB / 0.6476 GB, free: 120 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.5411, allocations: 75.16 kB / 0.6476 GB, free: 120 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.25e-05/0.5412, allocations: 358.4 kB / 0.648 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.5414, allocations: 133.8 kB / 0.6481 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.5416, allocations: 217.1 kB / 0.6483 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.5421, allocations: 465.6 kB / 0.6488 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5421, allocations: 0 / 0.6488 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008525/0.5429, allocations: 0.6222 MB / 0.6494 GB, free: 119 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.543, allocations: 72.61 kB / 0.6494 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.543, allocations: 4.188 kB / 0.6494 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.5442, allocations: 158.4 kB / 0.6496 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.5444, allocations: 58.28 kB / 0.6496 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006692/0.5451, allocations: 1.137 MB / 0.6508 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.5453, allocations: 13.91 kB / 0.6508 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.5453, allocations: 18.28 kB / 0.6508 GB, free: 117.8 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.0002332/0.5456, allocations: 247.2 kB / 0.651 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.5456, allocations: 56.89 kB / 0.6511 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.5475, allocations: 1.572 MB / 0.6526 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.5475, allocations: 17.19 kB / 0.6526 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5475, allocations: 0.875 kB / 0.6526 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.5475, allocations: 1.594 kB / 0.6526 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007847/0.5483, allocations: 0.7398 MB / 0.6533 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.5483, allocations: 0 / 0.6533 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.5486, allocations: 48.12 kB / 0.6534 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006654/0.5493, allocations: 244.9 kB / 0.6536 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/0.5493, allocations: 13.92 kB / 0.6536 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008191/0.5501, allocations: 1.344 MB / 0.655 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5501, allocations: 1.438 kB / 0.655 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.5525, allocations: 1.689 MB / 0.6566 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/0.5528, allocations: 190.7 kB / 0.6568 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.404e-05/0.5529, allocations: 13.52 kB / 0.6568 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.553, allocations: 11.23 kB / 0.6568 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.5532, allocations: 21.88 kB / 0.6568 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.5532, allocations: 17.55 kB / 0.6568 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004514/0.5537, allocations: 283.3 kB / 0.6571 GB, free: 114 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5537, allocations: 1.375 kB / 0.6571 GB, free: 114 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004125/0.5578, allocations: 1.118 MB / 0.6582 GB, free: 113.9 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.008154/0.5659, allocations: 3.33 MB / 0.6615 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.5671, allocations: 0.68 MB / 0.6621 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5671, allocations: 0 / 0.6621 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005409/0.5677, allocations: 0.5006 MB / 0.6626 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000943/0.5686, allocations: 192.6 kB / 0.6628 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006182/0.5748, allocations: 5.262 MB / 0.6679 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.575, allocations: 0.9107 MB / 0.6688 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002331/0.5753, allocations: 94.83 kB / 0.6689 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.5755, allocations: 222.3 kB / 0.6691 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/0.5755, allocations: 3.938 kB / 0.6691 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07512/0.6506, allocations: 47.61 MB / 0.7156 GB, free: 59.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/15.76, allocations: 7.906 kB / 0.7156 GB, free: 59.92 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.789266837760806] Failed to read output from testmodel.py, exit status != 0: 15.893595490138978 15.910002968 15.676710356 Calling exit ...