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.001253/0.001253, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001364/0.001364, allocations: 213.5 kB / 22.26 MB, free: 5.117 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.386/1.386, allocations: 230.6 MB / 256 MB, free: 8.035 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.1366/0.1366, allocations: 23.86 MB / 336.3 MB, free: 11.23 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.001921/0.001921, allocations: 67.89 kB / 471.1 MB, free: 7.742 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3209, allocations: 59.86 MB / 0.5186 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003991/0.3249, allocations: 3.514 MB / 0.522 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004953/0.3298, allocations: 4.795 MB / 0.5267 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004668/0.3303, allocations: 8.531 kB / 0.5267 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.3307, allocations: 110.9 kB / 0.5268 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.3319, allocations: 460.3 kB / 0.5272 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.3333, allocations: 0.5363 MB / 0.5278 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007012/0.334, allocations: 0.5805 MB / 0.5283 GB, free: 2.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.3344, allocations: 318.5 kB / 0.5286 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/0.3347, allocations: 291.6 kB / 0.5289 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004154/0.3351, allocations: 309.1 kB / 0.5292 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-05/0.3352, allocations: 52.94 kB / 0.5292 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.3365, allocations: 479 kB / 0.5297 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.3366, allocations: 123.8 kB / 0.5298 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.3368, allocations: 276.5 kB / 0.5301 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.3383, allocations: 1.077 MB / 0.5311 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3383, allocations: 0.7031 kB / 0.5311 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3383, allocations: 1.188 kB / 0.5311 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3383, allocations: 0 / 0.5311 GB, free: 1.527 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.001424/0.3398, allocations: 0.8042 MB / 0.5319 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.3398, allocations: 14.5 kB / 0.5319 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.3399, allocations: 84.3 kB / 0.532 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003711/0.3403, allocations: 94.31 kB / 0.5321 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005055/0.3408, allocations: 310.8 kB / 0.5324 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.3408, allocations: 35.5 kB / 0.5324 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-05/0.3409, allocations: 47.44 kB / 0.5325 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006778/0.3416, allocations: 457.1 kB / 0.5329 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3416, allocations: 2.094 kB / 0.5329 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/0.3416, allocations: 20.38 kB / 0.5329 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.3416, allocations: 10.53 kB / 0.5329 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007878/0.3424, allocations: 0.5087 MB / 0.5334 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.3448, allocations: 1.499 MB / 0.5349 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007169/0.3455, allocations: 338.4 kB / 0.5352 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.3457, allocations: 109.6 kB / 0.5353 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001941/0.3476, allocations: 0.9198 MB / 0.5362 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.3477, allocations: 32.25 kB / 0.5363 GB, free: 14.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.3477, allocations: 0 / 0.5363 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01486/0.3625, allocations: 2.113 MB / 0.5383 GB, free: 13.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.3626, allocations: 56.09 kB / 0.5384 GB, free: 13.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.3629, allocations: 299.3 kB / 0.5387 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.363, allocations: 35.08 kB / 0.5387 GB, free: 13.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.3632, allocations: 279.1 kB / 0.539 GB, free: 13.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.3633, allocations: 115 kB / 0.5391 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.3635, allocations: 83.88 kB / 0.5392 GB, free: 13.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3636, allocations: 342.2 kB / 0.5395 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.3638, allocations: 136.8 kB / 0.5396 GB, free: 12.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.3642, allocations: 264.7 kB / 0.5399 GB, free: 12.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005932/0.3648, allocations: 424.5 kB / 0.5403 GB, free: 12.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3648, allocations: 1.531 kB / 0.5403 GB, free: 12.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004148/0.3689, allocations: 0.8149 MB / 0.5411 GB, free: 12.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3689, allocations: 10.78 kB / 0.5411 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3689, allocations: 3.969 kB / 0.5411 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003658/0.3726, allocations: 412.1 kB / 0.5415 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.3729, allocations: 82.25 kB / 0.5416 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006872/0.3798, allocations: 3.777 MB / 0.5452 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/0.3803, allocations: 17.86 kB / 0.5453 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.3803, allocations: 22.81 kB / 0.5453 GB, free: 8.805 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.0003198/0.3806, allocations: 174.6 kB / 0.5454 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.3807, allocations: 41.05 kB / 0.5455 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005131/0.3859, allocations: 0.8256 MB / 0.5463 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3859, allocations: 4.188 kB / 0.5463 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.3859, allocations: 2.344 kB / 0.5463 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3859, allocations: 1.359 kB / 0.5463 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008709/0.3868, allocations: 0.6063 MB / 0.5469 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3868, allocations: 2.25 kB / 0.5469 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.387, allocations: 55.84 kB / 0.5469 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004479/0.3914, allocations: 488.7 kB / 0.5474 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.3915, allocations: 18.02 kB / 0.5474 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007158/0.3986, allocations: 4.996 MB / 0.5523 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3987, allocations: 2.281 kB / 0.5523 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005403/0.4041, allocations: 1.122 MB / 0.5534 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.4042, allocations: 39.75 kB / 0.5534 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.4043, allocations: 8.656 kB / 0.5535 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.4045, allocations: 12.62 kB / 0.5535 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.4047, allocations: 47.3 kB / 0.5535 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.4047, allocations: 16.36 kB / 0.5535 GB, free: 2.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002257/0.4049, allocations: 206.6 kB / 0.5537 GB, free: 2.031 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4049, allocations: 0 / 0.5537 GB, free: 2.031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009009/0.4058, allocations: 240.1 kB / 0.554 GB, free: 1.98 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.006239/0.4121, allocations: 1.851 MB / 0.5558 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.4134, allocations: 0.6617 MB / 0.5564 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4134, allocations: 0 / 0.5564 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009587/0.4144, allocations: 0.6075 MB / 0.557 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007126/0.4151, allocations: 100.2 kB / 0.5571 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.4272, allocations: 4.604 MB / 0.5616 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.4277, allocations: 0.8296 MB / 0.5624 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003345/0.428, allocations: 77 kB / 0.5625 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.4283, allocations: 175 kB / 0.5626 GB, free: 11.37 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4283, allocations: 0 / 0.5626 GB, free: 11.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05582/0.4842, allocations: 15.98 MB / 0.5782 GB, free: 11.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.32, allocations: 7.938 kB / 0.5783 GB, free: 11.64 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 sys.exit(0), Time elapsed: 15.988053462002426] Failed to read output from testmodel.py, exit status != 0: 13.45476939999935 13.47023972 13.128849782 Calling exit ...