Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise") [: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/Complex 4.0.0+maint.om/package.mo): time 0.002479/0.002479, allocations: 181.6 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6067/0.6067, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.115/1.115, allocations: 221.3 MB / 395 MB, free: 10.26 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008501/0.00085, allocations: 106.1 kB / 477.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.853e-06/6.873e-06, allocations: 2.469 kB / 0.5528 GB, free: 88.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1092, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.657/2.766, allocations: 1.9 GB / 2.533 GB, free: 45.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/2.766, allocations: 87.95 kB / 2.533 GB, free: 45.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.7763/3.542, allocations: 318.8 MB / 2.844 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.877e-05/3.542, allocations: 51.94 kB / 2.844 GB, free: 2.742 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.002662/3.545, allocations: 1.789 MB / 2.846 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/3.545, allocations: 8.031 kB / 2.846 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003225/3.548, allocations: 0.5322 MB / 2.847 GB, free: 360 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2147/3.763, allocations: 0.9831 MB / 2.848 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/3.763, allocations: 54.83 kB / 2.848 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/3.763, allocations: 97.59 kB / 2.848 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00229/3.766, allocations: 1.665 MB / 2.849 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/3.768, allocations: 1.472 MB / 2.851 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/3.768, allocations: 7.719 kB / 2.851 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/3.768, allocations: 0 / 2.851 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/3.768, allocations: 42.69 kB / 2.851 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005798/3.774, allocations: 4.641 MB / 2.855 GB, free: 220 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/3.775, allocations: 1.488 MB / 2.857 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006641/3.776, allocations: 0.5572 MB / 2.857 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008364/3.777, allocations: 1.138 MB / 2.859 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008775/3.778, allocations: 0.7367 MB / 2.859 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.036e-06/3.778, allocations: 0 / 2.859 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003054/3.781, allocations: 1.311 MB / 2.861 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/3.781, allocations: 256.2 kB / 2.861 GB, free: 217.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/3.781, allocations: 0.6218 MB / 2.861 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.83e-05/3.782, allocations: 28.45 kB / 2.861 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/3.782, allocations: 0.501 MB / 2.862 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/3.782, allocations: 447.4 kB / 2.862 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/3.782, allocations: 0 / 2.862 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.501e-05/3.782, allocations: 353.4 kB / 2.863 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/3.783, allocations: 381.6 kB / 2.863 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/3.783, allocations: 0.5316 MB / 2.864 GB, free: 216.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007677/3.784, allocations: 478 kB / 2.864 GB, free: 216.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/3.784, allocations: 3.656 kB / 2.864 GB, free: 216.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00234/3.786, allocations: 1.254 MB / 2.865 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/3.786, allocations: 7.219 kB / 2.865 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/3.786, allocations: 0 / 2.865 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008502/3.787, allocations: 186.6 kB / 2.865 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/3.789, allocations: 300.8 kB / 2.866 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003777/3.792, allocations: 6.474 MB / 2.872 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/3.793, allocations: 113.9 kB / 2.872 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-05/3.794, allocations: 45.28 kB / 2.872 GB, free: 210.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002512/3.794, allocations: 129.4 kB / 2.872 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/3.794, allocations: 125.6 kB / 2.872 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003229/3.797, allocations: 1.594 MB / 2.874 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/3.797, allocations: 13.69 kB / 2.874 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/3.797, allocations: 7.125 kB / 2.874 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/3.797, allocations: 6.891 kB / 2.874 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004462/3.802, allocations: 2.957 MB / 2.877 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/3.802, allocations: 0 / 2.877 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/3.803, allocations: 311.2 kB / 2.877 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007735/3.804, allocations: 184.4 kB / 2.877 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8e-05/3.804, allocations: 27.66 kB / 2.877 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/3.808, allocations: 6.491 MB / 2.884 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/3.808, allocations: 0 / 2.884 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002479/3.81, allocations: 1.435 MB / 2.885 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006185/3.811, allocations: 392.7 kB / 2.886 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/3.811, allocations: 8.266 kB / 2.886 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/3.812, allocations: 101.3 kB / 2.886 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/3.812, allocations: 80.19 kB / 2.886 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/3.813, allocations: 66.09 kB / 2.886 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006031/3.813, allocations: 0.4888 MB / 2.886 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001908/3.815, allocations: 0.6255 MB / 2.887 GB, free: 203.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002604/3.818, allocations: 1.692 MB / 2.888 GB, free: 203 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00216/3.82, allocations: 1.56 MB / 2.89 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/3.82, allocations: 0.6562 kB / 2.89 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/3.821, allocations: 1.138 MB / 2.891 GB, free: 202 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/3.823, allocations: 375.4 kB / 2.891 GB, free: 202 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005489/3.829, allocations: 2.201 MB / 2.894 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/3.83, allocations: 1.464 MB / 2.895 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of SimCode: time 6.71e-07/3.83, allocations: 0 / 2.895 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.04489/3.875, allocations: 32.52 MB / 2.927 GB, free: 200 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)