Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.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.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages") translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.582/1.582, allocations: 289.8 MB / 297.1 MB, free: 6.605 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.001162/0.001162, allocations: 173.3 kB / 366.3 MB, free: 2 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.444/1.444, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0009451/0.0009451, allocations: 94.59 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.695e-06/7.715e-06, allocations: 0 / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6988/0.6988, allocations: 116.3 MB / 0.9725 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.73, allocations: 446.4 MB / 1.408 GB, free: 39.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/1.73, allocations: 93.06 kB / 1.409 GB, free: 39.21 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.848/9.579, allocations: 2.323 GB / 3.732 GB, free: 65.98 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0008497/9.579, allocations: 113.1 kB / 3.732 GB, free: 65.88 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.01319/9.593, allocations: 4.045 MB / 3.736 GB, free: 61.79 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/9.593, allocations: 8.031 kB / 3.736 GB, free: 61.78 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008421/9.601, allocations: 1.274 MB / 3.737 GB, free: 60.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0738/9.675, allocations: 31.4 MB / 3.768 GB, free: 29.31 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/9.675, allocations: 68 kB / 3.768 GB, free: 29.24 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008982/9.676, allocations: 146.3 kB / 3.768 GB, free: 29.1 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00419/9.68, allocations: 2.288 MB / 3.77 GB, free: 26.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00387/9.684, allocations: 2.531 MB / 3.772 GB, free: 24.13 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.738e-05/9.684, allocations: 7.938 kB / 3.772 GB, free: 24.12 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/9.684, allocations: 4 kB / 3.772 GB, free: 24.12 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/9.685, allocations: 48 kB / 3.772 GB, free: 24.07 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02202/9.707, allocations: 13.06 MB / 3.785 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/9.709, allocations: 2.129 MB / 3.787 GB, free: 8.461 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009834/9.71, allocations: 0.9672 MB / 3.788 GB, free: 7.496 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008118/9.718, allocations: 5.171 MB / 3.793 GB, free: 1.996 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/9.72, allocations: 1.136 MB / 3.794 GB, free: 0.8477 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=92): time 4.538e-06/9.72, allocations: 4 kB / 3.794 GB, free: 0.8438 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92): time 0.008802/9.728, allocations: 2.866 MB / 3.797 GB, free: 13.95 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/9.728, allocations: 111.6 kB / 3.797 GB, free: 13.82 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/9.74, allocations: 4.843 MB / 3.802 GB, free: 8.984 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007187/9.741, allocations: 29.7 kB / 3.802 GB, free: 8.949 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001863/9.743, allocations: 1.175 MB / 3.803 GB, free: 7.75 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009978/9.744, allocations: 303.5 kB / 3.804 GB, free: 7.449 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/9.744, allocations: 0 / 3.804 GB, free: 7.449 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002398/9.744, allocations: 394 kB / 3.804 GB, free: 7.059 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/9.746, allocations: 1.082 MB / 3.805 GB, free: 5.973 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/9.748, allocations: 2.119 MB / 3.807 GB, free: 3.344 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004148/9.753, allocations: 1.538 MB / 3.809 GB, free: 1.809 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/9.753, allocations: 12 kB / 3.809 GB, free: 1.797 MB / 1.01 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009008/9.762, allocations: 3.71 MB / 3.812 GB, free: 14.06 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.5276/10.29, allocations: 13.56 MB / 3.825 GB, free: 194.7 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.156e-05/10.29, allocations: 27.69 kB / 3.825 GB, free: 194.7 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009466/10.29, allocations: 335.8 kB / 3.826 GB, free: 194.7 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003693/10.29, allocations: 0.5509 MB / 3.826 GB, free: 194.7 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004682/10.3, allocations: 6.136 MB / 3.832 GB, free: 190.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004087/10.3, allocations: 296.2 kB / 3.833 GB, free: 190.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004658/10.3, allocations: 214 kB / 3.833 GB, free: 190.3 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/10.3, allocations: 3.531 kB / 3.833 GB, free: 190.3 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005947/10.31, allocations: 2.8 MB / 3.836 GB, free: 190.2 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/10.31, allocations: 32.22 kB / 3.836 GB, free: 190.2 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007103/10.31, allocations: 334.3 kB / 3.836 GB, free: 190.2 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/10.31, allocations: 0.5884 MB / 3.836 GB, free: 190.2 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/10.31, allocations: 2.613 MB / 3.839 GB, free: 188.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003825/10.32, allocations: 226.2 kB / 3.839 GB, free: 188.1 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003373/10.32, allocations: 208.9 kB / 3.839 GB, free: 188.1 MB / 1.026 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.0008915/10.32, allocations: 209.5 kB / 3.84 GB, free: 188 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/10.32, allocations: 408.5 kB / 3.84 GB, free: 188 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007288/10.33, allocations: 2.873 MB / 3.843 GB, free: 187.9 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/10.33, allocations: 18.27 kB / 3.843 GB, free: 187.9 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/10.33, allocations: 10.34 kB / 3.843 GB, free: 187.9 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/10.33, allocations: 6.469 kB / 3.843 GB, free: 187.9 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/10.34, allocations: 5.814 MB / 3.848 GB, free: 187.5 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/10.34, allocations: 0 / 3.848 GB, free: 187.5 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/10.34, allocations: 225.7 kB / 3.849 GB, free: 187.5 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008361/10.34, allocations: 410.4 kB / 3.849 GB, free: 187.4 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/10.34, allocations: 28.64 kB / 3.849 GB, free: 187.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/10.34, allocations: 5.119 MB / 3.854 GB, free: 183.2 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/10.34, allocations: 7.141 kB / 3.854 GB, free: 183.2 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006018/10.35, allocations: 2.593 MB / 3.857 GB, free: 182.5 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002482/10.35, allocations: 0.9344 MB / 3.858 GB, free: 182.2 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008555/10.35, allocations: 3.719 kB / 3.858 GB, free: 182.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/10.36, allocations: 142 kB / 3.858 GB, free: 182.2 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/10.36, allocations: 81.12 kB / 3.858 GB, free: 182.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/10.36, allocations: 83.09 kB / 3.858 GB, free: 182.2 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.00574/10.36, allocations: 3.608 MB / 3.861 GB, free: 182 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01119/10.37, allocations: 1.937 MB / 3.863 GB, free: 181.9 MB / 1.026 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.005176/10.38, allocations: 2.235 MB / 3.865 GB, free: 181.5 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.008581/10.39, allocations: 4.149 MB / 3.87 GB, free: 181.4 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/10.39, allocations: 3.781 kB / 3.87 GB, free: 181.4 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/10.39, allocations: 0.8723 MB / 3.87 GB, free: 181.4 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008316/10.4, allocations: 1.843 MB / 3.872 GB, free: 181.4 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/10.41, allocations: 5.855 MB / 3.878 GB, free: 180 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004024/10.42, allocations: 3.101 MB / 3.881 GB, free: 179.3 MB / 1.026 GB Notification: Performance of SimCode: time 1.322e-06/10.42, allocations: 0 / 3.881 GB, free: 179.3 MB / 1.026 GB Notification: Performance of Templates: time 0.1758/10.59, allocations: 107 MB / 3.985 GB, free: 174.6 MB / 1.026 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.sim & ./Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)