Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.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.001005/0.001005, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002473, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008878/0.0008878, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001291/0.002179, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.062/1.062, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07936/1.141, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.08275/0.08275, allocations: 17.45 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009709/0.09246, allocations: 6.971 MB / 268.4 MB, free: 6.395 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.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 269.6 MB, free: 5.137 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.017e-06/1.057e-05, allocations: 2.312 kB / 269.6 MB, free: 5.133 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Boundaries.mo:1361:7-1361:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Boundaries.mo:1361:7-1361:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfWater): time 0.1334/0.1334, allocations: 5.79 MB / 275.4 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.1503, allocations: 9.204 MB / 284.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008277/0.1511, allocations: 30.94 kB / 284.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002351/0.1535, allocations: 0.7968 MB / 285.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.1551, allocations: 0.7271 MB / 286.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.1571, allocations: 0.9434 MB / 287.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.1584, allocations: 1.25 MB / 288.4 MB, free: 11.83 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.1587, allocations: 179.9 kB / 288.6 MB, free: 11.72 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006654/0.1594, allocations: 0.6433 MB / 289.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006105/0.16, allocations: 452.3 kB / 289.6 MB, free: 11.33 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.828e-05/0.1601, allocations: 79.34 kB / 289.7 MB, free: 11.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.1621, allocations: 1.211 MB / 290.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.1623, allocations: 239.2 kB / 291.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.1626, allocations: 296.3 kB / 291.5 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.1646, allocations: 1.839 MB / 293.3 MB, free: 10.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.631e-05/0.1646, allocations: 0 / 293.3 MB, free: 10.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1646, allocations: 0 / 293.3 MB, free: 10.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.1646, allocations: 3.094 kB / 293.3 MB, free: 10.02 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001709/0.1663, allocations: 1.639 MB / 294.9 MB, free: 8.941 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.1663, allocations: 13.09 kB / 294.9 MB, free: 8.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005797/0.1669, allocations: 0.4995 MB / 295.4 MB, free: 8.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006789/0.1676, allocations: 0.5083 MB / 296 MB, free: 8.141 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.1677, allocations: 129.9 kB / 296.1 MB, free: 8.004 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-05/0.1678, allocations: 84.38 kB / 296.2 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.1689, allocations: 0.9855 MB / 297.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.1689, allocations: 192 / 297.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.1689, allocations: 36.12 kB / 297.2 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/0.1691, allocations: 134 kB / 297.3 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.1702, allocations: 1.312 MB / 298.6 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/0.1735, allocations: 3.238 MB / 301.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.1739, allocations: 232.4 kB / 302.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.174, allocations: 112.4 kB / 302.2 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001901/0.1759, allocations: 1.811 MB / 304 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.1759, allocations: 34.84 kB / 304 MB, free: 15.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.1759, allocations: 0 / 304 MB, free: 15.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.006968/0.1829, allocations: 2.827 MB / 306.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.1829, allocations: 59.41 kB / 306.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.1833, allocations: 0.5932 MB / 307.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.1833, allocations: 37.7 kB / 307.6 MB, free: 12.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.1835, allocations: 0.5471 MB / 308.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.699e-05/0.1836, allocations: 174.5 kB / 308.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.1838, allocations: 186.4 kB / 308.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1839, allocations: 398.6 kB / 308.9 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.1841, allocations: 122.8 kB / 309 MB, free: 10.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.1844, allocations: 496.3 kB / 309.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005277/0.1849, allocations: 0.7128 MB / 310.2 MB, free: 9.348 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.1849, allocations: 4 kB / 310.2 MB, free: 9.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001806/0.1867, allocations: 0.9651 MB / 311.1 MB, free: 8.359 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1867, allocations: 12 kB / 311.2 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.1867, allocations: 12 kB / 311.2 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002609/0.1893, allocations: 0.8026 MB / 312 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008597/0.1902, allocations: 411.9 kB / 312.4 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003347/0.1935, allocations: 3.623 MB / 316 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.1938, allocations: 40 kB / 316 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/0.1939, allocations: 87.97 kB / 316.1 MB, free: 3.168 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 2 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * 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,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002036/0.1941, allocations: 180.3 kB / 316.3 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.1943, allocations: 67.92 kB / 316.4 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/0.1962, allocations: 0.961 MB / 317.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1962, allocations: 4 kB / 317.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1962, allocations: 0 / 317.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1962, allocations: 0 / 317.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/0.1968, allocations: 0.7105 MB / 318 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1968, allocations: 0 / 318 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007119/0.1975, allocations: 299.8 kB / 318.3 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.1976, allocations: 71.38 kB / 318.4 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002471/0.2001, allocations: 0.7125 MB / 319.1 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/0.2001, allocations: 19.98 kB / 319.1 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/0.2029, allocations: 3.386 MB / 322.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2029, allocations: 8 kB / 322.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.2046, allocations: 0.9371 MB / 323.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.566e-05/0.2047, allocations: 12 kB / 323.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.2049, allocations: 24.02 kB / 323.5 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.205, allocations: 60.28 kB / 323.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.205, allocations: 39.98 kB / 323.6 MB, free: 11.35 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002652/0.2053, allocations: 264.5 kB / 323.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2053, allocations: 0 / 323.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007329/0.206, allocations: 307.7 kB / 324.2 MB, free: 10.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (solution.temperature,liquidWater.logm) * 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 (47): * Single equations (assignments): 44 * 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,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004055/0.2064, allocations: 331.8 kB / 324.5 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009441/0.2073, allocations: 0.8137 MB / 325.3 MB, free: 9.617 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-05/0.2074, allocations: 12.5 kB / 325.3 MB, free: 9.605 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006352/0.208, allocations: 0.5059 MB / 325.8 MB, free: 9.074 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.2085, allocations: 274.7 kB / 326.1 MB, free: 8.828 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006504/0.215, allocations: 2.025 MB / 328.1 MB, free: 6.742 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.2152, allocations: 239.5 kB / 328.3 MB, free: 6.488 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005637/0.2158, allocations: 286.5 kB / 328.6 MB, free: 6.203 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.2162, allocations: 265.1 kB / 328.9 MB, free: 5.941 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2162, allocations: 0 / 328.9 MB, free: 5.941 MB / 314.7 MB Notification: Performance of Templates: time 0.02528/0.2414, allocations: 22.87 MB / 351.7 MB, free: 15.26 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Examples.HeatingOfWater.sim & ./Chemical_master_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3580108070746064]