Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") [: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 8.1.4-maint.8.1.x/package.mo): time 1.561/1.561, allocations: 289.8 MB / 297.1 MB, free: 6.715 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 180.2 kB / 366.3 MB, free: 2.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.1 MB / 0.6256 GB, free: 5.836 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 85.84 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.068e-05/1.07e-05, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.721/0.721, allocations: 116.3 MB / 0.9726 GB, free: 68.15 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.668/5.389, allocations: 2.113 GB / 3.086 GB, free: 343.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/5.389, allocations: 97.56 kB / 3.086 GB, free: 343.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.36/10.75, allocations: 1.65 GB / 4.736 GB, free: 130 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002738/10.75, allocations: 57.17 kB / 4.736 GB, free: 130 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.008924/10.76, allocations: 2.509 MB / 4.739 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/10.76, allocations: 8.984 kB / 4.739 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006948/10.77, allocations: 0.8936 MB / 4.739 GB, free: 128.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007813/10.77, allocations: 2.702 MB / 4.742 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.213e-05/10.77, allocations: 43.69 kB / 4.742 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/10.77, allocations: 88.16 kB / 4.742 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002355/10.78, allocations: 1.236 MB / 4.743 GB, free: 127 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/10.78, allocations: 1.406 MB / 4.745 GB, free: 126.4 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/10.78, allocations: 6.031 kB / 4.745 GB, free: 126.4 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/10.78, allocations: 0.5625 kB / 4.745 GB, free: 126.4 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.624e-05/10.78, allocations: 54.03 kB / 4.745 GB, free: 126.3 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/10.79, allocations: 7.598 MB / 4.752 GB, free: 121 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/10.79, allocations: 0.8707 MB / 4.753 GB, free: 120.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008497/10.79, allocations: 0.5372 MB / 4.754 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003469/10.79, allocations: 286.2 kB / 4.754 GB, free: 120.2 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/10.79, allocations: 38 kB / 4.754 GB, free: 120.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=78): time 4.578e-06/10.79, allocations: 0 / 4.754 GB, free: 120.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=78): time 0.003789/10.8, allocations: 1.146 MB / 4.755 GB, free: 119.8 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/10.8, allocations: 59.56 kB / 4.755 GB, free: 119.7 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/10.8, allocations: 1.3 MB / 4.756 GB, free: 119.1 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.511e-05/10.8, allocations: 25.7 kB / 4.756 GB, free: 119.1 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004304/10.8, allocations: 0.6198 MB / 4.757 GB, free: 118.7 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/10.8, allocations: 263.1 kB / 4.757 GB, free: 118.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/10.8, allocations: 1.219 kB / 4.757 GB, free: 118.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.926e-05/10.8, allocations: 342.5 kB / 4.758 GB, free: 118.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000563/10.8, allocations: 357.5 kB / 4.758 GB, free: 118 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007642/10.8, allocations: 0.7594 MB / 4.759 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/10.8, allocations: 0.5167 MB / 4.759 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/10.8, allocations: 6.688 kB / 4.759 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002884/10.8, allocations: 1.347 MB / 4.761 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007452/10.8, allocations: 3.848 MB / 4.764 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/10.8, allocations: 8.219 kB / 4.764 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000393/10.81, allocations: 106.6 kB / 4.764 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/10.81, allocations: 265.9 kB / 4.765 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/10.81, allocations: 2.229 MB / 4.767 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/10.81, allocations: 163.2 kB / 4.767 GB, free: 110.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/10.81, allocations: 61.34 kB / 4.767 GB, free: 110.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/10.81, allocations: 5.625 kB / 4.767 GB, free: 110.5 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002479/10.81, allocations: 1.039 MB / 4.768 GB, free: 110.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/10.81, allocations: 8.812 kB / 4.768 GB, free: 110.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003045/10.81, allocations: 107.8 kB / 4.768 GB, free: 110.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/10.81, allocations: 245.7 kB / 4.768 GB, free: 110.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/10.82, allocations: 1.645 MB / 4.77 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/10.82, allocations: 143.1 kB / 4.77 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/10.82, allocations: 50.28 kB / 4.77 GB, free: 108.7 MB / 0.9948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003714/10.82, allocations: 142.2 kB / 4.77 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/10.82, allocations: 185 kB / 4.771 GB, free: 108.4 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00313/10.82, allocations: 1.101 MB / 4.772 GB, free: 108 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/10.82, allocations: 8.938 kB / 4.772 GB, free: 108 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/10.82, allocations: 0 / 4.772 GB, free: 108 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00197/10.82, allocations: 0.9212 MB / 4.773 GB, free: 107.6 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005853/10.83, allocations: 2.647 MB / 4.775 GB, free: 106.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/10.83, allocations: 0 / 4.775 GB, free: 106.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/10.83, allocations: 205 kB / 4.775 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003126/10.83, allocations: 98.62 kB / 4.775 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/10.83, allocations: 11.89 kB / 4.775 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/10.83, allocations: 2.213 MB / 4.778 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/10.83, allocations: 8.016 kB / 4.778 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002914/10.84, allocations: 1.67 MB / 4.779 GB, free: 101.8 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009543/10.84, allocations: 354.4 kB / 4.78 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/10.84, allocations: 6.812 kB / 4.78 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/10.84, allocations: 104.5 kB / 4.78 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/10.84, allocations: 40.59 kB / 4.78 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.099e-05/10.84, allocations: 39.91 kB / 4.78 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.001484/10.84, allocations: 0.9774 MB / 4.781 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00483/10.85, allocations: 1.298 MB / 4.782 GB, free: 98.98 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006125/10.85, allocations: 4.387 MB / 4.786 GB, free: 95.05 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003322/10.86, allocations: 1.694 MB / 4.788 GB, free: 93.35 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/10.86, allocations: 0 / 4.788 GB, free: 93.35 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007428/10.86, allocations: 0.5079 MB / 4.788 GB, free: 92.84 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004165/10.86, allocations: 0.8354 MB / 4.789 GB, free: 92.06 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005824/10.87, allocations: 2.74 MB / 4.792 GB, free: 89.37 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/10.87, allocations: 1.771 MB / 4.794 GB, free: 87.6 MB / 0.9948 GB Notification: Performance of SimCode: time 1.333e-06/10.87, allocations: 2.781 kB / 4.794 GB, free: 87.6 MB / 0.9948 GB Notification: Performance of Templates: time 0.08888/10.96, allocations: 58.8 MB / 4.851 GB, free: 29.77 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)