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.001268/0.001268, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00138/0.00138, allocations: 218.6 kB / 22.26 MB, free: 5.121 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.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.992 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.1309/0.1309, allocations: 23.89 MB / 336.3 MB, free: 11.18 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.00196/0.00196, allocations: 67.89 kB / 471.2 MB, free: 7.676 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3303, allocations: 59.88 MB / 0.5186 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.00438/0.3346, allocations: 3.5 MB / 0.5221 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005437/0.3401, allocations: 4.799 MB / 0.5267 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004263/0.3405, allocations: 7.844 kB / 0.5268 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.341, allocations: 112 kB / 0.5269 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.3421, allocations: 460.6 kB / 0.5273 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.3434, allocations: 0.5354 MB / 0.5278 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007028/0.3441, allocations: 0.5782 MB / 0.5284 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004309/0.3445, allocations: 305.5 kB / 0.5287 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.3448, allocations: 296.3 kB / 0.529 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004751/0.3453, allocations: 308.9 kB / 0.5293 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.449e-05/0.3454, allocations: 52.25 kB / 0.5293 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.3466, allocations: 483 kB / 0.5298 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.3467, allocations: 119.8 kB / 0.5299 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.347, allocations: 280.7 kB / 0.5301 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.3484, allocations: 1.074 MB / 0.5312 GB, free: 1.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3484, allocations: 1.219 kB / 0.5312 GB, free: 1.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3484, allocations: 3.938 kB / 0.5312 GB, free: 1.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.3484, allocations: 0 / 0.5312 GB, free: 1.473 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.001454/0.3499, allocations: 0.8047 MB / 0.532 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.3499, allocations: 10.05 kB / 0.532 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/0.3501, allocations: 88.72 kB / 0.5321 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003512/0.3504, allocations: 90.41 kB / 0.5322 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.351, allocations: 310 kB / 0.5325 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.351, allocations: 41.25 kB / 0.5325 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/0.3511, allocations: 46.12 kB / 0.5325 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007029/0.3518, allocations: 457.4 kB / 0.533 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3518, allocations: 2.016 kB / 0.533 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.3518, allocations: 18.81 kB / 0.533 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.3519, allocations: 11.59 kB / 0.533 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007944/0.3526, allocations: 0.5128 MB / 0.5335 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.3552, allocations: 1.499 MB / 0.535 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/0.356, allocations: 343.4 kB / 0.5353 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.3562, allocations: 108.1 kB / 0.5354 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002131/0.3583, allocations: 0.9208 MB / 0.5363 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.3583, allocations: 31.75 kB / 0.5363 GB, free: 14.51 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.644e-06/0.3584, allocations: 0 / 0.5363 GB, free: 14.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01513/0.3735, allocations: 2.12 MB / 0.5384 GB, free: 13.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.3735, allocations: 56.22 kB / 0.5385 GB, free: 13.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004269/0.374, allocations: 300 kB / 0.5388 GB, free: 13.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.374, allocations: 31.08 kB / 0.5388 GB, free: 13.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.3742, allocations: 278.2 kB / 0.539 GB, free: 13.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.3743, allocations: 110.2 kB / 0.5392 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.3745, allocations: 88.78 kB / 0.5392 GB, free: 13.15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3746, allocations: 341.8 kB / 0.5396 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.3749, allocations: 136.3 kB / 0.5397 GB, free: 12.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.3752, allocations: 261.2 kB / 0.5399 GB, free: 12.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000609/0.3758, allocations: 432.4 kB / 0.5404 GB, free: 12.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3758, allocations: 1.375 kB / 0.5404 GB, free: 12.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004162/0.38, allocations: 0.8155 MB / 0.5412 GB, free: 11.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.38, allocations: 6.719 kB / 0.5412 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.38, allocations: 5.75 kB / 0.5412 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003572/0.3836, allocations: 408.2 kB / 0.5416 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.3839, allocations: 82.22 kB / 0.5416 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006725/0.3906, allocations: 3.783 MB / 0.5453 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.3911, allocations: 17.45 kB / 0.5453 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/0.3911, allocations: 22.62 kB / 0.5454 GB, free: 8.738 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.0002708/0.3914, allocations: 169.5 kB / 0.5455 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.682e-05/0.3915, allocations: 42.27 kB / 0.5456 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005042/0.3965, allocations: 0.8349 MB / 0.5464 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.3965, allocations: 4.703 kB / 0.5464 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3965, allocations: 1.25 kB / 0.5464 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.3965, allocations: 2.719 kB / 0.5464 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009453/0.3975, allocations: 0.6025 MB / 0.547 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3975, allocations: 2.812 kB / 0.547 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.3977, allocations: 52.59 kB / 0.547 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004677/0.4023, allocations: 483.3 kB / 0.5475 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.4024, allocations: 18.88 kB / 0.5475 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007316/0.4097, allocations: 4.983 MB / 0.5524 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.4097, allocations: 7.312 kB / 0.5524 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005166/0.4149, allocations: 1.122 MB / 0.5535 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.415, allocations: 42.53 kB / 0.5535 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/0.4151, allocations: 9.188 kB / 0.5535 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.4154, allocations: 8.719 kB / 0.5535 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.4155, allocations: 51.39 kB / 0.5536 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.4156, allocations: 12.22 kB / 0.5536 GB, free: 2.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.4158, allocations: 206 kB / 0.5538 GB, free: 1.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4158, allocations: 4 kB / 0.5538 GB, free: 1.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009984/0.4168, allocations: 240.2 kB / 0.554 GB, free: 1.906 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.006051/0.4229, allocations: 1.855 MB / 0.5558 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.4243, allocations: 0.6564 MB / 0.5565 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4243, allocations: 5.156 kB / 0.5565 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.4253, allocations: 0.5995 MB / 0.5571 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/0.426, allocations: 111.4 kB / 0.5572 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/0.4381, allocations: 4.613 MB / 0.5617 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.4386, allocations: 0.8285 MB / 0.5625 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002727/0.4389, allocations: 63.12 kB / 0.5625 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.4391, allocations: 178.1 kB / 0.5627 GB, free: 11.29 MB / 414.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4391, allocations: 0 / 0.5627 GB, free: 11.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05346/0.4926, allocations: 15.98 MB / 0.5783 GB, free: 11.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.5, allocations: 10.58 kB / 0.5783 GB, free: 11.55 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 sys.exit(0), Time elapsed: 16.16471316100069] Failed to read output from testmodel.py, exit status != 0: 13.623756706001586 13.638155252 13.286788406 Calling exit ...