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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6522/0.6522, allocations: 117.9 MB / 133.9 MB, free: 9.25 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 183.7 kB / 161.7 MB, free: 14 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.5/1.5, allocations: 205.4 MB / 394.8 MB, free: 10.11 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.0007804/0.0007805, allocations: 92.56 kB / 470.1 MB, free: 29.09 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 19.98 kB / 0.5423 GB, free: 9.785 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1514, allocations: 74.53 MB / 0.6151 GB, free: 15.18 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.255/4.406, allocations: 2.205 GB / 2.82 GB, free: 83.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/4.407, allocations: 95.95 kB / 2.82 GB, free: 83.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.831/11.24, allocations: 2.024 GB / 4.844 GB, free: 52.02 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.224e-06/11.24, allocations: 2.938 kB / 4.844 GB, free: 52.02 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004447/11.24, allocations: 56.94 kB / 4.844 GB, free: 52.01 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.01028/11.25, allocations: 2.984 MB / 4.847 GB, free: 50.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/11.25, allocations: 10.78 kB / 4.847 GB, free: 50.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005573/11.25, allocations: 0.7563 MB / 4.848 GB, free: 50.08 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007746/11.26, allocations: 2.315 MB / 4.85 GB, free: 48.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/11.26, allocations: 110.1 kB / 4.85 GB, free: 48.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006396/11.26, allocations: 157.3 kB / 4.85 GB, free: 48.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00494/11.27, allocations: 1.704 MB / 4.852 GB, free: 48.05 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.964e-05/11.27, allocations: 0 / 4.852 GB, free: 48.05 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003332/11.27, allocations: 56.97 kB / 4.852 GB, free: 48.01 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-05/11.27, allocations: 52.36 kB / 4.852 GB, free: 48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003644/11.27, allocations: 1.358 MB / 4.853 GB, free: 47.53 MB / 0.6823 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.01179/11.28, allocations: 7.645 MB / 4.861 GB, free: 42.03 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/11.29, allocations: 1.514 MB / 4.862 GB, free: 40.99 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008336/11.29, allocations: 450.5 kB / 4.863 GB, free: 40.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008838/11.29, allocations: 0.6633 MB / 4.864 GB, free: 40.17 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/11.29, allocations: 0.6102 MB / 4.864 GB, free: 39.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00123/11.29, allocations: 128.6 kB / 4.864 GB, free: 39.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=81): time 6.101e-06/11.29, allocations: 4 kB / 4.864 GB, free: 39.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81): time 0.003948/11.29, allocations: 1.49 MB / 4.866 GB, free: 39.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.642e-05/11.29, allocations: 292.8 kB / 4.866 GB, free: 38.89 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/11.3, allocations: 1.635 MB / 4.868 GB, free: 38.24 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001621/11.3, allocations: 49.52 kB / 4.868 GB, free: 38.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009029/11.3, allocations: 0.9846 MB / 4.869 GB, free: 37.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/11.3, allocations: 295.2 kB / 4.869 GB, free: 37.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.601e-05/11.3, allocations: 19.62 kB / 4.869 GB, free: 37.19 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/11.3, allocations: 349.3 kB / 4.869 GB, free: 36.86 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000871/11.3, allocations: 425.2 kB / 4.87 GB, free: 36.72 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/11.3, allocations: 0.8503 MB / 4.87 GB, free: 36.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/11.3, allocations: 1.187 MB / 4.872 GB, free: 35.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/11.3, allocations: 0 / 4.872 GB, free: 35.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002702/11.31, allocations: 1.406 MB / 4.873 GB, free: 34.37 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000202/11.31, allocations: 404.6 kB / 4.873 GB, free: 33.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/11.31, allocations: 15.89 kB / 4.873 GB, free: 33.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.339e-05/11.31, allocations: 16 kB / 4.873 GB, free: 33.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/11.31, allocations: 266.8 kB / 4.874 GB, free: 33.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.649e-05/11.31, allocations: 19.94 kB / 4.874 GB, free: 33.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/11.31, allocations: 152.8 kB / 4.874 GB, free: 33.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/11.31, allocations: 62.7 kB / 4.874 GB, free: 33.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/11.31, allocations: 0 / 4.874 GB, free: 33.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002045/11.31, allocations: 1.185 MB / 4.875 GB, free: 32.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/11.31, allocations: 10.95 kB / 4.875 GB, free: 32.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/11.31, allocations: 18.02 kB / 4.875 GB, free: 32.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009387/11.31, allocations: 262.1 kB / 4.875 GB, free: 32.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-05/11.31, allocations: 23.31 kB / 4.875 GB, free: 32.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/11.31, allocations: 143.8 kB / 4.875 GB, free: 31.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/11.31, allocations: 54.62 kB / 4.876 GB, free: 31.91 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (139): * Single equations (assignments): 135 * 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.001292/11.32, allocations: 0.5566 MB / 4.876 GB, free: 31.38 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004626/11.32, allocations: 185.7 kB / 4.876 GB, free: 31.19 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/11.32, allocations: 1.087 MB / 4.877 GB, free: 30.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/11.32, allocations: 8 kB / 4.877 GB, free: 30.26 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/11.32, allocations: 4 kB / 4.877 GB, free: 30.26 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001648/11.32, allocations: 1.152 MB / 4.878 GB, free: 29.12 MB / 0.6823 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.005745/11.33, allocations: 2.818 MB / 4.881 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/11.33, allocations: 0 / 4.881 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008573/11.33, allocations: 173.8 kB / 4.881 GB, free: 26.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002148/11.33, allocations: 50.41 kB / 4.881 GB, free: 26.56 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.842e-05/11.33, allocations: 23.47 kB / 4.881 GB, free: 26.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009987/11.33, allocations: 1.417 MB / 4.883 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/11.33, allocations: 0 / 4.883 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/11.33, allocations: 1.64 MB / 4.884 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009267/11.33, allocations: 342.7 kB / 4.885 GB, free: 23.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004377/11.33, allocations: 20 kB / 4.885 GB, free: 23.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/11.33, allocations: 151.7 kB / 4.885 GB, free: 22.94 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/11.33, allocations: 52.58 kB / 4.885 GB, free: 22.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.989e-05/11.33, allocations: 37.5 kB / 4.885 GB, free: 22.85 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001995/11.34, allocations: 1.095 MB / 4.886 GB, free: 21.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.91e-07/11.34, allocations: 0 / 4.886 GB, free: 21.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005086/11.34, allocations: 1.356 MB / 4.887 GB, free: 20.38 MB / 0.6823 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) * Number of clocked states: 0 () * 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.005697/11.35, allocations: 3.717 MB / 4.891 GB, free: 16.94 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00362/11.35, allocations: 1.775 MB / 4.893 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/11.35, allocations: 3.938 kB / 4.893 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/11.35, allocations: 0.5662 MB / 4.893 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004975/11.36, allocations: 0.8126 MB / 4.894 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008353/11.36, allocations: 4.431 MB / 4.898 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/11.37, allocations: 1.519 MB / 4.9 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002741/11.37, allocations: 473.9 kB / 4.9 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/11.37, allocations: 139.4 kB / 4.9 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of SimCode: time 9.21e-07/11.37, allocations: 0 / 4.9 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of Templates: time 0.4452/11.82, allocations: 65.65 MB / 4.965 GB, free: 71.72 MB / 0.698 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)