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.0007319/0.0007319, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007589/0.0007589, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8563/0.8563, allocations: 177.1 MB / 202.8 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 179] 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.08043/0.08043, allocations: 17.45 MB / 276.6 MB, free: 11.66 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 411.6 MB, free: 284 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.619e-06/1.072e-05, allocations: 2.281 kB / 411.6 MB, free: 280 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.002832/0.002843, allocations: 3.205 MB / 414.8 MB, free: 13.04 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003372/0.006215, allocations: 4.233 MB / 419 MB, free: 8.793 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.006417, allocations: 11.88 kB / 419 MB, free: 8.781 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.006728, allocations: 111.1 kB / 419.2 MB, free: 8.672 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000729/0.007457, allocations: 468.5 kB / 419.6 MB, free: 8.211 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.008232, allocations: 0.5436 MB / 420.2 MB, free: 7.664 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.008722, allocations: 0.6075 MB / 420.8 MB, free: 7.051 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.008991, allocations: 304.8 kB / 421.1 MB, free: 6.75 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.009264, allocations: 407.2 kB / 421.5 MB, free: 6.352 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.009483, allocations: 239.4 kB / 421.7 MB, free: 6.117 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/0.00953, allocations: 55.98 kB / 421.8 MB, free: 6.062 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005418/0.01007, allocations: 451.1 kB / 422.2 MB, free: 5.621 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.556e-05/0.01016, allocations: 119.6 kB / 422.3 MB, free: 5.504 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.01028, allocations: 203.5 kB / 422.5 MB, free: 5.305 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008471/0.01113, allocations: 1.121 MB / 423.6 MB, free: 4.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.01113, allocations: 7.938 kB / 423.6 MB, free: 4.172 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01113, allocations: 4 kB / 423.6 MB, free: 4.168 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.01114, allocations: 0 / 423.6 MB, free: 4.168 MB / 394.7 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.0008596/0.012, allocations: 0.7929 MB / 424.4 MB, free: 3.344 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.01203, allocations: 8.031 kB / 424.4 MB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.448e-05/0.01209, allocations: 86.7 kB / 424.5 MB, free: 3.242 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.0123, allocations: 92.53 kB / 424.6 MB, free: 3.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.01264, allocations: 312.3 kB / 424.9 MB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.01266, allocations: 33.38 kB / 425 MB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.01271, allocations: 48.38 kB / 425 MB, free: 2.742 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/0.01316, allocations: 458.9 kB / 425.4 MB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.01318, allocations: 4.125 kB / 425.5 MB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.01321, allocations: 20.12 kB / 425.5 MB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.01322, allocations: 12 kB / 425.5 MB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005026/0.01372, allocations: 0.4997 MB / 426 MB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.01509, allocations: 1.205 MB / 427.2 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.01553, allocations: 332.6 kB / 427.5 MB, free: 168 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.01564, allocations: 108.8 kB / 427.6 MB, free: 56 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.0167, allocations: 0.8781 MB / 428.5 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.01672, allocations: 42.44 kB / 428.5 MB, free: 15.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.01672, allocations: 0 / 428.5 MB, free: 15.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.00611/0.02283, allocations: 2.111 MB / 430.7 MB, free: 12.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.02285, allocations: 59.34 kB / 430.7 MB, free: 12.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.02306, allocations: 300.4 kB / 431 MB, free: 12.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.02309, allocations: 29.7 kB / 431 MB, free: 12.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.0232, allocations: 272.2 kB / 431.3 MB, free: 12.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.347e-05/0.02326, allocations: 126.9 kB / 431.4 MB, free: 12.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/0.02335, allocations: 78.19 kB / 431.5 MB, free: 12.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.672e-05/0.02343, allocations: 350.7 kB / 431.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.02359, allocations: 132.9 kB / 432 MB, free: 11.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.02379, allocations: 256.7 kB / 432.2 MB, free: 11.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.02417, allocations: 432.9 kB / 432.6 MB, free: 10.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.02417, allocations: 0 / 432.6 MB, free: 10.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001771/0.02595, allocations: 0.8157 MB / 433.5 MB, free: 9.961 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.02596, allocations: 8 kB / 433.5 MB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.02596, allocations: 4.531 kB / 433.5 MB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.0274, allocations: 421.1 kB / 433.9 MB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.02754, allocations: 79.91 kB / 434 MB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/0.03095, allocations: 3.741 MB / 437.7 MB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.03111, allocations: 12 kB / 437.7 MB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.03114, allocations: 28.03 kB / 437.7 MB, free: 5.445 MB / 410.7 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.0001314/0.03127, allocations: 169.7 kB / 437.9 MB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.03131, allocations: 35.77 kB / 437.9 MB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.0334, allocations: 0.8318 MB / 438.8 MB, free: 4.387 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.03341, allocations: 4 kB / 438.8 MB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.03341, allocations: 11.92 kB / 438.8 MB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.03342, allocations: 0 / 438.8 MB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.03386, allocations: 0.5406 MB / 439.3 MB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.03386, allocations: 0 / 439.3 MB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.335e-05/0.03395, allocations: 47.92 kB / 439.4 MB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001828/0.03578, allocations: 498 kB / 439.9 MB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.0358, allocations: 12 kB / 439.9 MB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1432/0.179, allocations: 4.932 MB / 444.8 MB, free: 68.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.179, allocations: 6.688 kB / 444.8 MB, free: 68.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/0.1813, allocations: 1.116 MB / 445.9 MB, free: 68.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.966e-05/0.1814, allocations: 33.59 kB / 446 MB, free: 68.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.1814, allocations: 11.28 kB / 446 MB, free: 68.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.1816, allocations: 9.656 kB / 446 MB, free: 68.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/0.1817, allocations: 48.14 kB / 446 MB, free: 68.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.1817, allocations: 21.72 kB / 446 MB, free: 68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001417/0.1818, allocations: 207.2 kB / 446.3 MB, free: 67.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1818, allocations: 0 / 446.3 MB, free: 67.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000584/0.1824, allocations: 236.1 kB / 446.5 MB, free: 67.88 MB / 410.7 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.00257/0.185, allocations: 1.838 MB / 448.3 MB, free: 66.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007318/0.1857, allocations: 0.6669 MB / 449 MB, free: 66.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1857, allocations: 0 / 449 MB, free: 66.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.1861, allocations: 0.6047 MB / 449.6 MB, free: 66.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.1865, allocations: 110.5 kB / 449.7 MB, free: 66.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005291/0.1918, allocations: 4.524 MB / 454.2 MB, free: 63.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.192, allocations: 223.6 kB / 454.4 MB, free: 63.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000163/0.1921, allocations: 78.02 kB / 454.5 MB, free: 63.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.1923, allocations: 177.3 kB / 454.7 MB, free: 63.24 MB / 410.7 MB Notification: Performance of SimCode: time 9.31e-07/0.1923, allocations: 0 / 454.7 MB, free: 63.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.2222, allocations: 16.81 MB / 471.5 MB, free: 60.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.619/7.842, allocations: 10.47 kB / 471.5 MB, free: 60.72 MB / 410.7 MB " [Timeout remaining time 652] (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: 9.628354374319315] Failed to read output from testmodel.py, exit status != 0: 7.9366493709385395 7.945002471 7.93225183 Calling exit ...