Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.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.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8282/0.8282, allocations: 143.4 MB / 158.3 MB, free: 5.809 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 169.1 kB / 191.5 MB, free: 5.781 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 223.2 MB / 447.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000983/0.000983, allocations: 99.55 kB / 0.5188 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001817/0.001817, allocations: 279.6 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006233/0.0006233, allocations: 14.88 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1756, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.037/4.213, allocations: 1.921 GB / 2.695 GB, free: 158.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003773/4.213, allocations: 106.1 kB / 2.695 GB, free: 158.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.136/11.35, allocations: 2.091 GB / 4.786 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.512e-06/11.35, allocations: 3.938 kB / 4.786 GB, free: 9.855 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002321/11.35, allocations: 51.98 kB / 4.786 GB, free: 9.805 MB / 0.7605 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.008427/11.36, allocations: 2.895 MB / 4.789 GB, free: 6.84 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/11.36, allocations: 8.031 kB / 4.789 GB, free: 6.832 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005319/11.36, allocations: 0.7776 MB / 4.79 GB, free: 6.051 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006134/11.37, allocations: 2.199 MB / 4.792 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-05/11.37, allocations: 102.6 kB / 4.792 GB, free: 3.703 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/11.37, allocations: 151.9 kB / 4.792 GB, free: 3.555 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00292/11.37, allocations: 1.554 MB / 4.794 GB, free: 1.922 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/11.37, allocations: 7.938 kB / 4.794 GB, free: 1.914 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/11.37, allocations: 56 kB / 4.794 GB, free: 1.859 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.599e-05/11.37, allocations: 50.5 kB / 4.794 GB, free: 1.809 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/11.38, allocations: 1.275 MB / 4.795 GB, free: 0.5273 MB / 0.7605 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4093/11.79, allocations: 7.441 MB / 4.802 GB, free: 77.86 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/11.79, allocations: 1.488 MB / 4.804 GB, free: 77.16 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009871/11.79, allocations: 0.7511 MB / 4.804 GB, free: 76.41 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/11.79, allocations: 0.5283 MB / 4.805 GB, free: 76.36 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008869/11.79, allocations: 126.1 kB / 4.805 GB, free: 76.36 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=86): time 3.897e-06/11.79, allocations: 2.531 kB / 4.805 GB, free: 76.36 MB / 0.7605 GB Notification: Performance of matching and sorting (n=86): time 0.003352/11.79, allocations: 1.512 MB / 4.806 GB, free: 76.1 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/11.79, allocations: 112.7 kB / 4.807 GB, free: 75.98 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/11.8, allocations: 1.33 MB / 4.808 GB, free: 75.82 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/11.8, allocations: 49.25 kB / 4.808 GB, free: 75.79 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007628/11.8, allocations: 0.9234 MB / 4.809 GB, free: 75.54 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/11.8, allocations: 303.2 kB / 4.809 GB, free: 75.39 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/11.8, allocations: 20.19 kB / 4.809 GB, free: 75.39 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.414e-05/11.8, allocations: 346.2 kB / 4.809 GB, free: 75.09 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008238/11.8, allocations: 395.5 kB / 4.81 GB, free: 75.09 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009856/11.8, allocations: 0.7667 MB / 4.811 GB, free: 74.66 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009717/11.8, allocations: 0.5035 MB / 4.811 GB, free: 74.62 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/11.8, allocations: 2.344 kB / 4.811 GB, free: 74.62 MB / 0.7605 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002972/11.8, allocations: 1.33 MB / 4.812 GB, free: 74.45 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006482/11.8, allocations: 3.397 MB / 4.816 GB, free: 70.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/11.8, allocations: 8.25 kB / 4.816 GB, free: 70.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.41e-05/11.8, allocations: 15 kB / 4.816 GB, free: 70.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/11.8, allocations: 263.8 kB / 4.816 GB, free: 70.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-05/11.8, allocations: 16.42 kB / 4.816 GB, free: 70.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/11.81, allocations: 152.4 kB / 4.816 GB, free: 70.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/11.81, allocations: 55.14 kB / 4.816 GB, free: 70.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/11.81, allocations: 3.875 kB / 4.816 GB, free: 70.9 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002362/11.81, allocations: 1.151 MB / 4.817 GB, free: 70.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/11.81, allocations: 11.95 kB / 4.817 GB, free: 70.85 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/11.81, allocations: 17.12 kB / 4.817 GB, free: 70.85 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/11.81, allocations: 260.1 kB / 4.818 GB, free: 70.85 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/11.81, allocations: 15.81 kB / 4.818 GB, free: 70.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/11.81, allocations: 142.1 kB / 4.818 GB, free: 70.84 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/11.81, allocations: 54.25 kB / 4.818 GB, free: 70.84 MB / 0.7605 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 () * Number of clocked 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.001115/11.81, allocations: 0.5361 MB / 4.818 GB, free: 70.66 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/11.81, allocations: 178.3 kB / 4.818 GB, free: 70.56 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/11.82, allocations: 1.114 MB / 4.82 GB, free: 70.47 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/11.82, allocations: 9.188 kB / 4.82 GB, free: 70.47 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/11.82, allocations: 7.406 kB / 4.82 GB, free: 70.47 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002059/11.82, allocations: 1.184 MB / 4.821 GB, free: 70 MB / 0.7605 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005662/11.82, allocations: 2.762 MB / 4.823 GB, free: 69.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/11.82, allocations: 2.125 kB / 4.823 GB, free: 69.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000937/11.82, allocations: 178 kB / 4.824 GB, free: 69.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/11.82, allocations: 46.08 kB / 4.824 GB, free: 69.54 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/11.82, allocations: 23.64 kB / 4.824 GB, free: 69.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/11.83, allocations: 1.426 MB / 4.825 GB, free: 68.29 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/11.83, allocations: 2.531 kB / 4.825 GB, free: 68.29 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00309/11.83, allocations: 1.743 MB / 4.827 GB, free: 67.9 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007734/11.83, allocations: 340.4 kB / 4.827 GB, free: 67.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/11.83, allocations: 20.91 kB / 4.827 GB, free: 67.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/11.83, allocations: 139.6 kB / 4.827 GB, free: 67.71 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/11.83, allocations: 63.11 kB / 4.827 GB, free: 67.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.85e-05/11.83, allocations: 35.53 kB / 4.827 GB, free: 67.7 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00143/11.83, allocations: 1.03 MB / 4.828 GB, free: 67.59 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.71e-07/11.83, allocations: 0 / 4.828 GB, free: 67.59 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003944/11.84, allocations: 1.275 MB / 4.83 GB, free: 67.53 MB / 0.7605 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.004671/11.84, allocations: 3.611 MB / 4.833 GB, free: 66.23 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003032/11.84, allocations: 1.676 MB / 4.835 GB, free: 66.09 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/11.84, allocations: 4.094 kB / 4.835 GB, free: 66.09 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/11.85, allocations: 0.5818 MB / 4.835 GB, free: 65.98 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/11.85, allocations: 0.7694 MB / 4.836 GB, free: 65.96 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006715/11.86, allocations: 4.322 MB / 4.84 GB, free: 64.14 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009024/11.86, allocations: 1.527 MB / 4.842 GB, free: 63.41 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0022/11.86, allocations: 459.2 kB / 4.842 GB, free: 63.39 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/11.86, allocations: 137 kB / 4.842 GB, free: 63.38 MB / 0.7605 GB Notification: Performance of SimCode: time 1.163e-06/11.86, allocations: 0 / 4.842 GB, free: 63.38 MB / 0.7605 GB Notification: Performance of Templates: time 0.08088/11.94, allocations: 61.43 MB / 4.902 GB, free: 61.22 MB / 0.7605 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)