Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001327/0.001327, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001485/0.001485, allocations: 214.8 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1491/0.1491, allocations: 26.8 MB / 340.7 MB, free: 8.184 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0-dev_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.0021/0.0021, allocations: 59.91 kB / 476.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2988, allocations: 60.48 MB / 0.5247 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.0531/0.3519, allocations: 51.93 MB / 0.5754 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02148/0.3733, allocations: 17.3 MB / 0.5923 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005382/0.3739, allocations: 11.94 kB / 0.5923 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008188/0.3747, allocations: 262.4 kB / 0.5926 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007302/0.382, allocations: 2.404 MB / 0.5949 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008457/0.3905, allocations: 3.261 MB / 0.5981 GB, free: 9.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.3917, allocations: 0.8599 MB / 0.599 GB, free: 8.887 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000432/0.3921, allocations: 249.1 kB / 0.5992 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004926/0.3926, allocations: 342.7 kB / 0.5995 GB, free: 8.301 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005616/0.3932, allocations: 402.5 kB / 0.5999 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.961e-05/0.3932, allocations: 32 kB / 0.5999 GB, free: 7.875 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01485/0.4081, allocations: 7.578 MB / 0.6073 GB, free: 296 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.4082, allocations: 95.56 kB / 0.6074 GB, free: 200 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003895/0.4086, allocations: 254.8 kB / 0.6077 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.4193, allocations: 4.634 MB / 0.6122 GB, free: 11.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4193, allocations: 0 / 0.6122 GB, free: 11.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4193, allocations: 4 kB / 0.6122 GB, free: 11.29 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.4193, allocations: 0 / 0.6122 GB, free: 11.29 MB / 462.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.003056/0.4223, allocations: 1.333 MB / 0.6135 GB, free: 9.914 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4224, allocations: 8.031 kB / 0.6135 GB, free: 9.906 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.205e-05/0.4225, allocations: 74.66 kB / 0.6136 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000922/0.4234, allocations: 160.4 kB / 0.6137 GB, free: 9.668 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004871/0.4239, allocations: 308.5 kB / 0.614 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.4239, allocations: 25.03 kB / 0.6141 GB, free: 9.316 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.254e-05/0.424, allocations: 36.12 kB / 0.6141 GB, free: 9.281 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009034/0.4249, allocations: 483 kB / 0.6146 GB, free: 8.766 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.4249, allocations: 0 / 0.6146 GB, free: 8.766 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.4249, allocations: 19.94 kB / 0.6146 GB, free: 8.746 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.4249, allocations: 8 kB / 0.6146 GB, free: 8.738 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007189/0.4256, allocations: 306.3 kB / 0.6149 GB, free: 8.438 MB / 462.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.002767/0.4284, allocations: 2.452 MB / 0.6173 GB, free: 5.738 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/0.429, allocations: 262.4 kB / 0.6175 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.4292, allocations: 129.3 kB / 0.6176 GB, free: 5.344 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06255/0.4918, allocations: 17.56 MB / 0.6348 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006597/0.4924, allocations: 298.7 kB / 0.6351 GB, free: 3.445 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 4.659e-06/0.4924, allocations: 7.922 kB / 0.6351 GB, free: 3.438 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.003861/0.4963, allocations: 1.583 MB / 0.6366 GB, free: 1.773 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.739e-05/0.4964, allocations: 140.5 kB / 0.6368 GB, free: 1.605 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004642/0.4969, allocations: 401.9 kB / 0.6371 GB, free: 1.199 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.4969, allocations: 29.7 kB / 0.6372 GB, free: 1.164 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.4971, allocations: 244.5 kB / 0.6374 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.4972, allocations: 115 kB / 0.6375 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.4973, allocations: 81.97 kB / 0.6376 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.4975, allocations: 358.8 kB / 0.6379 GB, free: 372 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.4977, allocations: 132.7 kB / 0.6381 GB, free: 240 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.498, allocations: 215.7 kB / 0.6383 GB, free: 16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/0.4986, allocations: 478.1 kB / 0.6387 GB, free: 15.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4986, allocations: 0 / 0.6387 GB, free: 15.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001116/0.4997, allocations: 0.6111 MB / 0.6393 GB, free: 14.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.992e-05/0.4998, allocations: 74.3 kB / 0.6394 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4998, allocations: 12.19 kB / 0.6394 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.5011, allocations: 161.5 kB / 0.6396 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.5013, allocations: 59.84 kB / 0.6396 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.5024, allocations: 1.136 MB / 0.6407 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.5026, allocations: 12 kB / 0.6407 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.5027, allocations: 19.98 kB / 0.6408 GB, free: 13.3 MB / 494.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.0002966/0.503, allocations: 245.5 kB / 0.641 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.503, allocations: 47.72 kB / 0.641 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.5052, allocations: 1.615 MB / 0.6426 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/0.5052, allocations: 27.91 kB / 0.6426 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5053, allocations: 4 kB / 0.6426 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5053, allocations: 0 / 0.6426 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008757/0.5061, allocations: 0.7157 MB / 0.6433 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5061, allocations: 0 / 0.6433 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.5064, allocations: 39.98 kB / 0.6434 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006374/0.507, allocations: 256.3 kB / 0.6436 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.507, allocations: 15.98 kB / 0.6436 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.5082, allocations: 1.355 MB / 0.645 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5082, allocations: 0 / 0.645 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.5107, allocations: 1.746 MB / 0.6467 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.511, allocations: 103.3 kB / 0.6468 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.099e-05/0.5111, allocations: 16 kB / 0.6468 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.5113, allocations: 11.98 kB / 0.6468 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.5113, allocations: 27.91 kB / 0.6468 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.5114, allocations: 16.17 kB / 0.6468 GB, free: 6.898 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003501/0.5117, allocations: 287.1 kB / 0.6471 GB, free: 6.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5117, allocations: 0 / 0.6471 GB, free: 6.613 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002878/0.5146, allocations: 1.123 MB / 0.6482 GB, free: 5.488 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.007756/0.5224, allocations: 3.371 MB / 0.6515 GB, free: 2.074 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.5238, allocations: 0.6811 MB / 0.6522 GB, free: 1.371 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5238, allocations: 0 / 0.6522 GB, free: 1.371 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007642/0.5246, allocations: 0.5065 MB / 0.6527 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.5257, allocations: 201.2 kB / 0.6528 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008609/0.5343, allocations: 5.279 MB / 0.658 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.5349, allocations: 0.9071 MB / 0.6589 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002689/0.5352, allocations: 107 kB / 0.659 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.5355, allocations: 219.4 kB / 0.6592 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of SimCode: time 6.52e-07/0.5355, allocations: 0 / 0.6592 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/0.6377, allocations: 48.43 MB / 0.7065 GB, free: 9.641 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.22/16.86, allocations: 5.594 kB / 0.7065 GB, free: 9.641 MB / 0.545 GB " [Timeout remaining time 643] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & python3 -m fmpy simulate --output-file ThermoPower_4.0.0-dev_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_4_0_0-dev_ThermoPower_Test_WaterComponents_TestBarometricCondenser.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.68858945905231] Failed to read output from testmodel.py, exit status != 0: 17.013081853976473 17.037875982 16.61376943 Calling exit ...