Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.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.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3") translateModel(BuildingSystems.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3") [: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.773/0.773, allocations: 141.8 MB / 149.1 MB, free: 3.789 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.001236/0.001236, allocations: 183.4 kB / 181.9 MB, free: 15.56 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.433/1.433, allocations: 221.3 MB / 436 MB, free: 8.801 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.0009651/0.0009651, allocations: 93.81 kB / 0.507 GB, free: 24.22 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001818/0.001818, allocations: 269.2 kB / 0.5884 GB, free: 11.77 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.018e-05/1.019e-05, allocations: 4 kB / 0.6759 GB, free: 2.137 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4471, allocations: 82.77 MB / 0.7567 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7544/1.202, allocations: 361.1 MB / 1.109 GB, free: 3.898 MB / 0.6357 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/1.202, allocations: 93.62 kB / 1.109 GB, free: 3.852 MB / 0.6357 GB Notification: Performance of FrontEnd: time 2.581/3.783, allocations: 0.7009 GB / 1.81 GB, free: 137.3 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0003709/3.784, allocations: 46.05 kB / 1.81 GB, free: 137.3 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.00619/3.79, allocations: 1.841 MB / 1.812 GB, free: 136.5 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/3.79, allocations: 8.75 kB / 1.812 GB, free: 136.5 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/3.792, allocations: 303.1 kB / 1.812 GB, free: 136.4 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008084/3.8, allocations: 2.545 MB / 1.815 GB, free: 135.9 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/3.8, allocations: 34.16 kB / 1.815 GB, free: 135.9 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/3.8, allocations: 62.97 kB / 1.815 GB, free: 135.9 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00154/3.802, allocations: 0.8583 MB / 1.816 GB, free: 135.9 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/3.803, allocations: 1.084 MB / 1.817 GB, free: 135.6 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/3.803, allocations: 9.062 kB / 1.817 GB, free: 135.6 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-05/3.804, allocations: 0 / 1.817 GB, free: 135.6 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/3.804, allocations: 23.16 kB / 1.817 GB, free: 135.6 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007854/3.811, allocations: 6.574 MB / 1.823 GB, free: 131.7 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/3.812, allocations: 0.5694 MB / 1.824 GB, free: 131.6 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/3.813, allocations: 372.9 kB / 1.824 GB, free: 131.6 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002846/3.816, allocations: 1.671 MB / 1.826 GB, free: 130.7 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000462/3.816, allocations: 322.4 kB / 1.826 GB, free: 130.7 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=47): time 2.665e-06/3.816, allocations: 0 / 1.826 GB, free: 130.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=47): time 0.001995/3.818, allocations: 0.8393 MB / 1.827 GB, free: 130.5 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/3.818, allocations: 59.78 kB / 1.827 GB, free: 130.5 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/3.82, allocations: 1.378 MB / 1.828 GB, free: 130.3 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/3.82, allocations: 29.27 kB / 1.829 GB, free: 130.3 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.00046/3.821, allocations: 0.5467 MB / 1.829 GB, free: 130 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/3.821, allocations: 153.2 kB / 1.829 GB, free: 129.9 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/3.821, allocations: 0 / 1.829 GB, free: 129.9 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.392e-05/3.821, allocations: 347.2 kB / 1.83 GB, free: 129.6 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/3.821, allocations: 255.5 kB / 1.83 GB, free: 129.6 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/3.822, allocations: 0.6877 MB / 1.83 GB, free: 129 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/3.823, allocations: 428.4 kB / 1.831 GB, free: 129 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/3.823, allocations: 6.656 kB / 1.831 GB, free: 129 MB / 0.6982 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002121/3.825, allocations: 1.139 MB / 1.832 GB, free: 128.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009551/3.826, allocations: 4.07 MB / 1.836 GB, free: 124.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/3.826, allocations: 7.188 kB / 1.836 GB, free: 124.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003247/3.826, allocations: 132.3 kB / 1.836 GB, free: 124.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006905/3.827, allocations: 183.9 kB / 1.836 GB, free: 124.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006218/3.828, allocations: 0.7978 MB / 1.837 GB, free: 123.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/3.829, allocations: 128.8 kB / 1.837 GB, free: 123.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-05/3.829, allocations: 55.95 kB / 1.837 GB, free: 123.5 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/3.829, allocations: 0 / 1.837 GB, free: 123.5 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001742/3.831, allocations: 0.9324 MB / 1.838 GB, free: 123.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/3.831, allocations: 13.16 kB / 1.838 GB, free: 123.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/3.831, allocations: 109.8 kB / 1.838 GB, free: 123.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/3.832, allocations: 174.8 kB / 1.838 GB, free: 123.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/3.834, allocations: 1.986 MB / 1.84 GB, free: 121.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/3.835, allocations: 111.3 kB / 1.84 GB, free: 121.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.782e-05/3.835, allocations: 41.09 kB / 1.84 GB, free: 121.6 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002742/3.835, allocations: 139.6 kB / 1.841 GB, free: 121.4 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/3.836, allocations: 164.4 kB / 1.841 GB, free: 121.3 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/3.838, allocations: 0.9935 MB / 1.842 GB, free: 121 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/3.838, allocations: 10.17 kB / 1.842 GB, free: 121 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/3.838, allocations: 3 kB / 1.842 GB, free: 121 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/3.839, allocations: 0.9025 MB / 1.843 GB, free: 120.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/3.842, allocations: 1.948 MB / 1.845 GB, free: 119.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/3.842, allocations: 0 / 1.845 GB, free: 119.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005131/3.843, allocations: 99.36 kB / 1.845 GB, free: 119.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002139/3.843, allocations: 102.4 kB / 1.845 GB, free: 119.6 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/3.843, allocations: 11.62 kB / 1.845 GB, free: 119.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004909/3.844, allocations: 0.7471 MB / 1.845 GB, free: 119 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/3.844, allocations: 0 / 1.845 GB, free: 119 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001885/3.846, allocations: 1.311 MB / 1.847 GB, free: 118.3 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007245/3.846, allocations: 307.8 kB / 1.847 GB, free: 118.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/3.847, allocations: 10.92 kB / 1.847 GB, free: 118.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007699/3.847, allocations: 63.39 kB / 1.847 GB, free: 118.1 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/3.847, allocations: 44.31 kB / 1.847 GB, free: 118.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-05/3.848, allocations: 26.14 kB / 1.847 GB, free: 118.1 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.001466/3.849, allocations: 1.063 MB / 1.848 GB, free: 117.7 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002911/3.852, allocations: 0.8425 MB / 1.849 GB, free: 117.5 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001597/3.854, allocations: 0.7668 MB / 1.85 GB, free: 117.3 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002219/3.856, allocations: 1.305 MB / 1.851 GB, free: 116.8 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/3.856, allocations: 0 / 1.851 GB, free: 116.8 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.000447/3.856, allocations: 305.6 kB / 1.851 GB, free: 116.7 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/3.859, allocations: 0.5839 MB / 1.852 GB, free: 116.5 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/3.864, allocations: 2.291 MB / 1.854 GB, free: 115.7 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/3.865, allocations: 1.669 MB / 1.856 GB, free: 114.9 MB / 0.6982 GB Notification: Performance of SimCode: time 1.503e-06/3.865, allocations: 0 / 1.856 GB, free: 114.9 MB / 0.6982 GB Notification: Performance of Templates: time 0.06071/3.926, allocations: 33.24 MB / 1.888 GB, free: 89.07 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe 2>&1)