Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001531/0.001531, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.001741/0.001741, allocations: 220.3 kB / 22.25 MB, free: 5.098 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1545/0.1545, allocations: 23.88 MB / 336.3 MB, free: 11 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Obsolete_Examples_HeatingOfWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfWater,fileNamePrefix="Chemical_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.001953/0.001953, allocations: 63.89 kB / 471.1 MB, free: 7.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3802, allocations: 59.86 MB / 0.5185 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004931/0.3852, allocations: 3.218 MB / 0.5217 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005659/0.3908, allocations: 4.237 MB / 0.5258 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005461/0.3914, allocations: 8.188 kB / 0.5258 GB, free: 4.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005207/0.3919, allocations: 104 kB / 0.5259 GB, free: 4.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.3932, allocations: 452 kB / 0.5263 GB, free: 3.973 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.3948, allocations: 0.532 MB / 0.5269 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008429/0.3956, allocations: 0.5814 MB / 0.5274 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005121/0.3961, allocations: 310.5 kB / 0.5277 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003654/0.3965, allocations: 290 kB / 0.528 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004742/0.3969, allocations: 312.9 kB / 0.5283 GB, free: 2.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.129e-05/0.397, allocations: 51.69 kB / 0.5283 GB, free: 2.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.3983, allocations: 466.2 kB / 0.5288 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.3984, allocations: 120.4 kB / 0.5289 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.3987, allocations: 236.6 kB / 0.5291 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.4006, allocations: 1.073 MB / 0.5302 GB, free: 2.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.4006, allocations: 0.5312 kB / 0.5302 GB, free: 2.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.4006, allocations: 0 / 0.5302 GB, free: 2.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.4006, allocations: 0.5 kB / 0.5302 GB, free: 2.207 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.001804/0.4024, allocations: 0.7954 MB / 0.531 GB, free: 1.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.4025, allocations: 9.969 kB / 0.531 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.4026, allocations: 101 kB / 0.5311 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004048/0.403, allocations: 93.45 kB / 0.5312 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000654/0.4037, allocations: 310.9 kB / 0.5314 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.4037, allocations: 36.25 kB / 0.5315 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/0.4038, allocations: 46.78 kB / 0.5315 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007993/0.4046, allocations: 457.8 kB / 0.532 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.4046, allocations: 5.531 kB / 0.532 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.4047, allocations: 18.88 kB / 0.532 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.4047, allocations: 10.97 kB / 0.532 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009289/0.4056, allocations: 0.5002 MB / 0.5325 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.4079, allocations: 1.215 MB / 0.5337 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/0.4086, allocations: 332.6 kB / 0.534 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.4088, allocations: 106.9 kB / 0.5341 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002112/0.4109, allocations: 0.8809 MB / 0.535 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.411, allocations: 36.75 kB / 0.535 GB, free: 15.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.074e-06/0.411, allocations: 0 / 0.535 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01298/0.4239, allocations: 2.103 MB / 0.537 GB, free: 14.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.424, allocations: 59.69 kB / 0.5371 GB, free: 14.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/0.4244, allocations: 309.9 kB / 0.5374 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/0.4245, allocations: 30.98 kB / 0.5374 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.4247, allocations: 278 kB / 0.5377 GB, free: 14.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.4248, allocations: 115.8 kB / 0.5378 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.425, allocations: 83.7 kB / 0.5379 GB, free: 14.15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.4252, allocations: 345.5 kB / 0.5382 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.4254, allocations: 133.3 kB / 0.5383 GB, free: 13.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.4258, allocations: 263.5 kB / 0.5386 GB, free: 13.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006508/0.4264, allocations: 432.2 kB / 0.539 GB, free: 13.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4264, allocations: 1.719 kB / 0.539 GB, free: 13.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003706/0.4301, allocations: 0.8158 MB / 0.5398 GB, free: 12.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4302, allocations: 11.19 kB / 0.5398 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4302, allocations: 4.344 kB / 0.5398 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003155/0.4333, allocations: 413.6 kB / 0.5402 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.4336, allocations: 78 kB / 0.5403 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006503/0.4401, allocations: 3.74 MB / 0.5439 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.4406, allocations: 16.47 kB / 0.5439 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/0.4406, allocations: 18.78 kB / 0.544 GB, free: 9.766 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.0003041/0.4409, allocations: 175.9 kB / 0.5441 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.441, allocations: 36.19 kB / 0.5442 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004379/0.4454, allocations: 0.8321 MB / 0.545 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4454, allocations: 3.438 kB / 0.545 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4454, allocations: 4.969 kB / 0.545 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.4454, allocations: 2.594 kB / 0.545 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009743/0.4464, allocations: 0.5439 MB / 0.5455 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.4464, allocations: 6.984 kB / 0.5455 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.4466, allocations: 53.02 kB / 0.5456 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004145/0.4507, allocations: 492.9 kB / 0.5461 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.253e-05/0.4508, allocations: 14.97 kB / 0.5461 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007767/0.4586, allocations: 4.943 MB / 0.5509 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.4586, allocations: 2.125 kB / 0.5509 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004848/0.4634, allocations: 1.118 MB / 0.552 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.4636, allocations: 43.58 kB / 0.552 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.4637, allocations: 7.812 kB / 0.552 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.464, allocations: 9.469 kB / 0.552 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.4641, allocations: 52.14 kB / 0.5521 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.4642, allocations: 16.48 kB / 0.5521 GB, free: 3.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002646/0.4644, allocations: 202.3 kB / 0.5523 GB, free: 3.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4644, allocations: 5.188 kB / 0.5523 GB, free: 3.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001187/0.4656, allocations: 239.5 kB / 0.5525 GB, free: 3.191 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.005815/0.4714, allocations: 1.833 MB / 0.5543 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.473, allocations: 0.6654 MB / 0.555 GB, free: 1.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.473, allocations: 4 kB / 0.555 GB, free: 1.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009997/0.474, allocations: 0.6115 MB / 0.5556 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007863/0.4748, allocations: 107.8 kB / 0.5557 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.487, allocations: 4.598 MB / 0.5602 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.4873, allocations: 230.5 kB / 0.5604 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003417/0.4877, allocations: 75.2 kB / 0.5605 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.488, allocations: 171.4 kB / 0.5606 GB, free: 13.12 MB / 414.1 MB Notification: Performance of SimCode: time 1.723e-06/0.488, allocations: 0 / 0.5606 GB, free: 13.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05882/0.5468, allocations: 16.81 MB / 0.577 GB, free: 12.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.3, allocations: 2.188 kB / 0.577 GB, free: 12.53 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfWater.sim & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_HeatingOfWater.fmu > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.112857589003397] Failed to read output from testmodel.py, exit status != 0: 13.424494842009153 13.438904729999999 13.035246133 Calling exit ...