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.0008521/0.0008521, 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.0009224/0.0009224, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9246/0.9246, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.09932/0.09932, allocations: 17.37 MB / 276.6 MB, free: 11.85 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 411.4 MB, free: 440 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.671e-05, allocations: 3.969 kB / 411.4 MB, free: 436 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003197/0.003213, allocations: 3.2 MB / 414.6 MB, free: 13.2 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003327/0.00654, allocations: 4.241 MB / 418.9 MB, free: 8.941 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.0067, allocations: 7.938 kB / 418.9 MB, free: 8.934 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.006986, allocations: 107.1 kB / 419 MB, free: 8.828 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006171/0.007603, allocations: 468.5 kB / 419.5 MB, free: 8.367 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006439/0.008247, allocations: 0.5514 MB / 420 MB, free: 7.812 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000446/0.008693, allocations: 0.6036 MB / 420.6 MB, free: 7.203 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.00896, allocations: 296.9 kB / 420.9 MB, free: 6.91 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.009231, allocations: 419.2 kB / 421.3 MB, free: 6.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.00946, allocations: 235.4 kB / 421.5 MB, free: 6.27 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.009509, allocations: 52 kB / 421.6 MB, free: 6.219 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004916/0.01, allocations: 451.2 kB / 422 MB, free: 5.777 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.657e-05/0.01009, allocations: 123.6 kB / 422.2 MB, free: 5.656 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.01022, allocations: 199.6 kB / 422.3 MB, free: 5.461 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008509/0.01107, allocations: 1.121 MB / 423.5 MB, free: 4.336 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01107, allocations: 0 / 423.5 MB, free: 4.336 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01107, allocations: 3.938 kB / 423.5 MB, free: 4.332 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.01108, allocations: 4 kB / 423.5 MB, free: 4.328 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.0008534/0.01193, allocations: 0.7929 MB / 424.3 MB, free: 3.504 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.01196, allocations: 8.031 kB / 424.3 MB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.275e-05/0.01204, allocations: 94.64 kB / 424.4 MB, free: 3.395 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.01225, allocations: 100.3 kB / 424.5 MB, free: 3.297 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.01261, allocations: 308.3 kB / 424.8 MB, free: 2.969 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.01263, allocations: 33.38 kB / 424.8 MB, free: 2.938 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.01269, allocations: 52.36 kB / 424.9 MB, free: 2.887 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/0.01315, allocations: 451 kB / 425.3 MB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.01316, allocations: 4.188 kB / 425.3 MB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.01319, allocations: 24.12 kB / 425.3 MB, free: 2.414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.0132, allocations: 12 kB / 425.3 MB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005145/0.01371, allocations: 0.4958 MB / 425.8 MB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.01513, allocations: 1.202 MB / 427 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.01559, allocations: 338.6 kB / 427.4 MB, free: 320 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.0157, allocations: 108.8 kB / 427.5 MB, free: 208 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/0.01681, allocations: 0.8781 MB / 428.3 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.01683, allocations: 38.5 kB / 428.4 MB, free: 15.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.01683, allocations: 0 / 428.4 MB, free: 15.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.006397/0.02322, allocations: 2.114 MB / 430.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.02326, allocations: 55.41 kB / 430.5 MB, free: 13.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.02345, allocations: 304.4 kB / 430.8 MB, free: 12.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.02348, allocations: 29.7 kB / 430.9 MB, free: 12.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.02359, allocations: 276.2 kB / 431.1 MB, free: 12.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.316e-05/0.02365, allocations: 119 kB / 431.3 MB, free: 12.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-05/0.02374, allocations: 82.19 kB / 431.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.02395, allocations: 350.7 kB / 431.7 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.02411, allocations: 132.9 kB / 431.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.02432, allocations: 264.6 kB / 432.1 MB, free: 11.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.0247, allocations: 428.9 kB / 432.5 MB, free: 10.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.0247, allocations: 0 / 432.5 MB, free: 10.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0018/0.0265, allocations: 0.8119 MB / 433.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.02651, allocations: 8 kB / 433.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.02652, allocations: 4 kB / 433.3 MB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.028, allocations: 417.7 kB / 433.7 MB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.02813, allocations: 79.84 kB / 433.8 MB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003719/0.03185, allocations: 3.738 MB / 437.5 MB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.032, allocations: 20.03 kB / 437.6 MB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.03203, allocations: 16 kB / 437.6 MB, free: 5.609 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.0001415/0.03217, allocations: 173.7 kB / 437.7 MB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.03222, allocations: 35.77 kB / 437.8 MB, free: 5.395 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.03442, allocations: 0.8311 MB / 438.6 MB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.03443, allocations: 8 kB / 438.6 MB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.03443, allocations: 7.938 kB / 438.6 MB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.03444, allocations: 0 / 438.6 MB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.03493, allocations: 0.5367 MB / 439.2 MB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.03493, allocations: 256 / 439.2 MB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.655e-05/0.03503, allocations: 55.92 kB / 439.2 MB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/0.0369, allocations: 494.1 kB / 439.7 MB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.03692, allocations: 12 kB / 439.7 MB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1835/0.2204, allocations: 4.934 MB / 444.6 MB, free: 68.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2204, allocations: 6.688 kB / 444.7 MB, free: 68.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.2229, allocations: 1.122 MB / 445.8 MB, free: 68.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.223, allocations: 39.09 kB / 445.8 MB, free: 68.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.223, allocations: 7.219 kB / 445.8 MB, free: 68.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.2232, allocations: 10.47 kB / 445.8 MB, free: 68.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.2233, allocations: 52.11 kB / 445.9 MB, free: 68.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.2233, allocations: 20.58 kB / 445.9 MB, free: 68.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.2235, allocations: 196.2 kB / 446.1 MB, free: 68.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2235, allocations: 0 / 446.1 MB, free: 68.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007411/0.2242, allocations: 243.1 kB / 446.3 MB, free: 68.11 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.003331/0.2275, allocations: 1.831 MB / 448.2 MB, free: 67.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.2286, allocations: 0.6673 MB / 448.8 MB, free: 66.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.2286, allocations: 2.781 kB / 448.8 MB, free: 66.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005234/0.2291, allocations: 0.604 MB / 449.4 MB, free: 66.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.2297, allocations: 116.3 kB / 449.5 MB, free: 66.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006189/0.2359, allocations: 4.52 MB / 454.1 MB, free: 63.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.236, allocations: 223.7 kB / 454.3 MB, free: 63.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000205/0.2362, allocations: 75.02 kB / 454.4 MB, free: 63.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.2364, allocations: 181.6 kB / 454.5 MB, free: 63.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.2364, allocations: 0 / 454.5 MB, free: 63.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03793/0.2743, allocations: 16.81 MB / 471.3 MB, free: 60.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.502/8.776, allocations: 0 / 471.3 MB, free: 60.89 MB / 410.7 MB " [Timeout remaining time 651] (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: 10.791146669536829] Failed to read output from testmodel.py, exit status != 0: 8.871812785975635 8.883315793 8.869417735 Calling exit ...