Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.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.001315/0.001315, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001565/0.001565, allocations: 221.7 kB / 22.25 MB, free: 5.254 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1642/0.1642, allocations: 23.93 MB / 336.4 MB, free: 10.93 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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(Chemical.Obsolete.Examples.HeatingOfWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical 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.001972/0.001972, allocations: 67.91 kB / 471.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3665, allocations: 59.88 MB / 0.5186 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.005328/0.3718, allocations: 3.211 MB / 0.5217 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005469/0.3773, allocations: 4.246 MB / 0.5259 GB, free: 4.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004737/0.3778, allocations: 8.219 kB / 0.5259 GB, free: 4.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004747/0.3783, allocations: 107.8 kB / 0.526 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.3795, allocations: 447.8 kB / 0.5264 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.3811, allocations: 0.533 MB / 0.5269 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007942/0.3819, allocations: 0.5845 MB / 0.5275 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004271/0.3823, allocations: 307.8 kB / 0.5278 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003546/0.3827, allocations: 291.9 kB / 0.5281 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.3831, allocations: 305 kB / 0.5284 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-05/0.3832, allocations: 52.66 kB / 0.5284 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.3844, allocations: 466.8 kB / 0.5289 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.3845, allocations: 130.7 kB / 0.529 GB, free: 2.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.3848, allocations: 229.7 kB / 0.5292 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.3866, allocations: 1.073 MB / 0.5303 GB, free: 2.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3866, allocations: 4 kB / 0.5303 GB, free: 2.383 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3866, allocations: 0.5312 kB / 0.5303 GB, free: 2.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.3866, allocations: 0.75 kB / 0.5303 GB, free: 2.383 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001463/0.3881, allocations: 0.8029 MB / 0.531 GB, free: 1.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3881, allocations: 13.59 kB / 0.5311 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.768e-05/0.3882, allocations: 85.23 kB / 0.5311 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003651/0.3886, allocations: 94.17 kB / 0.5312 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.3891, allocations: 310 kB / 0.5315 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.3892, allocations: 36.66 kB / 0.5316 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.527e-05/0.3893, allocations: 48.12 kB / 0.5316 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007298/0.39, allocations: 453.2 kB / 0.532 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.39, allocations: 0 / 0.532 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.39, allocations: 19.28 kB / 0.5321 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.3901, allocations: 12.47 kB / 0.5321 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007944/0.3909, allocations: 0.4989 MB / 0.5326 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.393, allocations: 1.221 MB / 0.5337 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007089/0.3937, allocations: 343 kB / 0.5341 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.3939, allocations: 106.6 kB / 0.5342 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001946/0.3958, allocations: 0.8685 MB / 0.535 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3959, allocations: 39.97 kB / 0.5351 GB, free: 15.69 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.3959, allocations: 1.375 kB / 0.5351 GB, free: 15.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01307/0.4089, allocations: 2.115 MB / 0.5371 GB, free: 14.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.409, allocations: 55.05 kB / 0.5372 GB, free: 14.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004689/0.4095, allocations: 309.4 kB / 0.5375 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/0.4095, allocations: 30.77 kB / 0.5375 GB, free: 14.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.4098, allocations: 274.9 kB / 0.5378 GB, free: 14.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.4099, allocations: 119.5 kB / 0.5379 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.4101, allocations: 88.7 kB / 0.538 GB, free: 14.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.4102, allocations: 344.6 kB / 0.5383 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.4105, allocations: 133.1 kB / 0.5384 GB, free: 13.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.4109, allocations: 260.1 kB / 0.5387 GB, free: 13.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/0.4115, allocations: 428.1 kB / 0.5391 GB, free: 13.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4115, allocations: 1.031 kB / 0.5391 GB, free: 13.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003697/0.4152, allocations: 0.8182 MB / 0.5399 GB, free: 13.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.4153, allocations: 10.53 kB / 0.5399 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.4153, allocations: 3.625 kB / 0.5399 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003148/0.4184, allocations: 412.4 kB / 0.5403 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.4187, allocations: 78.55 kB / 0.5404 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006497/0.4252, allocations: 3.739 MB / 0.544 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.4256, allocations: 17.55 kB / 0.544 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.4257, allocations: 22.27 kB / 0.5441 GB, free: 9.938 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002916/0.426, allocations: 168.6 kB / 0.5442 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.4261, allocations: 35.91 kB / 0.5442 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004389/0.4305, allocations: 0.8198 MB / 0.545 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/0.4305, allocations: 3.25 kB / 0.5451 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.4305, allocations: 6.188 kB / 0.5451 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.4305, allocations: 1.922 kB / 0.5451 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.4315, allocations: 0.5521 MB / 0.5456 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4315, allocations: 2.75 kB / 0.5456 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.4317, allocations: 49.03 kB / 0.5456 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004082/0.4358, allocations: 487.3 kB / 0.5461 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.4359, allocations: 22.73 kB / 0.5461 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007452/0.4433, allocations: 4.947 MB / 0.551 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4433, allocations: 2.219 kB / 0.551 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004799/0.4481, allocations: 1.122 MB / 0.5521 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.4483, allocations: 39.31 kB / 0.5521 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.4484, allocations: 12.02 kB / 0.5521 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.4487, allocations: 13.47 kB / 0.5521 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.4488, allocations: 43.39 kB / 0.5522 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.4488, allocations: 16.66 kB / 0.5522 GB, free: 3.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002853/0.4491, allocations: 202.6 kB / 0.5524 GB, free: 3.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4491, allocations: 4.969 kB / 0.5524 GB, free: 3.406 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001092/0.4502, allocations: 244.1 kB / 0.5526 GB, free: 3.352 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.amountOfBonds,liquidWater.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005615/0.4558, allocations: 1.845 MB / 0.5544 GB, free: 2.004 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.4573, allocations: 0.6647 MB / 0.5551 GB, free: 1.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4573, allocations: 0 / 0.5551 GB, free: 1.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009789/0.4583, allocations: 0.6037 MB / 0.5557 GB, free: 1.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007373/0.459, allocations: 112.2 kB / 0.5558 GB, free: 1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.4707, allocations: 4.594 MB / 0.5602 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.471, allocations: 236.2 kB / 0.5605 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002977/0.4713, allocations: 71.03 kB / 0.5605 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/0.4716, allocations: 175.4 kB / 0.5607 GB, free: 13.14 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4716, allocations: 4 kB / 0.5607 GB, free: 13.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05839/0.53, allocations: 16.81 MB / 0.5771 GB, free: 12.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.53, allocations: 11.03 kB / 0.5771 GB, free: 12.54 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.sim & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Chemical_master_Chemical_Obsolete_Examples_HeatingOfWater.fmu > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.44997784701991] Failed to read output from testmodel.py, exit status != 0: 13.654274714994244 13.678203973 13.287578347 Calling exit ...