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.0006767/0.0006767, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009571/0.001634, allocations: 440 kB / 10.41 MB, free: 280 kB / 10.45 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.0007412/0.0007412, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009441/0.001685, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 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.9738/0.9738, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1004/1.074, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.1022/0.1022, allocations: 17.43 MB / 261.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01482/0.117, allocations: 6.973 MB / 268.6 MB, free: 6.297 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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: translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater") translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 269.8 MB, free: 5.008 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.348e-05, allocations: 2.312 kB / 269.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004288/0.004321, allocations: 3.533 MB / 273.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1546/0.1589, allocations: 4.769 MB / 278.2 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005156/0.1595, allocations: 9.75 kB / 278.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005082/0.16, allocations: 111.5 kB / 278.3 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.1614, allocations: 464.5 kB / 278.7 MB, free: 1.164 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.1639, allocations: 0.5506 MB / 279.3 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.1651, allocations: 0.5991 MB / 279.9 MB, free: 0.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.1656, allocations: 322.1 kB / 280.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006057/0.1662, allocations: 442.6 kB / 280.6 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.1668, allocations: 247.3 kB / 280.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.1669, allocations: 56.5 kB / 280.9 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.1683, allocations: 477.3 kB / 281.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1684, allocations: 92.81 kB / 281.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.1686, allocations: 162.2 kB / 281.6 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.1701, allocations: 0.8407 MB / 282.5 MB, free: 276 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.636e-05/0.1701, allocations: 0 / 282.5 MB, free: 276 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1701, allocations: 0 / 282.5 MB, free: 276 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.165e-05/0.1701, allocations: 3.938 kB / 282.5 MB, free: 272 kB / 266.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.001567/0.1717, allocations: 0.9317 MB / 283.4 MB, free: 15.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1717, allocations: 11.23 kB / 283.4 MB, free: 15.74 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004373/0.1722, allocations: 216.2 kB / 283.6 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.1726, allocations: 263.7 kB / 283.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.1726, allocations: 37.62 kB / 283.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/0.1727, allocations: 46.62 kB / 284 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004529/0.1732, allocations: 321.8 kB / 284.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1732, allocations: 192 / 284.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.1732, allocations: 24.92 kB / 284.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.1732, allocations: 15.12 kB / 284.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/0.1736, allocations: 257.9 kB / 284.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.1751, allocations: 0.9484 MB / 285.5 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.1756, allocations: 305.5 kB / 285.8 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.218e-05/0.1757, allocations: 55.03 kB / 285.9 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/0.1769, allocations: 0.7424 MB / 286.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1769, allocations: 31.94 kB / 286.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 2.264e-06/0.1769, allocations: 4 kB / 286.7 MB, free: 14.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.006436/0.1834, allocations: 2.067 MB / 288.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.1834, allocations: 58.02 kB / 288.8 MB, free: 13.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.1836, allocations: 268.4 kB / 289 MB, free: 13.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.1837, allocations: 29.7 kB / 289.1 MB, free: 13.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.1838, allocations: 265.7 kB / 289.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.737e-05/0.1839, allocations: 110.8 kB / 289.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.184, allocations: 85.09 kB / 289.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1841, allocations: 344 kB / 289.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.557e-05/0.1842, allocations: 76.42 kB / 289.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.1844, allocations: 193.3 kB / 290.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.1846, allocations: 309.4 kB / 290.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1846, allocations: 0 / 290.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001644/0.1863, allocations: 0.5924 MB / 291 MB, free: 12.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.1863, allocations: 15.98 kB / 291 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1863, allocations: 3.312 kB / 291 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/0.1886, allocations: 0.6033 MB / 291.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.1888, allocations: 99.05 kB / 291.7 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/0.1921, allocations: 2.936 MB / 294.7 MB, free: 9.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.1924, allocations: 16 kB / 294.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.1924, allocations: 16 kB / 294.7 MB, free: 9.09 MB / 282.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.0001818/0.1926, allocations: 144.5 kB / 294.8 MB, free: 8.938 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.1927, allocations: 23.98 kB / 294.9 MB, free: 8.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.1944, allocations: 0.6342 MB / 295.5 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1944, allocations: 7.938 kB / 295.5 MB, free: 8.262 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1944, allocations: 4.812 kB / 295.5 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1944, allocations: 0 / 295.5 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.1949, allocations: 407.6 kB / 295.9 MB, free: 7.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1949, allocations: 0 / 295.9 MB, free: 7.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.1951, allocations: 67.91 kB / 296 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.1951, allocations: 31.77 kB / 296 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002648/0.1977, allocations: 0.7491 MB / 296.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.1978, allocations: 13.31 kB / 296.8 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003108/0.2009, allocations: 4.049 MB / 300.8 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2009, allocations: 4 kB / 300.8 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.2027, allocations: 0.8306 MB / 301.7 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.2028, allocations: 11.98 kB / 301.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.2029, allocations: 8 kB / 301.7 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.203, allocations: 51.8 kB / 301.7 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.2031, allocations: 8 kB / 301.7 MB, free: 1.668 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.2032, allocations: 92.62 kB / 301.8 MB, free: 1.574 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2032, allocations: 0 / 301.8 MB, free: 1.574 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007539/0.2039, allocations: 243.5 kB / 302.1 MB, free: 1.336 MB / 282.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.0004277/0.2043, allocations: 297 kB / 302.3 MB, free: 1.039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006542/0.205, allocations: 0.552 MB / 302.9 MB, free: 472 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/0.205, allocations: 8 kB / 302.9 MB, free: 464 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.2055, allocations: 0.5945 MB / 303.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.2061, allocations: 0.6933 MB / 304.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00471/0.2108, allocations: 0.9402 MB / 305.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.599e-05/0.2109, allocations: 117.8 kB / 305.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002105/0.2111, allocations: 66.67 kB / 305.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.2113, allocations: 157.2 kB / 305.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2113, allocations: 3.938 kB / 305.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of Templates: time 0.01609/0.2274, allocations: 13.37 MB / 318.8 MB, free: 416 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1081251883879304]