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.001822/0.001822, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002418/0.002418, allocations: 212.6 kB / 22.24 MB, free: 5.262 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.773 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.1552/0.1552, allocations: 23.99 MB / 336.4 MB, free: 10.86 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.002072/0.002072, allocations: 67.89 kB / 471.3 MB, free: 7.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3707, allocations: 59.89 MB / 0.5187 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004511/0.3752, allocations: 3.221 MB / 0.5219 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005436/0.3806, allocations: 4.234 MB / 0.526 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.3811, allocations: 12.25 kB / 0.526 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005279/0.3816, allocations: 108.2 kB / 0.5261 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.3831, allocations: 448.2 kB / 0.5265 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.3847, allocations: 0.5284 MB / 0.5271 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000773/0.3855, allocations: 0.5969 MB / 0.5276 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.3859, allocations: 298.8 kB / 0.5279 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003132/0.3862, allocations: 297.1 kB / 0.5282 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.3866, allocations: 268.6 kB / 0.5285 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.749e-05/0.3866, allocations: 52.53 kB / 0.5285 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.388, allocations: 450.4 kB / 0.5289 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.3881, allocations: 124.2 kB / 0.5291 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002764/0.3884, allocations: 227.7 kB / 0.5293 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.3903, allocations: 1.078 MB / 0.5303 GB, free: 2.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3903, allocations: 0.5312 kB / 0.5303 GB, free: 2.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3903, allocations: 1.297 kB / 0.5303 GB, free: 2.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.3903, allocations: 4 kB / 0.5303 GB, free: 2.332 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.001417/0.3917, allocations: 0.8027 MB / 0.5311 GB, free: 1.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3918, allocations: 14.25 kB / 0.5311 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.599e-05/0.3919, allocations: 83.95 kB / 0.5312 GB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000478/0.3924, allocations: 91.52 kB / 0.5313 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.393, allocations: 305.2 kB / 0.5316 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.393, allocations: 36.72 kB / 0.5316 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.041e-05/0.3931, allocations: 46.72 kB / 0.5317 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000734/0.3938, allocations: 458.6 kB / 0.5321 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.3938, allocations: 0 / 0.5321 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.3939, allocations: 20.41 kB / 0.5321 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.3939, allocations: 11.62 kB / 0.5321 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008164/0.3947, allocations: 0.5028 MB / 0.5326 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.3969, allocations: 1.211 MB / 0.5338 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000689/0.3976, allocations: 340.4 kB / 0.5341 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.3978, allocations: 107.2 kB / 0.5342 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002008/0.3998, allocations: 0.8756 MB / 0.5351 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3998, allocations: 37.52 kB / 0.5351 GB, free: 15.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.224e-06/0.3998, allocations: 0 / 0.5351 GB, free: 15.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01353/0.4134, allocations: 2.128 MB / 0.5372 GB, free: 14.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.4134, allocations: 58.25 kB / 0.5373 GB, free: 14.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.4138, allocations: 302.2 kB / 0.5376 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.4139, allocations: 34.83 kB / 0.5376 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.4141, allocations: 279.3 kB / 0.5379 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.4142, allocations: 118.1 kB / 0.538 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.4144, allocations: 84.7 kB / 0.538 GB, free: 14.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4145, allocations: 345.4 kB / 0.5384 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.4148, allocations: 137 kB / 0.5385 GB, free: 13.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.4151, allocations: 256.4 kB / 0.5388 GB, free: 13.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006545/0.4158, allocations: 433.1 kB / 0.5392 GB, free: 13.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4158, allocations: 1.5 kB / 0.5392 GB, free: 13.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004012/0.4198, allocations: 0.8116 MB / 0.54 GB, free: 13.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.4198, allocations: 6.969 kB / 0.54 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4199, allocations: 4.344 kB / 0.54 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003393/0.4232, allocations: 412.6 kB / 0.5404 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.4235, allocations: 78.64 kB / 0.5404 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006715/0.4303, allocations: 3.739 MB / 0.5441 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/0.4307, allocations: 16.91 kB / 0.5441 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/0.4308, allocations: 28.14 kB / 0.5441 GB, free: 9.891 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.000297/0.4311, allocations: 163 kB / 0.5443 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.4312, allocations: 40.52 kB / 0.5443 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004767/0.436, allocations: 0.8282 MB / 0.5451 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.436, allocations: 3.406 kB / 0.5451 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.436, allocations: 1.062 kB / 0.5451 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.436, allocations: 7.719 kB / 0.5451 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009146/0.4369, allocations: 0.5428 MB / 0.5457 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4369, allocations: 6.219 kB / 0.5457 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.4371, allocations: 46.58 kB / 0.5457 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004504/0.4416, allocations: 494.8 kB / 0.5462 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.4416, allocations: 26.3 kB / 0.5462 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007519/0.4492, allocations: 4.928 MB / 0.551 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4492, allocations: 2.156 kB / 0.551 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005026/0.4542, allocations: 1.126 MB / 0.5521 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.4544, allocations: 30.73 kB / 0.5522 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.902e-05/0.4544, allocations: 12.91 kB / 0.5522 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.4547, allocations: 20.33 kB / 0.5522 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.4549, allocations: 49.05 kB / 0.5522 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.4549, allocations: 21.19 kB / 0.5523 GB, free: 3.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002666/0.4552, allocations: 201.2 kB / 0.5525 GB, free: 3.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4552, allocations: 1.344 kB / 0.5525 GB, free: 3.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001056/0.4562, allocations: 239.8 kB / 0.5527 GB, free: 3.297 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.00593/0.4622, allocations: 1.845 MB / 0.5545 GB, free: 1.949 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.4637, allocations: 0.6683 MB / 0.5551 GB, free: 1.496 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.4637, allocations: 0 / 0.5551 GB, free: 1.496 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009705/0.4646, allocations: 0.6036 MB / 0.5557 GB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007473/0.4654, allocations: 100.4 kB / 0.5558 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.4774, allocations: 4.605 MB / 0.5603 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.4776, allocations: 228.2 kB / 0.5605 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003179/0.478, allocations: 75.03 kB / 0.5606 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.4782, allocations: 175.4 kB / 0.5608 GB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4782, allocations: 0 / 0.5608 GB, free: 13.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05875/0.537, allocations: 16.65 MB / 0.577 GB, free: 12.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.36, allocations: 14.08 kB / 0.5771 GB, free: 12.66 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: 17.355448712129146] Failed to read output from testmodel.py, exit status != 0: 14.49666682491079 14.524023196 14.128769281 Calling exit ...