Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverContinuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverContinuous") translateModel(BuildingSystems.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7562/0.7562, allocations: 141.8 MB / 149.1 MB, free: 1.25 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 177.3 kB / 181.9 MB, free: 0.5352 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 221.4 MB / 436 MB, free: 5.293 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009833/0.0009832, allocations: 92.61 kB / 0.507 GB, free: 1.969 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001847/0.001847, allocations: 289 kB / 0.5884 GB, free: 47.11 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 6.722e-06/6.753e-06, allocations: 1.156 kB / 0.6759 GB, free: 59.55 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1695, allocations: 82.78 MB / 0.7567 GB, free: 0.5078 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.208, allocations: 399.8 MB / 1.147 GB, free: 272.4 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/1.208, allocations: 92.77 kB / 1.147 GB, free: 272.4 MB / 0.7138 GB Notification: Performance of FrontEnd: time 8.727/9.935, allocations: 2.362 GB / 3.51 GB, free: 80.73 MB / 0.7607 GB Notification: Performance of Transformations before backend: time 0.001116/9.936, allocations: 103.8 kB / 3.51 GB, free: 80.72 MB / 0.7607 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.01555/9.952, allocations: 3.862 MB / 3.514 GB, free: 78.77 MB / 0.7607 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/9.952, allocations: 16.34 kB / 3.514 GB, free: 78.77 MB / 0.7607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/9.963, allocations: 1.262 MB / 3.515 GB, free: 78.5 MB / 0.7607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08771/10.05, allocations: 31.7 MB / 3.546 GB, free: 76.47 MB / 0.7607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/10.05, allocations: 65.56 kB / 3.546 GB, free: 76.47 MB / 0.7607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/10.05, allocations: 134.6 kB / 3.546 GB, free: 76.47 MB / 0.7607 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005959/10.06, allocations: 2.168 MB / 3.548 GB, free: 76.45 MB / 0.7607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005819/10.06, allocations: 2.379 MB / 3.55 GB, free: 76.13 MB / 0.7607 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.429e-05/10.06, allocations: 7.875 kB / 3.55 GB, free: 76.12 MB / 0.7607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/10.06, allocations: 8.906 kB / 3.55 GB, free: 76.12 MB / 0.7607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.316e-05/10.06, allocations: 46.31 kB / 3.55 GB, free: 76.12 MB / 0.7607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02235/10.09, allocations: 12.74 MB / 3.563 GB, free: 69.2 MB / 0.7607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/10.09, allocations: 2.058 MB / 3.565 GB, free: 68.48 MB / 0.7607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/10.09, allocations: 0.9254 MB / 3.566 GB, free: 68.14 MB / 0.7607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009385/10.1, allocations: 5.074 MB / 3.571 GB, free: 64.87 MB / 0.7607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/10.1, allocations: 39.83 kB / 3.571 GB, free: 64.83 MB / 0.7607 GB Notification: Performance of pre-optimization done (n=88): time 4.228e-06/10.1, allocations: 0 / 3.571 GB, free: 64.83 MB / 0.7607 GB Notification: Performance of matching and sorting (n=88): time 0.008233/10.11, allocations: 2.762 MB / 3.573 GB, free: 63.89 MB / 0.7607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/10.11, allocations: 62.28 kB / 3.574 GB, free: 63.83 MB / 0.7607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01191/10.12, allocations: 4.659 MB / 3.578 GB, free: 61.96 MB / 0.7607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009117/10.12, allocations: 30.92 kB / 3.578 GB, free: 61.93 MB / 0.7607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/10.12, allocations: 1.12 MB / 3.579 GB, free: 61.19 MB / 0.7607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006777/10.12, allocations: 298.4 kB / 3.58 GB, free: 60.96 MB / 0.7607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/10.12, allocations: 1.969 kB / 3.58 GB, free: 60.96 MB / 0.7607 GB Notification: Performance of setup shared object (initialization): time 0.0001738/10.12, allocations: 384.9 kB / 3.58 GB, free: 60.62 MB / 0.7607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001946/10.13, allocations: 1.042 MB / 3.581 GB, free: 60.23 MB / 0.7607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/10.13, allocations: 2.029 MB / 3.583 GB, free: 58.53 MB / 0.7607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004426/10.13, allocations: 1.488 MB / 3.584 GB, free: 57.87 MB / 0.7607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.823e-05/10.13, allocations: 8.469 kB / 3.584 GB, free: 57.87 MB / 0.7607 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.009559/10.14, allocations: 3.611 MB / 3.588 GB, free: 56.15 MB / 0.7607 GB Notification: Performance of prepare postOptimizeDAE: time 0.002867/10.14, allocations: 12.94 MB / 3.6 GB, free: 41.88 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.369e-05/10.14, allocations: 28.62 kB / 3.601 GB, free: 41.88 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/10.15, allocations: 337.4 kB / 3.601 GB, free: 41.73 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00378/10.15, allocations: 0.5356 MB / 3.601 GB, free: 41.59 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005434/10.15, allocations: 6.138 MB / 3.607 GB, free: 35.66 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005372/10.16, allocations: 305.4 kB / 3.608 GB, free: 35.36 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007794/10.16, allocations: 216 kB / 3.608 GB, free: 35.15 MB / 0.7607 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/10.16, allocations: 6.438 kB / 3.608 GB, free: 35.15 MB / 0.7607 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007087/10.17, allocations: 2.705 MB / 3.611 GB, free: 32.43 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.346e-05/10.17, allocations: 28 kB / 3.611 GB, free: 32.41 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007589/10.17, allocations: 340.1 kB / 3.611 GB, free: 32.08 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/10.17, allocations: 0.5812 MB / 3.611 GB, free: 31.5 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/10.17, allocations: 2.607 MB / 3.614 GB, free: 44.79 MB / 0.7763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003902/10.18, allocations: 226.5 kB / 3.614 GB, free: 44.56 MB / 0.7763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004125/10.18, allocations: 204 kB / 3.614 GB, free: 44.36 MB / 0.7763 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.0008912/10.18, allocations: 201.4 kB / 3.615 GB, free: 44.17 MB / 0.7763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/10.18, allocations: 390.8 kB / 3.615 GB, free: 43.78 MB / 0.7763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007963/10.19, allocations: 2.853 MB / 3.618 GB, free: 41.02 MB / 0.7763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-05/10.19, allocations: 16 kB / 3.618 GB, free: 41.01 MB / 0.7763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/10.19, allocations: 0 / 3.618 GB, free: 41.01 MB / 0.7763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/10.19, allocations: 7.969 kB / 3.618 GB, free: 41 MB / 0.7763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/10.2, allocations: 5.639 MB / 3.623 GB, free: 35.31 MB / 0.7763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/10.2, allocations: 4.969 kB / 3.623 GB, free: 35.31 MB / 0.7763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/10.2, allocations: 231.8 kB / 3.623 GB, free: 35.09 MB / 0.7763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008658/10.2, allocations: 407.1 kB / 3.624 GB, free: 34.68 MB / 0.7763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/10.2, allocations: 27.97 kB / 3.624 GB, free: 34.66 MB / 0.7763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003711/10.21, allocations: 5.118 MB / 3.629 GB, free: 29.34 MB / 0.7763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/10.21, allocations: 3.938 kB / 3.629 GB, free: 29.34 MB / 0.7763 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006464/10.22, allocations: 2.565 MB / 3.631 GB, free: 26.7 MB / 0.7763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002644/10.22, allocations: 0.9016 MB / 3.632 GB, free: 25.77 MB / 0.7763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009044/10.22, allocations: 0 / 3.632 GB, free: 25.77 MB / 0.7763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/10.22, allocations: 150.8 kB / 3.632 GB, free: 25.63 MB / 0.7763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/10.22, allocations: 72.89 kB / 3.633 GB, free: 25.56 MB / 0.7763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/10.22, allocations: 79.94 kB / 3.633 GB, free: 25.48 MB / 0.7763 GB Notification: Performance of sort global known variables: time 0.00597/10.23, allocations: 3.48 MB / 3.636 GB, free: 22.01 MB / 0.7763 GB Notification: Performance of remove unused functions: time 0.008301/10.24, allocations: 1.864 MB / 3.638 GB, free: 20.15 MB / 0.7763 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.003856/10.24, allocations: 2.02 MB / 3.64 GB, free: 18.28 MB / 0.7763 GB Notification: Performance of simCode: created initialization part: time 0.008274/10.25, allocations: 3.997 MB / 3.644 GB, free: 14.3 MB / 0.7763 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/10.25, allocations: 0 / 3.644 GB, free: 14.3 MB / 0.7763 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/10.25, allocations: 0.8239 MB / 3.644 GB, free: 13.47 MB / 0.7763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01036/10.26, allocations: 1.823 MB / 3.646 GB, free: 11.78 MB / 0.7763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/10.28, allocations: 5.589 MB / 3.652 GB, free: 6.121 MB / 0.7763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004688/10.28, allocations: 2.998 MB / 3.655 GB, free: 3.121 MB / 0.7763 GB Notification: Performance of SimCode: time 1.493e-06/10.28, allocations: 0 / 3.655 GB, free: 3.121 MB / 0.7763 GB Notification: Performance of Templates: time 0.6997/10.98, allocations: 103.9 MB / 3.756 GB, free: 129.2 MB / 0.7763 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverContinuous.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverContinuous.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverContinuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1)