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.001478/0.001478, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001691/0.001691, allocations: 209.6 kB / 23.73 MB, free: 4.387 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.696/1.696, allocations: 207.7 MB / 234.6 MB, free: 9.801 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.3642/0.3642, allocations: 49.6 MB / 336.4 MB, free: 3.879 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: "" <> 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.002712/0.002712, allocations: 67.91 kB / 476.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1646, allocations: 62.44 MB / 0.5262 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.4013/0.5659, allocations: 46.73 MB / 0.5718 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02449/0.5904, allocations: 15.39 MB / 0.5868 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006312/0.591, allocations: 9 kB / 0.5868 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009697/0.592, allocations: 267.9 kB / 0.5871 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007802/0.5998, allocations: 2.359 MB / 0.5894 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01464/0.6144, allocations: 3.206 MB / 0.5925 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002286/0.6167, allocations: 0.8482 MB / 0.5933 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000577/0.6173, allocations: 242.9 kB / 0.5936 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006552/0.6179, allocations: 354.2 kB / 0.5939 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005991/0.6185, allocations: 375.1 kB / 0.5943 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.552e-05/0.6186, allocations: 33 kB / 0.5943 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01888/0.6375, allocations: 7.14 MB / 0.6013 GB, free: 8.078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003028/0.6378, allocations: 95 kB / 0.6014 GB, free: 8.008 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005948/0.6384, allocations: 210.7 kB / 0.6016 GB, free: 7.895 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0187/0.6571, allocations: 4.593 MB / 0.606 GB, free: 3.406 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.6571, allocations: 7.875 kB / 0.6061 GB, free: 3.398 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.6571, allocations: 0 / 0.6061 GB, free: 3.398 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.6571, allocations: 3.984 kB / 0.6061 GB, free: 3.395 MB / 446.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.00462/0.6617, allocations: 1.323 MB / 0.6074 GB, free: 2.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.6618, allocations: 16.03 kB / 0.6074 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000153/0.6619, allocations: 70.72 kB / 0.6074 GB, free: 1.926 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.663, allocations: 152.5 kB / 0.6076 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008299/0.6638, allocations: 300.5 kB / 0.6079 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/0.6638, allocations: 30.41 kB / 0.6079 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-05/0.6639, allocations: 40.31 kB / 0.6079 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.6651, allocations: 0.5587 MB / 0.6085 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.6651, allocations: 4 kB / 0.6085 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.6651, allocations: 16 kB / 0.6085 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.6652, allocations: 11.94 kB / 0.6085 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008742/0.666, allocations: 369.7 kB / 0.6089 GB, free: 376 kB / 446.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.002791/0.6688, allocations: 1.733 MB / 0.6106 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007563/0.6696, allocations: 321.8 kB / 0.6109 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.6699, allocations: 194.7 kB / 0.611 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06515/0.735, allocations: 16.9 MB / 0.6276 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009958/0.736, allocations: 366.1 kB / 0.6279 GB, free: 12.69 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 4.679e-06/0.736, allocations: 0 / 0.6279 GB, free: 12.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.004376/0.7404, allocations: 1.721 MB / 0.6296 GB, free: 10.86 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.7405, allocations: 140.5 kB / 0.6297 GB, free: 10.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/0.741, allocations: 409.8 kB / 0.6301 GB, free: 10.29 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.7411, allocations: 33.7 kB / 0.6301 GB, free: 10.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.7413, allocations: 240.5 kB / 0.6304 GB, free: 10.01 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.7414, allocations: 111.1 kB / 0.6305 GB, free: 9.902 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.7416, allocations: 74.02 kB / 0.6305 GB, free: 9.824 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002653/0.7418, allocations: 358.8 kB / 0.6309 GB, free: 9.465 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.7421, allocations: 200.1 kB / 0.6311 GB, free: 9.258 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.7425, allocations: 308.8 kB / 0.6314 GB, free: 8.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006623/0.7432, allocations: 478.1 kB / 0.6318 GB, free: 8.391 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7432, allocations: 0 / 0.6318 GB, free: 8.391 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001246/0.7445, allocations: 0.6926 MB / 0.6325 GB, free: 7.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.535e-05/0.7445, allocations: 79.31 kB / 0.6326 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.7446, allocations: 4 kB / 0.6326 GB, free: 7.566 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.7458, allocations: 160.5 kB / 0.6327 GB, free: 7.406 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.7461, allocations: 59.91 kB / 0.6328 GB, free: 7.348 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.7473, allocations: 1.132 MB / 0.6339 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.7475, allocations: 20.02 kB / 0.6339 GB, free: 6.145 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.7476, allocations: 16 kB / 0.6339 GB, free: 6.129 MB / 478.1 MB 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.0003757/0.748, allocations: 249.1 kB / 0.6342 GB, free: 5.863 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.7481, allocations: 51.72 kB / 0.6342 GB, free: 5.812 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/0.7507, allocations: 1.688 MB / 0.6359 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.7507, allocations: 23.84 kB / 0.6359 GB, free: 4.062 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.7507, allocations: 0 / 0.6359 GB, free: 4.062 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.7507, allocations: 3.984 kB / 0.6359 GB, free: 4.059 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008681/0.7516, allocations: 0.669 MB / 0.6366 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.7516, allocations: 0.875 kB / 0.6366 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.7518, allocations: 47.97 kB / 0.6366 GB, free: 3.297 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006486/0.7525, allocations: 252.3 kB / 0.6368 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.7525, allocations: 23.61 kB / 0.6369 GB, free: 3.023 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.7538, allocations: 1.355 MB / 0.6382 GB, free: 1.617 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7538, allocations: 4.156 kB / 0.6382 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/0.7564, allocations: 1.87 MB / 0.64 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.7566, allocations: 107.3 kB / 0.6401 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-05/0.7567, allocations: 15.98 kB / 0.6401 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.7569, allocations: 8 kB / 0.6401 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.757, allocations: 23.95 kB / 0.6402 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.757, allocations: 16 kB / 0.6402 GB, free: 15.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003429/0.7574, allocations: 283.1 kB / 0.6404 GB, free: 15.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7574, allocations: 4 kB / 0.6405 GB, free: 15.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003952/0.7613, allocations: 1.123 MB / 0.6415 GB, free: 14.11 MB / 494.1 MB 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.008549/0.7699, allocations: 3.507 MB / 0.645 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.7714, allocations: 0.8091 MB / 0.6458 GB, free: 9.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7714, allocations: 0 / 0.6458 GB, free: 9.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008588/0.7723, allocations: 0.5798 MB / 0.6463 GB, free: 9.062 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.7735, allocations: 189.2 kB / 0.6465 GB, free: 8.875 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009646/0.7832, allocations: 5.619 MB / 0.652 GB, free: 3.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.7836, allocations: 322.1 kB / 0.6523 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002962/0.7839, allocations: 83.2 kB / 0.6524 GB, free: 2.605 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/0.7842, allocations: 215.4 kB / 0.6526 GB, free: 2.395 MB / 494.1 MB Notification: Performance of SimCode: time 1.303e-06/0.7842, allocations: 0 / 0.6526 GB, free: 2.395 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/0.9026, allocations: 48.57 MB / 0.7 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.51/17.42, allocations: 15.86 kB / 0.7 GB, free: 1.645 MB / 0.5294 GB " [Timeout remaining time 642] (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: 20.992564250249416] Failed to read output from testmodel.py, exit status != 0: 17.575392531231046 17.608516318 16.944886274 Calling exit ...