Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.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/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/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.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") [: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.003423/0.003423, allocations: 179.8 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7201/0.7201, allocations: 130.6 MB / 138.5 MB, free: 2.195 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 221.4 MB / 391.4 MB, free: 13.06 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.001253/0.001253, allocations: 104.6 kB / 473.5 MB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.227e-06/9.257e-06, allocations: 1.281 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1866, allocations: 81.57 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.651/4.838, allocations: 1.922 GB / 2.55 GB, free: 222.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/4.838, allocations: 99.44 kB / 2.55 GB, free: 222.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 8.205/13.04, allocations: 2.091 GB / 4.641 GB, free: 73.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000245/13.04, allocations: 60.11 kB / 4.641 GB, free: 73.57 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.006059/13.05, allocations: 2.406 MB / 4.644 GB, free: 72.85 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/13.05, allocations: 13.25 kB / 4.644 GB, free: 72.85 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005263/13.05, allocations: 0.8351 MB / 4.644 GB, free: 72.72 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006089/13.06, allocations: 2.223 MB / 4.647 GB, free: 72.35 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.049e-05/13.06, allocations: 42.03 kB / 4.647 GB, free: 72.35 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/13.06, allocations: 94.12 kB / 4.647 GB, free: 72.35 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002242/13.06, allocations: 1.158 MB / 4.648 GB, free: 72.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/13.07, allocations: 1.354 MB / 4.649 GB, free: 72.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/13.07, allocations: 1.406 kB / 4.649 GB, free: 72.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/13.07, allocations: 2.188 kB / 4.649 GB, free: 72.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.974e-05/13.07, allocations: 52.61 kB / 4.649 GB, free: 72.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/13.08, allocations: 7.625 MB / 4.657 GB, free: 68.15 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008015/13.08, allocations: 0.5775 MB / 4.657 GB, free: 68.13 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005994/13.08, allocations: 492.8 kB / 4.658 GB, free: 68.12 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/13.08, allocations: 0.9259 MB / 4.659 GB, free: 67.18 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006909/13.08, allocations: 0.4931 MB / 4.659 GB, free: 67.12 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=86): time 3.527e-06/13.08, allocations: 0 / 4.659 GB, free: 67.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=86): time 0.003309/13.08, allocations: 1.139 MB / 4.66 GB, free: 66.97 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/13.08, allocations: 119.1 kB / 4.66 GB, free: 66.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/13.09, allocations: 1.22 MB / 4.662 GB, free: 66.67 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/13.09, allocations: 25.7 kB / 4.662 GB, free: 66.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005005/13.09, allocations: 0.5896 MB / 4.662 GB, free: 66.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003606/13.09, allocations: 299.6 kB / 4.662 GB, free: 66.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/13.09, allocations: 0 / 4.662 GB, free: 66.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/13.09, allocations: 349.4 kB / 4.663 GB, free: 65.94 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/13.09, allocations: 349.3 kB / 4.663 GB, free: 65.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006749/13.09, allocations: 0.6935 MB / 4.664 GB, free: 65.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/13.09, allocations: 0.5428 MB / 4.664 GB, free: 65.51 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/13.09, allocations: 3.156 kB / 4.664 GB, free: 65.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002313/13.09, allocations: 1.246 MB / 4.665 GB, free: 65.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007254/13.09, allocations: 3.355 MB / 4.669 GB, free: 61.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/13.09, allocations: 10.66 kB / 4.669 GB, free: 61.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/13.09, allocations: 17.16 kB / 4.669 GB, free: 61.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/13.09, allocations: 267.2 kB / 4.669 GB, free: 61.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/13.09, allocations: 22.59 kB / 4.669 GB, free: 61.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/13.1, allocations: 169.3 kB / 4.669 GB, free: 61.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/13.1, allocations: 54.91 kB / 4.669 GB, free: 61.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/13.1, allocations: 6.781 kB / 4.669 GB, free: 61.84 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001825/13.1, allocations: 1.01 MB / 4.67 GB, free: 61.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/13.1, allocations: 7.875 kB / 4.67 GB, free: 61.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/13.1, allocations: 16.03 kB / 4.67 GB, free: 61.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/13.1, allocations: 265.7 kB / 4.671 GB, free: 61.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/13.1, allocations: 21.47 kB / 4.671 GB, free: 61.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/13.1, allocations: 157.7 kB / 4.671 GB, free: 61.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-05/13.1, allocations: 53 kB / 4.671 GB, free: 61.81 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 131 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002785/13.1, allocations: 140.9 kB / 4.671 GB, free: 61.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/13.1, allocations: 173 kB / 4.671 GB, free: 61.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/13.1, allocations: 1.099 MB / 4.672 GB, free: 61.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/13.1, allocations: 11.34 kB / 4.672 GB, free: 61.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/13.1, allocations: 0 / 4.672 GB, free: 61.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00155/13.1, allocations: 1.16 MB / 4.673 GB, free: 61.06 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00485/13.11, allocations: 2.488 MB / 4.676 GB, free: 60.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/13.11, allocations: 0 / 4.676 GB, free: 60.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009532/13.11, allocations: 188.7 kB / 4.676 GB, free: 60.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000212/13.11, allocations: 43.14 kB / 4.676 GB, free: 60.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-05/13.11, allocations: 17.7 kB / 4.676 GB, free: 60.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/13.11, allocations: 1.386 MB / 4.677 GB, free: 59.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/13.11, allocations: 0 / 4.677 GB, free: 59.5 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002486/13.11, allocations: 1.69 MB / 4.679 GB, free: 59.13 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007492/13.12, allocations: 352.4 kB / 4.679 GB, free: 58.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/13.12, allocations: 9.375 kB / 4.679 GB, free: 58.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/13.12, allocations: 111.7 kB / 4.679 GB, free: 58.94 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/13.12, allocations: 55.05 kB / 4.679 GB, free: 58.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.44e-05/13.12, allocations: 38.38 kB / 4.68 GB, free: 58.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001305/13.12, allocations: 0.9111 MB / 4.68 GB, free: 58.83 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00392/13.12, allocations: 1.168 MB / 4.682 GB, free: 58.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005423/13.13, allocations: 3.69 MB / 4.685 GB, free: 57.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002647/13.13, allocations: 1.496 MB / 4.687 GB, free: 57.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/13.13, allocations: 0 / 4.687 GB, free: 57.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007745/13.13, allocations: 0.5245 MB / 4.687 GB, free: 57.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003792/13.13, allocations: 0.7127 MB / 4.688 GB, free: 57.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009281/13.14, allocations: 2.983 MB / 4.691 GB, free: 56.49 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/13.15, allocations: 1.674 MB / 4.692 GB, free: 55.76 MB / 0.7292 GB Notification: Performance of SimCode: time 8.51e-07/13.15, allocations: 2.719 kB / 4.692 GB, free: 55.76 MB / 0.7292 GB Notification: Performance of Templates: time 0.08864/13.23, allocations: 51.33 MB / 4.742 GB, free: 54.21 MB / 0.7292 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)