Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages") translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages") [: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.0.1-maint.8.0.x/package.mo): time 1.462/1.462, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.00128/0.00128, allocations: 189.3 kB / 361.1 MB, free: 7.051 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.414/1.414, allocations: 205.1 MB / 0.6195 GB, free: 10.25 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.0009358/0.0009357, allocations: 83.89 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.795e-06/7.825e-06, allocations: 0 / 0.8511 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.713/0.7131, allocations: 115.3 MB / 0.9637 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.907/1.62, allocations: 445.4 MB / 1.399 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/1.62, allocations: 88.39 kB / 1.399 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.652/9.273, allocations: 2.323 GB / 3.722 GB, free: 89.21 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0009789/9.274, allocations: 114.1 kB / 3.722 GB, free: 89.2 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01436/9.288, allocations: 4.041 MB / 3.726 GB, free: 87.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.356e-05/9.288, allocations: 8.656 kB / 3.726 GB, free: 87.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008851/9.297, allocations: 1.281 MB / 3.727 GB, free: 86.82 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08196/9.379, allocations: 31.38 MB / 3.758 GB, free: 77.84 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/9.379, allocations: 70.38 kB / 3.758 GB, free: 77.84 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/9.38, allocations: 146.9 kB / 3.758 GB, free: 77.84 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005635/9.386, allocations: 2.288 MB / 3.76 GB, free: 76.79 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006709/9.393, allocations: 2.544 MB / 3.763 GB, free: 75.26 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.195e-05/9.393, allocations: 0 / 3.763 GB, free: 75.26 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005811/9.393, allocations: 4.438 kB / 3.763 GB, free: 75.26 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.874e-05/9.394, allocations: 50.59 kB / 3.763 GB, free: 75.26 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03067/9.424, allocations: 13.07 MB / 3.775 GB, free: 65.05 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003716/9.428, allocations: 2.137 MB / 3.777 GB, free: 63.44 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/9.429, allocations: 0.948 MB / 3.778 GB, free: 62.49 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01015/9.44, allocations: 5.176 MB / 3.783 GB, free: 57.02 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/9.441, allocations: 1.133 MB / 3.785 GB, free: 55.87 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=92): time 5.5e-06/9.441, allocations: 0 / 3.785 GB, free: 55.87 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92): time 0.008594/9.45, allocations: 2.874 MB / 3.787 GB, free: 52.98 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/9.45, allocations: 123.5 kB / 3.787 GB, free: 52.83 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01097/9.461, allocations: 4.843 MB / 3.792 GB, free: 48 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006151/9.461, allocations: 25.7 kB / 3.792 GB, free: 47.96 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/9.463, allocations: 1.172 MB / 3.793 GB, free: 46.77 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000888/9.464, allocations: 303.5 kB / 3.794 GB, free: 46.47 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003596/9.464, allocations: 4 kB / 3.794 GB, free: 46.46 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001933/9.465, allocations: 386 kB / 3.794 GB, free: 46.08 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/9.466, allocations: 1.082 MB / 3.795 GB, free: 45 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/9.468, allocations: 2.111 MB / 3.797 GB, free: 42.38 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003957/9.472, allocations: 1.55 MB / 3.799 GB, free: 40.83 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-05/9.472, allocations: 8 kB / 3.799 GB, free: 40.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008331/9.481, allocations: 3.71 MB / 3.802 GB, free: 37.09 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003297/9.484, allocations: 13.56 MB / 3.816 GB, free: 22.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.688e-05/9.484, allocations: 35.94 kB / 3.816 GB, free: 22.16 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009052/9.485, allocations: 328.4 kB / 3.816 GB, free: 21.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003491/9.489, allocations: 0.5484 MB / 3.816 GB, free: 21.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004854/9.493, allocations: 6.138 MB / 3.822 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004549/9.498, allocations: 300 kB / 3.823 GB, free: 14.67 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000609/9.499, allocations: 215.9 kB / 3.823 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/9.499, allocations: 4 kB / 3.823 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007045/9.506, allocations: 2.796 MB / 3.826 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.752e-05/9.506, allocations: 28 kB / 3.826 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007577/9.507, allocations: 342.7 kB / 3.826 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/9.509, allocations: 0.589 MB / 3.827 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/9.511, allocations: 2.607 MB / 3.829 GB, free: 7.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003781/9.515, allocations: 230.4 kB / 3.829 GB, free: 7.754 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004838/9.515, allocations: 208 kB / 3.83 GB, free: 7.551 MB / 0.9948 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: 131 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 205 * 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.0009521/9.516, allocations: 206.8 kB / 3.83 GB, free: 7.352 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00145/9.517, allocations: 410.6 kB / 3.83 GB, free: 6.945 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008258/9.526, allocations: 2.879 MB / 3.833 GB, free: 4.121 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/9.526, allocations: 15.98 kB / 3.833 GB, free: 4.105 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/9.526, allocations: 0 / 3.833 GB, free: 4.105 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.321e-05/9.526, allocations: 7.969 kB / 3.833 GB, free: 4.098 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/9.541, allocations: 5.811 MB / 3.839 GB, free: 14.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/9.541, allocations: 4 kB / 3.839 GB, free: 14.23 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/9.543, allocations: 219.8 kB / 3.839 GB, free: 14.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/9.544, allocations: 410.9 kB / 3.839 GB, free: 13.62 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/9.544, allocations: 35.86 kB / 3.839 GB, free: 13.58 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004477/9.548, allocations: 5.115 MB / 3.844 GB, free: 8.266 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/9.548, allocations: 4 kB / 3.844 GB, free: 8.262 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007858/9.556, allocations: 2.589 MB / 3.847 GB, free: 5.594 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003408/9.56, allocations: 0.9337 MB / 3.848 GB, free: 4.637 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002319/9.562, allocations: 3.984 kB / 3.848 GB, free: 4.633 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00375/9.566, allocations: 143.6 kB / 3.848 GB, free: 4.492 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002528/9.566, allocations: 80.86 kB / 3.848 GB, free: 4.414 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002821/9.566, allocations: 83.94 kB / 3.848 GB, free: 4.332 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.01009/9.576, allocations: 3.601 MB / 3.852 GB, free: 0.7461 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.5263/10.1, allocations: 1.935 MB / 3.853 GB, free: 206.2 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: 4 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * 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 1,1 4,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004787/10.11, allocations: 2.246 MB / 3.856 GB, free: 205.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.008891/10.12, allocations: 4.154 MB / 3.86 GB, free: 205.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/10.12, allocations: 0 / 3.86 GB, free: 205.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001695/10.12, allocations: 0.8657 MB / 3.861 GB, free: 205.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009159/10.13, allocations: 1.849 MB / 3.862 GB, free: 205.7 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/10.14, allocations: 5.863 MB / 3.868 GB, free: 204.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003614/10.14, allocations: 3.097 MB / 3.871 GB, free: 203.6 MB / 1.01 GB Notification: Performance of SimCode: time 1.352e-06/10.15, allocations: 3.875 kB / 3.871 GB, free: 203.6 MB / 1.01 GB Notification: Performance of Templates: time 0.1718/10.32, allocations: 107 MB / 3.976 GB, free: 199.1 MB / 1.01 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)