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.0008769/0.0008769, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009377/0.001815, allocations: 440 kB / 10.41 MB, free: 284 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.0006757/0.0006757, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008489/0.001525, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.08/1.08, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09686/1.177, allocations: 53.68 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.1023/0.1023, allocations: 17.44 MB / 261.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01143/0.1137, allocations: 6.974 MB / 268.6 MB, free: 6.289 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 9.22e-07/9.22e-07, allocations: 0 / 269.8 MB, free: 5.008 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01e-05/1.102e-05, allocations: 2.312 kB / 269.8 MB, free: 5.004 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.1642/0.1642, allocations: 5.796 MB / 275.6 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02067/0.1849, allocations: 9.205 MB / 284.8 MB, free: 13.68 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.1861, allocations: 31.19 kB / 284.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.1886, allocations: 0.7965 MB / 285.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.1907, allocations: 0.723 MB / 286.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002614/0.1933, allocations: 0.9487 MB / 287.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001859/0.1952, allocations: 1.252 MB / 288.6 MB, free: 11.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.1955, allocations: 169 kB / 288.8 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008492/0.1963, allocations: 0.648 MB / 289.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007798/0.1971, allocations: 461.2 kB / 289.9 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.1972, allocations: 81 kB / 289.9 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003139/0.2004, allocations: 1.2 MB / 291.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002439/0.2006, allocations: 243.3 kB / 291.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004152/0.201, allocations: 298.2 kB / 291.7 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003042/0.2041, allocations: 1.83 MB / 293.5 MB, free: 9.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.669e-05/0.2041, allocations: 0 / 293.5 MB, free: 9.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2041, allocations: 4 kB / 293.5 MB, free: 9.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.941e-05/0.2041, allocations: 3.984 kB / 293.5 MB, free: 9.887 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.00196/0.2061, allocations: 1.634 MB / 295.1 MB, free: 8.812 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2061, allocations: 9.781 kB / 295.2 MB, free: 8.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000599/0.2067, allocations: 0.5032 MB / 295.7 MB, free: 8.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006387/0.2074, allocations: 0.5097 MB / 296.2 MB, free: 7.961 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.058e-05/0.2074, allocations: 130 kB / 296.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.2075, allocations: 88.36 kB / 296.4 MB, free: 7.738 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008378/0.2084, allocations: 0.9855 MB / 297.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.2084, allocations: 192 / 297.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.2084, allocations: 36.12 kB / 297.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.496e-05/0.2085, allocations: 126.1 kB / 297.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009746/0.2095, allocations: 1.316 MB / 298.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003377/0.2129, allocations: 3.234 MB / 302.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.2132, allocations: 237.4 kB / 302.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.2133, allocations: 105.5 kB / 302.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002071/0.2154, allocations: 1.806 MB / 304.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.2154, allocations: 37.34 kB / 304.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.263e-06/0.2154, allocations: 0 / 304.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=41): time 0.006971/0.2224, allocations: 2.692 MB / 306.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.2224, allocations: 55.41 kB / 307 MB, free: 12.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.2228, allocations: 0.6048 MB / 307.6 MB, free: 12.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.2229, allocations: 33.7 kB / 307.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.2231, allocations: 0.5547 MB / 308.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.52e-05/0.2232, allocations: 150.7 kB / 308.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.2234, allocations: 182.5 kB / 308.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2235, allocations: 394.5 kB / 308.9 MB, free: 11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.2236, allocations: 109.9 kB / 309 MB, free: 10.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.2239, allocations: 475.9 kB / 309.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005608/0.2245, allocations: 0.7322 MB / 310.2 MB, free: 9.348 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.2245, allocations: 4 kB / 310.2 MB, free: 9.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001825/0.2263, allocations: 0.9184 MB / 311.1 MB, free: 8.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.2263, allocations: 12 kB / 311.1 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.2264, allocations: 15.94 kB / 311.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002908/0.2293, allocations: 0.8101 MB / 312 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009134/0.2302, allocations: 391.4 kB / 312.3 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00366/0.2338, allocations: 3.624 MB / 316 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.2343, allocations: 32 kB / 316 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.704e-05/0.2344, allocations: 83.97 kB / 316.1 MB, free: 3.246 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 (88): * Single equations (assignments): 85 * 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.000311/0.2347, allocations: 169 kB / 316.2 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.2348, allocations: 71.92 kB / 316.3 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/0.2367, allocations: 0.9055 MB / 317.2 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2367, allocations: 8 kB / 317.2 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2367, allocations: 0 / 317.2 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2367, allocations: 0 / 317.2 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007383/0.2374, allocations: 0.6826 MB / 317.9 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.2374, allocations: 0 / 317.9 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/0.2381, allocations: 279.9 kB / 318.2 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.326e-05/0.2382, allocations: 67.47 kB / 318.3 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/0.2408, allocations: 0.8333 MB / 319.1 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.289e-05/0.2409, allocations: 19.98 kB / 319.1 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002923/0.2438, allocations: 3.374 MB / 322.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2438, allocations: 0 / 322.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.2456, allocations: 0.8921 MB / 323.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.2457, allocations: 12 kB / 323.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.2459, allocations: 16.03 kB / 323.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.246, allocations: 59.78 kB / 323.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/0.2461, allocations: 35.98 kB / 323.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002833/0.2464, allocations: 268.5 kB / 323.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2464, allocations: 0 / 323.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009631/0.2473, allocations: 295.7 kB / 324 MB, free: 10.93 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 (41): * Single equations (assignments): 38 * 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.0004885/0.2478, allocations: 336.1 kB / 324.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.2491, allocations: 0.7971 MB / 325.2 MB, free: 9.777 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.94e-05/0.2492, allocations: 16.48 kB / 325.2 MB, free: 9.758 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005278/0.2497, allocations: 0.511 MB / 325.7 MB, free: 9.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009886/0.2507, allocations: 1.431 MB / 327.1 MB, free: 7.562 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006901/0.2576, allocations: 1.972 MB / 329.1 MB, free: 5.527 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.2578, allocations: 238.9 kB / 329.3 MB, free: 5.273 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006439/0.2584, allocations: 266.5 kB / 329.6 MB, free: 5.008 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/0.2588, allocations: 249.2 kB / 329.8 MB, free: 4.762 MB / 314.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2588, allocations: 4 kB / 329.8 MB, free: 4.758 MB / 314.7 MB Notification: Performance of Templates: time 0.0261/0.2849, allocations: 21.87 MB / 351.7 MB, free: 15.07 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.648012916557491]