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.001354/0.001354, allocations: 112.7 kB / 16.45 MB, free: 6.488 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.001504/0.001504, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.517/1.517, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.1664/0.1664, allocations: 23.88 MB / 332.7 MB, free: 12.32 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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.002264/0.002264, allocations: 59.91 kB / 466 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4112, allocations: 59.83 MB / 0.5135 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004705/0.4159, allocations: 3.477 MB / 0.5169 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005535/0.4214, allocations: 4.784 MB / 0.5216 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005495/0.422, allocations: 16.31 kB / 0.5216 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.4225, allocations: 111.1 kB / 0.5217 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.4237, allocations: 461.9 kB / 0.5222 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.4252, allocations: 0.5233 MB / 0.5227 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008283/0.4261, allocations: 0.5779 MB / 0.5232 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004183/0.4265, allocations: 309.1 kB / 0.5235 GB, free: 2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.4268, allocations: 297.1 kB / 0.5238 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.4272, allocations: 309.4 kB / 0.5241 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.638e-05/0.4273, allocations: 56.19 kB / 0.5242 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.4289, allocations: 478.1 kB / 0.5246 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.4291, allocations: 120.2 kB / 0.5247 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.4293, allocations: 280.5 kB / 0.525 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.4313, allocations: 1.077 MB / 0.526 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4313, allocations: 0 / 0.526 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4313, allocations: 1.859 kB / 0.526 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.4313, allocations: 0 / 0.526 GB, free: 0.9297 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.001568/0.4328, allocations: 0.873 MB / 0.5269 GB, free: 288 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.4329, allocations: 10.14 kB / 0.5269 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.623e-05/0.433, allocations: 88.31 kB / 0.527 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003916/0.4334, allocations: 93.8 kB / 0.5271 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006382/0.434, allocations: 369.8 kB / 0.5274 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.4341, allocations: 32.81 kB / 0.5275 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.554e-05/0.4342, allocations: 51.61 kB / 0.5275 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008812/0.435, allocations: 461.7 kB / 0.528 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.4351, allocations: 7.984 kB / 0.528 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.4351, allocations: 16.41 kB / 0.528 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.885e-05/0.4351, allocations: 10.75 kB / 0.528 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.4361, allocations: 0.509 MB / 0.5285 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/0.4392, allocations: 1.541 MB / 0.53 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008302/0.44, allocations: 337 kB / 0.5303 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.4402, allocations: 109.3 kB / 0.5304 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002516/0.4428, allocations: 1.57 MB / 0.532 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.4428, allocations: 37.23 kB / 0.532 GB, free: 12.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.4428, allocations: 0 / 0.532 GB, free: 12.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01479/0.4576, allocations: 2.334 MB / 0.5343 GB, free: 11.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.4577, allocations: 55.67 kB / 0.5343 GB, free: 11.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005043/0.4582, allocations: 304.5 kB / 0.5346 GB, free: 11.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.346e-05/0.4582, allocations: 31.69 kB / 0.5346 GB, free: 11.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.4585, allocations: 270.3 kB / 0.5349 GB, free: 11.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.4587, allocations: 118.7 kB / 0.535 GB, free: 11.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.4588, allocations: 83.94 kB / 0.5351 GB, free: 11.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002526/0.4591, allocations: 345.6 kB / 0.5354 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.4594, allocations: 132.8 kB / 0.5355 GB, free: 10.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004085/0.4598, allocations: 265.4 kB / 0.5358 GB, free: 10.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008321/0.4606, allocations: 428.8 kB / 0.5362 GB, free: 10.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4606, allocations: 2.219 kB / 0.5362 GB, free: 10.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004266/0.4649, allocations: 0.8158 MB / 0.537 GB, free: 10.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.465, allocations: 6.297 kB / 0.537 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.465, allocations: 9.5 kB / 0.537 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003795/0.4688, allocations: 411.9 kB / 0.5374 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.4692, allocations: 82.39 kB / 0.5375 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007538/0.4767, allocations: 3.976 MB / 0.5414 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/0.4772, allocations: 16.84 kB / 0.5414 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.567e-05/0.4773, allocations: 17.38 kB / 0.5414 GB, free: 6.684 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.0003632/0.4776, allocations: 170.6 kB / 0.5416 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.4778, allocations: 41.89 kB / 0.5416 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005097/0.4829, allocations: 0.8349 MB / 0.5424 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.4829, allocations: 11.33 kB / 0.5424 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4829, allocations: 2.344 kB / 0.5424 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.4829, allocations: 2.203 kB / 0.5424 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.4842, allocations: 0.6332 MB / 0.5431 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.4842, allocations: 3.188 kB / 0.5431 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.4844, allocations: 53.16 kB / 0.5431 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004612/0.489, allocations: 486.2 kB / 0.5436 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.4891, allocations: 16.28 kB / 0.5436 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009106/0.4982, allocations: 5.303 MB / 0.5488 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/0.4982, allocations: 10.48 kB / 0.5488 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005594/0.5038, allocations: 1.113 MB / 0.5499 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.504, allocations: 119.5 kB / 0.55 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.5041, allocations: 8.75 kB / 0.55 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.5045, allocations: 8.938 kB / 0.55 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.5046, allocations: 50.53 kB / 0.5501 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/0.5047, allocations: 11.97 kB / 0.5501 GB, free: 15.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003322/0.505, allocations: 206.5 kB / 0.5503 GB, free: 15.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.505, allocations: 0 / 0.5503 GB, free: 15.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001183/0.5062, allocations: 244.3 kB / 0.5505 GB, free: 15.57 MB / 414.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.006373/0.5126, allocations: 1.837 MB / 0.5523 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.5143, allocations: 0.6762 MB / 0.5529 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.5143, allocations: 0.9375 kB / 0.5529 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.5155, allocations: 0.5992 MB / 0.5535 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008409/0.5163, allocations: 111.1 kB / 0.5536 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/0.5302, allocations: 4.598 MB / 0.5581 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007633/0.531, allocations: 0.841 MB / 0.5589 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003583/0.5313, allocations: 61.94 kB / 0.559 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/0.5317, allocations: 174.9 kB / 0.5592 GB, free: 8.961 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5317, allocations: 0 / 0.5592 GB, free: 8.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07657/0.6083, allocations: 15.52 MB / 0.5743 GB, free: 11.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.2, allocations: 4.062 kB / 0.5743 GB, free: 11.13 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: 17.154536437010393] Failed to read output from testmodel.py, exit status != 0: 14.307782400166616 14.322933258 13.88827761 Calling exit ...