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.001611/0.001611, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001881/0.001881, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.464/1.464, allocations: 207.6 MB / 231.8 MB, free: 3.992 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.4149/0.4149, allocations: 49.51 MB / 333.2 MB, free: 0.75 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="cs",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.002105/0.002105, allocations: 72.77 kB / 471.5 MB, free: 41.03 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1114, allocations: 62.36 MB / 0.5214 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.05694/0.1683, allocations: 51.29 MB / 0.5714 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02177/0.1901, allocations: 17.19 MB / 0.5882 GB, free: 13.6 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006443/0.1907, allocations: 11.88 kB / 0.5882 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.1918, allocations: 270.4 kB / 0.5885 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00724/0.199, allocations: 2.378 MB / 0.5908 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009881/0.2089, allocations: 3.253 MB / 0.594 GB, free: 7.668 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.2104, allocations: 0.8483 MB / 0.5948 GB, free: 6.816 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005845/0.211, allocations: 248.6 kB / 0.5951 GB, free: 6.566 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006761/0.2117, allocations: 346.7 kB / 0.5954 GB, free: 6.227 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006614/0.2123, allocations: 394.5 kB / 0.5958 GB, free: 5.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-05/0.2124, allocations: 32 kB / 0.5958 GB, free: 5.809 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01488/0.2273, allocations: 7.539 MB / 0.6032 GB, free: 14.26 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.2275, allocations: 103.6 kB / 0.6033 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004155/0.2279, allocations: 250.8 kB / 0.6035 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01164/0.2396, allocations: 4.618 MB / 0.608 GB, free: 9.285 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2396, allocations: 0 / 0.608 GB, free: 9.285 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.2396, allocations: 0 / 0.608 GB, free: 9.285 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2396, allocations: 3.938 kB / 0.608 GB, free: 9.281 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.003251/0.2428, allocations: 1.406 MB / 0.6094 GB, free: 7.809 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2429, allocations: 19.89 kB / 0.6094 GB, free: 7.789 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.835e-05/0.2429, allocations: 8.844 kB / 0.6094 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.404e-05/0.243, allocations: 70.72 kB / 0.6095 GB, free: 7.703 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009206/0.2439, allocations: 160.4 kB / 0.6096 GB, free: 7.547 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.2445, allocations: 358.4 kB / 0.61 GB, free: 7.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.2445, allocations: 25.03 kB / 0.61 GB, free: 7.133 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.2446, allocations: 43.89 kB / 0.61 GB, free: 7.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009035/0.2455, allocations: 479 kB / 0.6105 GB, free: 6.582 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.2455, allocations: 7.938 kB / 0.6105 GB, free: 6.574 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.2455, allocations: 20 kB / 0.6105 GB, free: 6.555 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.2455, allocations: 8 kB / 0.6105 GB, free: 6.547 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006596/0.2462, allocations: 306.3 kB / 0.6108 GB, free: 6.25 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.002624/0.2488, allocations: 2.51 MB / 0.6133 GB, free: 3.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/0.2494, allocations: 250.5 kB / 0.6135 GB, free: 3.227 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.2497, allocations: 128.8 kB / 0.6136 GB, free: 3.098 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3083/0.558, allocations: 32.59 MB / 0.6455 GB, free: 121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009625/0.5589, allocations: 305.1 kB / 0.6458 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.746e-06/0.5589, allocations: 1.156 kB / 0.6458 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.003912/0.5629, allocations: 1.711 MB / 0.6474 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.5629, allocations: 140.3 kB / 0.6476 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.5633, allocations: 397.7 kB / 0.6479 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.5633, allocations: 32.14 kB / 0.648 GB, free: 120 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.5634, allocations: 247.5 kB / 0.6482 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.818e-05/0.5635, allocations: 120 kB / 0.6483 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.5636, allocations: 79.48 kB / 0.6484 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.5637, allocations: 353.9 kB / 0.6487 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.5638, allocations: 141.1 kB / 0.6489 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.5641, allocations: 209.7 kB / 0.6491 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.5645, allocations: 469.7 kB / 0.6495 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5645, allocations: 0 / 0.6495 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008613/0.5653, allocations: 0.6224 MB / 0.6501 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.937e-05/0.5654, allocations: 70.75 kB / 0.6502 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.5654, allocations: 0 / 0.6502 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.5667, allocations: 153.8 kB / 0.6503 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.5669, allocations: 60.72 kB / 0.6504 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007128/0.5676, allocations: 1.136 MB / 0.6515 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.5679, allocations: 13.59 kB / 0.6515 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.5679, allocations: 19.27 kB / 0.6515 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.0002907/0.5682, allocations: 256.2 kB / 0.6518 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.541e-05/0.5683, allocations: 53.08 kB / 0.6518 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.5705, allocations: 1.562 MB / 0.6534 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-05/0.5705, allocations: 18.89 kB / 0.6534 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5705, allocations: 0.6562 kB / 0.6534 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.5705, allocations: 2.25 kB / 0.6534 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008816/0.5714, allocations: 0.7451 MB / 0.6541 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.5714, allocations: 0 / 0.6541 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.5717, allocations: 50.36 kB / 0.6542 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006145/0.5723, allocations: 243.4 kB / 0.6544 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.5723, allocations: 15.05 kB / 0.6544 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007427/0.5731, allocations: 1.342 MB / 0.6557 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5731, allocations: 0 / 0.6557 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.5755, allocations: 1.685 MB / 0.6574 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/0.5758, allocations: 192.2 kB / 0.6575 GB, free: 114 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.389e-05/0.5758, allocations: 10.38 kB / 0.6575 GB, free: 114 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.576, allocations: 18.56 kB / 0.6576 GB, free: 114 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.714e-05/0.5761, allocations: 22.02 kB / 0.6576 GB, free: 114 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.5762, allocations: 18.62 kB / 0.6576 GB, free: 114 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004184/0.5766, allocations: 284.5 kB / 0.6579 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5766, allocations: 0 / 0.6579 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003288/0.5799, allocations: 1.115 MB / 0.659 GB, free: 113.8 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.007596/0.5875, allocations: 3.331 MB / 0.6622 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.5886, allocations: 0.6746 MB / 0.6629 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5886, allocations: 0 / 0.6629 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000573/0.5892, allocations: 0.5098 MB / 0.6634 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.5903, allocations: 191.7 kB / 0.6636 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006706/0.597, allocations: 5.263 MB / 0.6687 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.5973, allocations: 0.91 MB / 0.6696 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002532/0.5976, allocations: 93.05 kB / 0.6697 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.5978, allocations: 222.4 kB / 0.6699 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/0.5978, allocations: 0 / 0.6699 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07412/0.6719, allocations: 47.66 MB / 0.7164 GB, free: 59.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/16.24, allocations: 8 kB / 0.7164 GB, free: 59.73 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: 19.278536098019686] Failed to read output from testmodel.py, exit status != 0: 16.422140681999736 16.440651724 16.197276767 Calling exit ...