Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.MoverContinuous.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.Examples.MoverContinuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.MoverContinuous") translateModel(Buildings.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.MoverContinuous") [: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.534/1.534, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.001176/0.001176, allocations: 181.3 kB / 366.3 MB, free: 1.953 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.581/1.581, allocations: 205.1 MB / 0.6256 GB, free: 5.867 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.0009049/0.0009048, allocations: 85.42 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.065e-06/8.095e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7041/0.7041, allocations: 116.3 MB / 0.9725 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9242/1.628, allocations: 442.9 MB / 1.405 GB, free: 42.66 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/1.629, allocations: 91.8 kB / 1.405 GB, free: 42.62 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.971/9.599, allocations: 2.317 GB / 3.722 GB, free: 51.66 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001091/9.601, allocations: 110.4 kB / 3.722 GB, free: 51.56 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01481/9.615, allocations: 3.866 MB / 3.726 GB, free: 47.66 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/9.616, allocations: 8.031 kB / 3.726 GB, free: 47.65 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008606/9.624, allocations: 1.258 MB / 3.727 GB, free: 46.38 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07839/9.703, allocations: 31.25 MB / 3.758 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/9.703, allocations: 68 kB / 3.758 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/9.704, allocations: 132 kB / 3.758 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005343/9.709, allocations: 2.167 MB / 3.76 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003918/9.713, allocations: 2.385 MB / 3.763 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/9.713, allocations: 3.938 kB / 3.763 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/9.713, allocations: 7.938 kB / 3.763 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/9.714, allocations: 52 kB / 3.763 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02172/9.735, allocations: 12.73 MB / 3.775 GB, free: 12.79 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003189/9.738, allocations: 2.057 MB / 3.777 GB, free: 10.72 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/9.74, allocations: 0.9167 MB / 3.778 GB, free: 9.805 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0119/9.752, allocations: 5.058 MB / 3.783 GB, free: 4.418 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.507e-05/9.752, allocations: 43.34 kB / 3.783 GB, free: 4.367 MB / 1.01 GB Notification: Performance of pre-optimization done (n=88): time 6.913e-06/9.752, allocations: 4 kB / 3.783 GB, free: 4.363 MB / 1.01 GB Notification: Performance of matching and sorting (n=88): time 0.009034/9.761, allocations: 2.753 MB / 3.786 GB, free: 1.578 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/9.761, allocations: 64.09 kB / 3.786 GB, free: 1.504 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5236/10.28, allocations: 4.66 MB / 3.79 GB, free: 183.5 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007231/10.29, allocations: 28.3 kB / 3.79 GB, free: 183.4 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/10.29, allocations: 1.119 MB / 3.791 GB, free: 183.3 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005839/10.29, allocations: 298.8 kB / 3.792 GB, free: 183.3 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/10.29, allocations: 0 / 3.792 GB, free: 183.3 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001147/10.29, allocations: 386.2 kB / 3.792 GB, free: 183 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/10.29, allocations: 1.039 MB / 3.793 GB, free: 183 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/10.29, allocations: 2.023 MB / 3.795 GB, free: 181.7 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003556/10.29, allocations: 1.498 MB / 3.797 GB, free: 181.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/10.29, allocations: 7.531 kB / 3.797 GB, free: 181.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.007492/10.3, allocations: 3.598 MB / 3.8 GB, free: 181.4 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.002352/10.3, allocations: 12.95 MB / 3.813 GB, free: 167.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.964e-05/10.3, allocations: 27.19 kB / 3.813 GB, free: 167.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008121/10.3, allocations: 338.1 kB / 3.813 GB, free: 167.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003217/10.31, allocations: 0.5388 MB / 3.814 GB, free: 167.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00467/10.31, allocations: 6.136 MB / 3.82 GB, free: 163 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/10.32, allocations: 295.7 kB / 3.82 GB, free: 163 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000465/10.32, allocations: 212.5 kB / 3.82 GB, free: 163 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/10.32, allocations: 6.656 kB / 3.82 GB, free: 163 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006365/10.32, allocations: 2.714 MB / 3.823 GB, free: 162.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.281e-05/10.32, allocations: 28.09 kB / 3.823 GB, free: 162.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007463/10.32, allocations: 335.1 kB / 3.823 GB, free: 162.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/10.33, allocations: 0.5854 MB / 3.824 GB, free: 162.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/10.33, allocations: 2.602 MB / 3.826 GB, free: 160.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003802/10.33, allocations: 231.5 kB / 3.826 GB, free: 160.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000404/10.33, allocations: 203.6 kB / 3.827 GB, free: 160.8 MB / 1.01 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_y.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_m_flow.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: 126 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (207): * Single equations (assignments): 195 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0009305/10.33, allocations: 199 kB / 3.827 GB, free: 160.6 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001399/10.34, allocations: 389.6 kB / 3.827 GB, free: 160.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008858/10.34, allocations: 2.846 MB / 3.83 GB, free: 160.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/10.34, allocations: 9.938 kB / 3.83 GB, free: 160.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/10.34, allocations: 7.406 kB / 3.83 GB, free: 160.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/10.34, allocations: 7.125 kB / 3.83 GB, free: 160.3 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/10.36, allocations: 5.638 MB / 3.835 GB, free: 159.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/10.36, allocations: 1.5 kB / 3.835 GB, free: 159.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/10.36, allocations: 230 kB / 3.836 GB, free: 159.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008715/10.36, allocations: 403 kB / 3.836 GB, free: 159.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/10.36, allocations: 33.41 kB / 3.836 GB, free: 159.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003197/10.37, allocations: 5.116 MB / 3.841 GB, free: 155.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/10.37, allocations: 3.969 kB / 3.841 GB, free: 155.5 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006772/10.37, allocations: 2.553 MB / 3.844 GB, free: 154.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003031/10.38, allocations: 0.9103 MB / 3.844 GB, free: 154.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001707/10.38, allocations: 0 / 3.844 GB, free: 154.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003207/10.38, allocations: 145.2 kB / 3.845 GB, free: 154.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/10.38, allocations: 75.56 kB / 3.845 GB, free: 154.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002328/10.38, allocations: 76.08 kB / 3.845 GB, free: 154.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.008273/10.39, allocations: 3.476 MB / 3.848 GB, free: 154.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01012/10.4, allocations: 1.858 MB / 3.85 GB, free: 154.3 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 4,1 4,1 4,1 4,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004423/10.4, allocations: 2.018 MB / 3.852 GB, free: 153.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00994/10.41, allocations: 3.99 MB / 3.856 GB, free: 153.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/10.41, allocations: 1.688 kB / 3.856 GB, free: 153.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001979/10.42, allocations: 0.8193 MB / 3.857 GB, free: 153.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/10.43, allocations: 1.83 MB / 3.858 GB, free: 153.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/10.44, allocations: 5.589 MB / 3.864 GB, free: 152.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006177/10.45, allocations: 2.992 MB / 3.867 GB, free: 151.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.683e-06/10.45, allocations: 0 / 3.867 GB, free: 151.7 MB / 1.01 GB Notification: Performance of Templates: time 0.1778/10.63, allocations: 103.8 MB / 3.968 GB, free: 147.1 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.MoverContinuous.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.MoverContinuous.sim & ./Buildings_8_Buildings.Fluid.Movers.Examples.MoverContinuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1)