Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7305/0.7305, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001171/0.001171, allocations: 196.7 kB / 169.7 MB, free: 1.73 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.945/1.945, 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.001069/0.001069, allocations: 99.59 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.469e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1929, allocations: 76.75 MB / 0.6281 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.266/6.459, allocations: 2.199 GB / 2.827 GB, free: 75.77 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/6.459, allocations: 89.7 kB / 2.827 GB, free: 75.72 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.235/14.69, allocations: 1.965 GB / 4.792 GB, free: 61.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/14.69, allocations: 0 / 4.792 GB, free: 61.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004042/14.69, allocations: 66.94 kB / 4.792 GB, free: 61.85 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: 396 * Number of variables: 396 Notification: Performance of Generate backend data structure: time 0.01013/14.7, allocations: 2.659 MB / 4.795 GB, free: 60.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.957e-05/14.7, allocations: 9.969 kB / 4.795 GB, free: 60.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006668/14.71, allocations: 0.7808 MB / 4.796 GB, free: 60.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009035/14.72, allocations: 2.427 MB / 4.798 GB, free: 60.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/14.72, allocations: 123.7 kB / 4.798 GB, free: 60.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004458/14.72, allocations: 170.9 kB / 4.798 GB, free: 60.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003962/14.73, allocations: 1.812 MB / 4.8 GB, free: 59.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.002e-05/14.73, allocations: 4.781 kB / 4.8 GB, free: 59.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/14.73, allocations: 66.78 kB / 4.8 GB, free: 59.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-05/14.73, allocations: 59.92 kB / 4.8 GB, free: 59.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002682/14.73, allocations: 1.401 MB / 4.801 GB, free: 59.86 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.01301/14.74, allocations: 8.261 MB / 4.81 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/14.74, allocations: 1.632 MB / 4.811 GB, free: 55.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007963/14.74, allocations: 0.5351 MB / 4.812 GB, free: 55.08 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003389/14.74, allocations: 121.2 kB / 4.812 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/14.75, allocations: 0.6814 MB / 4.812 GB, free: 54.88 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001502/14.75, allocations: 126.9 kB / 4.813 GB, free: 54.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 3.787e-06/14.75, allocations: 0 / 4.813 GB, free: 54.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=102): time 0.00699/14.75, allocations: 3.057 MB / 4.816 GB, free: 53.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/14.75, allocations: 298.8 kB / 4.816 GB, free: 53.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/14.76, allocations: 1.374 MB / 4.817 GB, free: 53.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/14.76, allocations: 58.45 kB / 4.817 GB, free: 53.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009385/14.76, allocations: 1.024 MB / 4.818 GB, free: 52.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/14.76, allocations: 361.9 kB / 4.819 GB, free: 52.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/14.76, allocations: 20.72 kB / 4.819 GB, free: 52.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001204/14.76, allocations: 355.7 kB / 4.819 GB, free: 52.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006979/14.76, allocations: 442.2 kB / 4.819 GB, free: 52.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009701/14.76, allocations: 0.8402 MB / 4.82 GB, free: 51.84 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008151/14.77, allocations: 2.196 MB / 4.822 GB, free: 51.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.78e-05/14.77, allocations: 3.75 kB / 4.822 GB, free: 51.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003006/14.77, allocations: 1.576 MB / 4.824 GB, free: 51.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008275/14.77, allocations: 3.23 MB / 4.827 GB, free: 48.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/14.77, allocations: 9.125 kB / 4.827 GB, free: 48.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001702/14.77, allocations: 42.67 kB / 4.827 GB, free: 48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/14.77, allocations: 290.8 kB / 4.827 GB, free: 48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/14.77, allocations: 1.493 MB / 4.829 GB, free: 46.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/14.78, allocations: 163.5 kB / 4.829 GB, free: 46.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/14.78, allocations: 59.62 kB / 4.829 GB, free: 46.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/14.78, allocations: 3.25 kB / 4.829 GB, free: 46.65 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002264/14.78, allocations: 1.364 MB / 4.83 GB, free: 46.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/14.78, allocations: 21.56 kB / 4.83 GB, free: 46.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/14.78, allocations: 41.3 kB / 4.83 GB, free: 46.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/14.78, allocations: 277.4 kB / 4.831 GB, free: 46.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/14.78, allocations: 1.481 MB / 4.832 GB, free: 45.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002656/14.78, allocations: 166.6 kB / 4.832 GB, free: 45.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/14.78, allocations: 55.44 kB / 4.832 GB, free: 45.15 MB / 0.698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (152): * Single equations (assignments): 147 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006948/14.79, allocations: 196.4 kB / 4.833 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006239/14.79, allocations: 198 kB / 4.833 GB, free: 44.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/14.79, allocations: 1.296 MB / 4.834 GB, free: 44.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/14.79, allocations: 11.91 kB / 4.834 GB, free: 44.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/14.79, allocations: 0 / 4.834 GB, free: 44.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001568/14.79, allocations: 1.039 MB / 4.835 GB, free: 44.54 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.007006/14.8, allocations: 3.453 MB / 4.838 GB, free: 43.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/14.8, allocations: 3.516 kB / 4.838 GB, free: 43.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/14.8, allocations: 227.3 kB / 4.839 GB, free: 43.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002246/14.8, allocations: 72.38 kB / 4.839 GB, free: 43.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.397e-05/14.8, allocations: 28.2 kB / 4.839 GB, free: 43.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/14.8, allocations: 2.734 MB / 4.841 GB, free: 41.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/14.8, allocations: 0 / 4.841 GB, free: 41.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003253/14.8, allocations: 1.935 MB / 4.843 GB, free: 40.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/14.81, allocations: 387.9 kB / 4.844 GB, free: 40.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/14.81, allocations: 27.06 kB / 4.844 GB, free: 40.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/14.81, allocations: 158.8 kB / 4.844 GB, free: 40.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/14.81, allocations: 78.2 kB / 4.844 GB, free: 40.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.62e-05/14.81, allocations: 41.48 kB / 4.844 GB, free: 40.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001858/14.81, allocations: 1.056 MB / 4.845 GB, free: 40.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/14.81, allocations: 2.531 kB / 4.845 GB, free: 40.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005811/14.82, allocations: 1.319 MB / 4.846 GB, free: 40.35 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (100): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006602/14.82, allocations: 3.526 MB / 4.85 GB, free: 38.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004756/14.83, allocations: 2.227 MB / 4.852 GB, free: 38.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/14.83, allocations: 5.062 kB / 4.852 GB, free: 38.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/14.83, allocations: 0.7337 MB / 4.853 GB, free: 38.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005813/14.83, allocations: 1.003 MB / 4.854 GB, free: 38.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009091/14.84, allocations: 3.222 MB / 4.857 GB, free: 37.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/14.84, allocations: 1.663 MB / 4.858 GB, free: 36.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004147/14.85, allocations: 0.7093 MB / 4.859 GB, free: 36.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004603/14.85, allocations: 121.3 kB / 4.859 GB, free: 36.67 MB / 0.698 GB Notification: Performance of SimCode: time 2.324e-06/14.85, allocations: 0 / 4.859 GB, free: 36.67 MB / 0.698 GB Notification: Performance of Templates: time 0.136/14.99, allocations: 82.08 MB / 4.939 GB, free: 8.469 MB / 0.7136 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)