Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8033/0.8033, allocations: 127.3 MB / 139.8 MB, free: 15.5 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.00112, allocations: 176.8 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.1 MB / 404.5 MB, free: 1.586 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008629/0.0008632, allocations: 90.41 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.27e-05/4.272e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1986, allocations: 76.75 MB / 0.6281 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.94/6.139, allocations: 2.206 GB / 2.834 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/6.139, allocations: 99 kB / 2.834 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.574/14.71, allocations: 2.047 GB / 4.881 GB, free: 59.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.914e-06/14.71, allocations: 0 / 4.881 GB, free: 59.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003072/14.71, allocations: 58.45 kB / 4.881 GB, free: 59.18 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.008236/14.72, allocations: 2.496 MB / 4.883 GB, free: 58.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/14.72, allocations: 10.75 kB / 4.883 GB, free: 58.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005437/14.73, allocations: 0.7584 MB / 4.884 GB, free: 57.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006649/14.73, allocations: 2.261 MB / 4.886 GB, free: 57.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/14.73, allocations: 113.8 kB / 4.886 GB, free: 57.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/14.73, allocations: 148.9 kB / 4.886 GB, free: 57.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/14.74, allocations: 1.608 MB / 4.888 GB, free: 57.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.937e-05/14.74, allocations: 5.125 kB / 4.888 GB, free: 57.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/14.74, allocations: 55.91 kB / 4.888 GB, free: 57.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-05/14.74, allocations: 51.88 kB / 4.888 GB, free: 57.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/14.74, allocations: 1.204 MB / 4.889 GB, free: 57.17 MB / 0.698 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.01126/14.75, allocations: 7.602 MB / 4.897 GB, free: 53.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/14.75, allocations: 1.377 MB / 4.898 GB, free: 52.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005744/14.75, allocations: 409.1 kB / 4.898 GB, free: 52.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009195/14.76, allocations: 0.6557 MB / 4.899 GB, free: 51.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/14.76, allocations: 0.5505 MB / 4.9 GB, free: 51.68 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001247/14.76, allocations: 135.7 kB / 4.9 GB, free: 51.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=81): time 3.587e-06/14.76, allocations: 0 / 4.9 GB, free: 51.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=81): time 0.002181/14.76, allocations: 0.9338 MB / 4.901 GB, free: 51.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/14.76, allocations: 295 kB / 4.901 GB, free: 51.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/14.76, allocations: 1.406 MB / 4.902 GB, free: 50.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/14.76, allocations: 50.45 kB / 4.902 GB, free: 50.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009683/14.76, allocations: 0.9834 MB / 4.903 GB, free: 50.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/14.76, allocations: 283 kB / 4.904 GB, free: 50.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/14.76, allocations: 21.5 kB / 4.904 GB, free: 50.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000125/14.76, allocations: 354.5 kB / 4.904 GB, free: 50.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/14.76, allocations: 357.4 kB / 4.904 GB, free: 50.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009515/14.77, allocations: 0.7735 MB / 4.905 GB, free: 49.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007765/14.77, allocations: 499 kB / 4.906 GB, free: 49.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/14.77, allocations: 2.625 kB / 4.906 GB, free: 49.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002282/14.77, allocations: 1.278 MB / 4.907 GB, free: 49.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001042/14.77, allocations: 3.684 MB / 4.91 GB, free: 45.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-05/14.77, allocations: 11.22 kB / 4.91 GB, free: 45.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.069e-05/14.77, allocations: 14.72 kB / 4.91 GB, free: 45.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/14.77, allocations: 268.6 kB / 4.911 GB, free: 45.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.604e-05/14.77, allocations: 26.62 kB / 4.911 GB, free: 45.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/14.77, allocations: 158.8 kB / 4.911 GB, free: 45.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/14.77, allocations: 55.56 kB / 4.911 GB, free: 45.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/14.77, allocations: 2.812 kB / 4.911 GB, free: 45.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001582/14.77, allocations: 1.081 MB / 4.912 GB, free: 45.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/14.77, allocations: 14.94 kB / 4.912 GB, free: 45.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/14.77, allocations: 15.28 kB / 4.912 GB, free: 45.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/14.78, allocations: 259.5 kB / 4.912 GB, free: 45.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/14.78, allocations: 19.34 kB / 4.912 GB, free: 45.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/14.78, allocations: 143 kB / 4.912 GB, free: 45.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.893e-05/14.78, allocations: 55.06 kB / 4.912 GB, free: 45.37 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (138): * Single equations (assignments): 134 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0003286/14.78, allocations: 185 kB / 4.913 GB, free: 45.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/14.78, allocations: 181.5 kB / 4.913 GB, free: 45.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/14.78, allocations: 0.9707 MB / 4.914 GB, free: 45.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/14.78, allocations: 10.42 kB / 4.914 GB, free: 45.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/14.78, allocations: 3.781 kB / 4.914 GB, free: 45.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00119/14.78, allocations: 1.035 MB / 4.915 GB, free: 44.58 MB / 0.698 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.004798/14.79, allocations: 2.704 MB / 4.917 GB, free: 43.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/14.79, allocations: 3.906 kB / 4.917 GB, free: 43.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008639/14.79, allocations: 169.8 kB / 4.918 GB, free: 43.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002425/14.79, allocations: 52.41 kB / 4.918 GB, free: 43.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/14.79, allocations: 21.61 kB / 4.918 GB, free: 43.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/14.79, allocations: 1.411 MB / 4.919 GB, free: 42.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/14.79, allocations: 0 / 4.919 GB, free: 42.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/14.79, allocations: 1.475 MB / 4.92 GB, free: 42.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/14.79, allocations: 346 kB / 4.921 GB, free: 42.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/14.79, allocations: 18.53 kB / 4.921 GB, free: 42.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/14.79, allocations: 149.7 kB / 4.921 GB, free: 42.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/14.79, allocations: 56.62 kB / 4.921 GB, free: 42.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/14.79, allocations: 34 kB / 4.921 GB, free: 42.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001807/14.8, allocations: 1.073 MB / 4.922 GB, free: 42 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/14.8, allocations: 3.938 kB / 4.922 GB, free: 42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006188/14.8, allocations: 1.34 MB / 4.923 GB, free: 41.83 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[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 (81): * Single equations (assignments): 78 * 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.007554/14.81, allocations: 3.649 MB / 4.927 GB, free: 40.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00337/14.81, allocations: 1.674 MB / 4.929 GB, free: 40.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/14.81, allocations: 3.406 kB / 4.929 GB, free: 40.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009038/14.81, allocations: 0.501 MB / 4.929 GB, free: 39.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004289/14.82, allocations: 0.8151 MB / 4.93 GB, free: 39.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00655/14.82, allocations: 2.901 MB / 4.933 GB, free: 39.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002169/14.83, allocations: 1.563 MB / 4.934 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003237/14.83, allocations: 0.6693 MB / 4.935 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/14.83, allocations: 114.5 kB / 4.935 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of SimCode: time 9.91e-07/14.83, allocations: 0 / 4.935 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of Templates: time 0.1191/14.95, allocations: 75.53 MB / 5.009 GB, free: 3.617 MB / 0.7136 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)