Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7055/0.7055, allocations: 132.4 MB / 139.7 MB, free: 15.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00102/0.00102, allocations: 170.6 kB / 171.6 MB, free: 1.961 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.415/1.415, allocations: 170.5 MB / 373.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00184/0.00184, allocations: 119.1 kB / 444.4 MB, free: 9.371 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4841/0.4841, allocations: 73.38 MB / 0.666 GB, free: 62 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7358/1.22, allocations: 377.5 MB / 1.035 GB, free: 60.74 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/1.22, allocations: 89.88 kB / 1.035 GB, free: 60.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.044/7.264, allocations: 1.462 GB / 2.497 GB, free: 56.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.002175/7.266, allocations: 246.6 kB / 2.497 GB, free: 56.86 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1336 * Number of variables: 1336 Notification: Performance of Generate backend data structure: time 0.04087/7.307, allocations: 10.8 MB / 2.508 GB, free: 52.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/7.307, allocations: 8.25 kB / 2.508 GB, free: 52.07 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/7.319, allocations: 1.278 MB / 2.509 GB, free: 51.46 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04783/7.367, allocations: 13.85 MB / 2.522 GB, free: 46.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008639/7.368, allocations: 171.7 kB / 2.523 GB, free: 46.36 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005159/7.373, allocations: 345.5 kB / 2.523 GB, free: 46.36 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03321/7.407, allocations: 18 MB / 2.54 GB, free: 40.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03247/7.439, allocations: 12.64 MB / 2.553 GB, free: 31.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001944/7.439, allocations: 23.72 kB / 2.553 GB, free: 31.21 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00177/7.441, allocations: 18.16 kB / 2.553 GB, free: 31.19 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.93e-05/7.441, allocations: 132 kB / 2.553 GB, free: 31.06 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4971/7.938, allocations: 62.64 MB / 2.614 GB, free: 93.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/7.951, allocations: 8.549 MB / 2.622 GB, free: 93.27 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01317/7.964, allocations: 9.592 MB / 2.632 GB, free: 93 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04793/8.012, allocations: 25.15 MB / 2.656 GB, free: 86.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01214/8.024, allocations: 8.449 MB / 2.665 GB, free: 86.39 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=362): time 1.221e-05/8.024, allocations: 0 / 2.665 GB, free: 86.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=383): time 0.09717/8.121, allocations: 36.44 MB / 2.7 GB, free: 84.91 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.308e-05/8.121, allocations: 168.6 kB / 2.7 GB, free: 84.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01689/8.138, allocations: 6.17 MB / 2.706 GB, free: 84.38 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.003216/8.142, allocations: 39.36 kB / 2.706 GB, free: 84.35 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.005387/8.147, allocations: 2.258 MB / 2.709 GB, free: 83.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.005737/8.153, allocations: 1.303 MB / 2.71 GB, free: 82.85 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002608/8.155, allocations: 0 / 2.71 GB, free: 82.85 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0006151/8.156, allocations: 0.491 MB / 2.71 GB, free: 82.54 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01108/8.167, allocations: 7.204 MB / 2.717 GB, free: 82.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01326/8.18, allocations: 8.976 MB / 2.726 GB, free: 80.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01527/8.196, allocations: 8.217 MB / 2.734 GB, free: 80.53 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-05/8.196, allocations: 13.19 kB / 2.734 GB, free: 80.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=604) (initialization): time 0.05051/8.246, allocations: 19.53 MB / 2.753 GB, free: 76.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.004759/8.251, allocations: 18.82 MB / 2.772 GB, free: 56.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002185/8.252, allocations: 35.47 kB / 2.772 GB, free: 56.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006761/8.258, allocations: 2.255 MB / 2.774 GB, free: 55.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01067/8.269, allocations: 1.592 MB / 2.775 GB, free: 55.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/8.287, allocations: 6.333 MB / 2.782 GB, free: 53.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01486/8.302, allocations: 470.3 kB / 2.782 GB, free: 53.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003804/8.306, allocations: 0.563 MB / 2.783 GB, free: 53.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/8.306, allocations: 3.594 kB / 2.783 GB, free: 53.23 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04445/8.35, allocations: 17.6 MB / 2.8 GB, free: 47.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002662/8.351, allocations: 40.31 kB / 2.8 GB, free: 47.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005866/8.356, allocations: 1.681 MB / 2.802 GB, free: 47.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01052/8.367, allocations: 1.583 MB / 2.803 GB, free: 47.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/8.38, allocations: 8.274 MB / 2.811 GB, free: 42.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01326/8.394, allocations: 392.9 kB / 2.812 GB, free: 42.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00354/8.397, allocations: 0.5479 MB / 2.812 GB, free: 42.78 MB / 0.6511 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: val.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 166 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 532 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 4,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.006634/8.404, allocations: 241.7 kB / 2.812 GB, free: 42.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005654/8.41, allocations: 0.6893 MB / 2.813 GB, free: 42.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05649/8.466, allocations: 18.7 MB / 2.831 GB, free: 31.63 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002219/8.466, allocations: 51.33 kB / 2.831 GB, free: 31.58 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-05/8.466, allocations: 4 kB / 2.831 GB, free: 31.58 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03249/8.499, allocations: 13.27 MB / 2.844 GB, free: 19.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4583/8.957, allocations: 27.94 MB / 2.872 GB, free: 96.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-05/8.957, allocations: 15.2 kB / 2.872 GB, free: 96.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004928/8.962, allocations: 0.5193 MB / 2.872 GB, free: 96.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005675/8.968, allocations: 2.606 MB / 2.875 GB, free: 96.72 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001248/8.969, allocations: 93.64 kB / 2.875 GB, free: 96.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03911/9.008, allocations: 24.51 MB / 2.899 GB, free: 82.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/9.009, allocations: 15.22 kB / 2.899 GB, free: 82.87 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04219/9.051, allocations: 24.22 MB / 2.922 GB, free: 79.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008708/9.059, allocations: 2.041 MB / 2.924 GB, free: 79.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004001/9.064, allocations: 32.89 kB / 2.924 GB, free: 79.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01267/9.076, allocations: 422.9 kB / 2.925 GB, free: 79.81 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002472/9.079, allocations: 288.7 kB / 2.925 GB, free: 79.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002276/9.081, allocations: 206.8 kB / 2.925 GB, free: 79.81 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.01434/9.095, allocations: 4.726 MB / 2.93 GB, free: 79.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.03632/9.132, allocations: 4.136 MB / 2.934 GB, free: 79.59 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 22 (pump.vol.dynBal.U,hea.heaCoo.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (300): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 24 {2 5,2 5,2 5,20 21,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005871/9.138, allocations: 1.238 MB / 2.935 GB, free: 79.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.06132/9.199, allocations: 26.26 MB / 2.961 GB, free: 78.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.888e-05/9.199, allocations: 7.031 kB / 2.961 GB, free: 78.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.01816/9.217, allocations: 8.179 MB / 2.969 GB, free: 78.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02551/9.243, allocations: 3.963 MB / 2.973 GB, free: 78.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05106/9.294, allocations: 19.06 MB / 2.991 GB, free: 75.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01218/9.306, allocations: 6.259 MB / 2.997 GB, free: 74.96 MB / 0.6511 GB Notification: Performance of SimCode: time 1.382e-06/9.306, allocations: 0 / 2.997 GB, free: 74.96 MB / 0.6511 GB Notification: Performance of Templates: time 0.7878/10.09, allocations: 295.2 MB / 3.286 GB, free: 74.52 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)