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.8791/0.8791, allocations: 141.8 MB / 149.3 MB, free: 9.25 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.001069/0.001069, allocations: 184.5 kB / 182.2 MB, free: 9.477 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.536/1.536, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.001074/0.001074, allocations: 84.17 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001879/0.001879, allocations: 281.9 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.022e-05/2.026e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4356, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.486/4.922, allocations: 1.92 GB / 2.678 GB, free: 97.81 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/4.922, allocations: 94.45 kB / 2.678 GB, free: 97.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.88/13.8, allocations: 2.067 GB / 4.745 GB, free: 83.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.884e-06/13.8, allocations: 0 / 4.745 GB, free: 83.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004878/13.8, allocations: 58.52 kB / 4.745 GB, free: 83.46 MB / 0.7448 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.009171/13.81, allocations: 2.396 MB / 4.748 GB, free: 82.56 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/13.81, allocations: 15.41 kB / 4.748 GB, free: 82.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006138/13.82, allocations: 0.7658 MB / 4.748 GB, free: 82.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008233/13.83, allocations: 2.173 MB / 4.751 GB, free: 82.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/13.83, allocations: 47.53 kB / 4.751 GB, free: 82.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007077/13.83, allocations: 84.22 kB / 4.751 GB, free: 82.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002921/13.83, allocations: 1.076 MB / 4.752 GB, free: 82.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/13.83, allocations: 1.294 MB / 4.753 GB, free: 81.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/13.83, allocations: 1.594 kB / 4.753 GB, free: 81.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/13.83, allocations: 3.938 kB / 4.753 GB, free: 81.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-05/13.83, allocations: 48.47 kB / 4.753 GB, free: 81.84 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.01185/13.84, allocations: 7.201 MB / 4.76 GB, free: 78.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/13.85, allocations: 1.351 MB / 4.761 GB, free: 77.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005375/13.85, allocations: 424.6 kB / 4.762 GB, free: 77.31 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/13.85, allocations: 0.7541 MB / 4.762 GB, free: 76.56 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006343/13.85, allocations: 453.8 kB / 4.763 GB, free: 76.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001048/13.85, allocations: 101.1 kB / 4.763 GB, free: 76.49 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=86): time 4.318e-06/13.85, allocations: 0.75 kB / 4.763 GB, free: 76.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=86): time 0.005487/13.85, allocations: 1.503 MB / 4.764 GB, free: 76.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/13.85, allocations: 117.8 kB / 4.765 GB, free: 76.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/13.86, allocations: 1.212 MB / 4.766 GB, free: 76.04 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/13.86, allocations: 25.7 kB / 4.766 GB, free: 76.01 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/13.86, allocations: 0.9207 MB / 4.767 GB, free: 75.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/13.86, allocations: 294.1 kB / 4.767 GB, free: 75.62 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/13.86, allocations: 0 / 4.767 GB, free: 75.62 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001268/13.86, allocations: 351.5 kB / 4.767 GB, free: 75.31 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004937/13.86, allocations: 323.9 kB / 4.768 GB, free: 75.3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007725/13.86, allocations: 0.6837 MB / 4.768 GB, free: 74.88 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004066/13.86, allocations: 1.014 MB / 4.769 GB, free: 74.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/13.86, allocations: 0 / 4.769 GB, free: 74.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.006141/13.87, allocations: 1.698 MB / 4.771 GB, free: 74.72 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009934/13.87, allocations: 3.379 MB / 4.774 GB, free: 71.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/13.87, allocations: 7.969 kB / 4.774 GB, free: 71.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-05/13.87, allocations: 16.12 kB / 4.774 GB, free: 71.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/13.87, allocations: 269 kB / 4.775 GB, free: 71.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/13.87, allocations: 18.19 kB / 4.775 GB, free: 71.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/13.87, allocations: 124.3 kB / 4.775 GB, free: 71.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/13.87, allocations: 54.47 kB / 4.775 GB, free: 71.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/13.87, allocations: 3.594 kB / 4.775 GB, free: 71.18 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004715/13.88, allocations: 1.471 MB / 4.776 GB, free: 71.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/13.88, allocations: 8.844 kB / 4.776 GB, free: 71.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/13.88, allocations: 14.38 kB / 4.776 GB, free: 71.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009754/13.88, allocations: 262 kB / 4.776 GB, free: 71.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/13.88, allocations: 18.67 kB / 4.776 GB, free: 71.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/13.88, allocations: 120 kB / 4.777 GB, free: 71.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.409e-05/13.88, allocations: 53.41 kB / 4.777 GB, free: 71.15 MB / 0.7448 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.000288/13.88, allocations: 144.2 kB / 4.777 GB, free: 71.03 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/13.88, allocations: 174.7 kB / 4.777 GB, free: 70.94 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005299/13.89, allocations: 1.525 MB / 4.778 GB, free: 70.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/13.89, allocations: 12.08 kB / 4.778 GB, free: 70.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/13.89, allocations: 2.844 kB / 4.778 GB, free: 70.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004686/13.89, allocations: 1.615 MB / 4.78 GB, free: 70.39 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.009392/13.9, allocations: 3.11 MB / 4.783 GB, free: 69.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/13.9, allocations: 2.719 kB / 4.783 GB, free: 69.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009402/13.9, allocations: 182.9 kB / 4.783 GB, free: 69.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002412/13.9, allocations: 41.97 kB / 4.783 GB, free: 69.86 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/13.9, allocations: 19.95 kB / 4.783 GB, free: 69.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/13.9, allocations: 1.375 MB / 4.785 GB, free: 68.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/13.9, allocations: 2.562 kB / 4.785 GB, free: 68.67 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006449/13.91, allocations: 2.122 MB / 4.787 GB, free: 68.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000951/13.91, allocations: 333.2 kB / 4.787 GB, free: 68.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/13.91, allocations: 7.328 kB / 4.787 GB, free: 68.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/13.91, allocations: 126.6 kB / 4.787 GB, free: 68.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/13.91, allocations: 67.8 kB / 4.787 GB, free: 68.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.517e-05/13.91, allocations: 38.16 kB / 4.787 GB, free: 68.09 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001371/13.91, allocations: 0.8984 MB / 4.788 GB, free: 67.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.81e-07/13.91, allocations: 0 / 4.788 GB, free: 67.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004167/13.92, allocations: 1.149 MB / 4.789 GB, free: 67.82 MB / 0.7448 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 (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.005928/13.93, allocations: 3.719 MB / 4.793 GB, free: 66.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002417/13.93, allocations: 1.481 MB / 4.794 GB, free: 66.35 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/13.93, allocations: 0 / 4.794 GB, free: 66.35 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007538/13.93, allocations: 0.5051 MB / 4.795 GB, free: 66.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/13.93, allocations: 0.7401 MB / 4.796 GB, free: 66.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005905/13.94, allocations: 2.774 MB / 4.798 GB, free: 65.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009006/13.94, allocations: 1.532 MB / 4.8 GB, free: 64.76 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002779/13.94, allocations: 0.6442 MB / 4.8 GB, free: 64.74 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/13.94, allocations: 108 kB / 4.8 GB, free: 64.73 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/13.94, allocations: 0 / 4.8 GB, free: 64.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.07597/14.02, allocations: 46.5 MB / 4.846 GB, free: 61.59 MB / 0.7448 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)