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.8563/0.8563, allocations: 127.4 MB / 134.9 MB, free: 3.465 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.001126/0.001126, allocations: 184.1 kB / 164.6 MB, free: 11.59 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.98/1.98, allocations: 205.2 MB / 399.5 MB, free: 13.53 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.001298/0.001298, allocations: 92.5 kB / 476.7 MB, free: 1.508 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.913e-05, allocations: 5.062 kB / 0.5466 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2038, allocations: 76.76 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.776/5.98, allocations: 2.198 GB / 2.82 GB, free: 173.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/5.98, allocations: 100.3 kB / 2.82 GB, free: 173.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.158/13.14, allocations: 1.944 GB / 4.764 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.525e-06/13.14, allocations: 4 kB / 4.764 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003672/13.14, allocations: 67.92 kB / 4.764 GB, free: 15.2 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: 396 * Number of variables: 396 Notification: Performance of Generate backend data structure: time 0.01036/13.15, allocations: 2.657 MB / 4.767 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/13.15, allocations: 11.97 kB / 4.767 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006026/13.15, allocations: 0.789 MB / 4.767 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006896/13.16, allocations: 2.411 MB / 4.77 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.002e-05/13.16, allocations: 59.98 kB / 4.77 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003762/13.16, allocations: 96.86 kB / 4.77 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0028/13.17, allocations: 1.322 MB / 4.771 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/13.17, allocations: 1.572 MB / 4.773 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/13.17, allocations: 3.938 kB / 4.773 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/13.17, allocations: 4 kB / 4.773 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-05/13.17, allocations: 59.03 kB / 4.773 GB, free: 6.02 MB / 0.6823 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.01293/13.18, allocations: 7.963 MB / 4.781 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/13.18, allocations: 1.59 MB / 4.782 GB, free: 11.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007983/13.18, allocations: 0.5134 MB / 4.783 GB, free: 11.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004089/13.18, allocations: 126.1 kB / 4.783 GB, free: 11.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/13.19, allocations: 0.6303 MB / 4.783 GB, free: 10.43 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001443/13.19, allocations: 95.17 kB / 4.783 GB, free: 10.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 5.48e-06/13.19, allocations: 3.938 kB / 4.783 GB, free: 10.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=102): time 0.009115/13.2, allocations: 3.107 MB / 4.786 GB, free: 7.137 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002781/13.2, allocations: 300 kB / 4.787 GB, free: 6.777 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002925/13.2, allocations: 1.244 MB / 4.788 GB, free: 5.496 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/13.2, allocations: 29.7 kB / 4.788 GB, free: 5.461 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001509/13.2, allocations: 1.006 MB / 4.789 GB, free: 4.441 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005299/13.2, allocations: 350.8 kB / 4.789 GB, free: 4.094 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.333e-05/13.2, allocations: 4 kB / 4.789 GB, free: 4.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002375/13.2, allocations: 357.9 kB / 4.79 GB, free: 3.734 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007644/13.2, allocations: 426.5 kB / 4.79 GB, free: 3.316 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/13.2, allocations: 0.8136 MB / 4.791 GB, free: 2.332 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.005637/13.21, allocations: 1.806 MB / 4.793 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/13.21, allocations: 4 kB / 4.793 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.6697/13.88, allocations: 1.511 MB / 4.794 GB, free: 67.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007864/13.88, allocations: 3.228 MB / 4.797 GB, free: 64.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.801e-05/13.88, allocations: 9.797 kB / 4.797 GB, free: 64.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/13.88, allocations: 45.05 kB / 4.797 GB, free: 64.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/13.88, allocations: 293.1 kB / 4.798 GB, free: 64.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/13.88, allocations: 1.427 MB / 4.799 GB, free: 62.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/13.89, allocations: 137.4 kB / 4.799 GB, free: 62.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/13.89, allocations: 66.11 kB / 4.799 GB, free: 62.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/13.89, allocations: 3.656 kB / 4.799 GB, free: 62.88 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003341/13.89, allocations: 1.267 MB / 4.8 GB, free: 62.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.243e-05/13.89, allocations: 10.12 kB / 4.8 GB, free: 62.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/13.89, allocations: 41.94 kB / 4.8 GB, free: 62.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/13.89, allocations: 280.4 kB / 4.801 GB, free: 62.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/13.89, allocations: 1.424 MB / 4.802 GB, free: 61.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/13.89, allocations: 132.8 kB / 4.802 GB, free: 61.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/13.89, allocations: 58.22 kB / 4.802 GB, free: 61.47 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.0004885/13.9, allocations: 149.4 kB / 4.802 GB, free: 61.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003829/13.9, allocations: 191.4 kB / 4.803 GB, free: 61.37 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003122/13.9, allocations: 1.271 MB / 4.804 GB, free: 61.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/13.9, allocations: 10.88 kB / 4.804 GB, free: 61.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/13.9, allocations: 1.609 kB / 4.804 GB, free: 61.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001948/13.9, allocations: 1.045 MB / 4.805 GB, free: 60.96 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.007263/13.91, allocations: 3.262 MB / 4.808 GB, free: 60.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/13.91, allocations: 1.469 kB / 4.808 GB, free: 60.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/13.91, allocations: 223.3 kB / 4.808 GB, free: 60.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002098/13.91, allocations: 71.78 kB / 4.808 GB, free: 60.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-05/13.91, allocations: 14.3 kB / 4.808 GB, free: 60.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/13.91, allocations: 2.641 MB / 4.811 GB, free: 57.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/13.91, allocations: 1.812 kB / 4.811 GB, free: 57.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003196/13.91, allocations: 1.918 MB / 4.813 GB, free: 57.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/13.92, allocations: 382.8 kB / 4.813 GB, free: 57.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/13.92, allocations: 5.5 kB / 4.813 GB, free: 57.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/13.92, allocations: 146.6 kB / 4.813 GB, free: 57.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/13.92, allocations: 85.03 kB / 4.813 GB, free: 57.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.452e-05/13.92, allocations: 38.66 kB / 4.813 GB, free: 57.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001654/13.92, allocations: 0.9333 MB / 4.814 GB, free: 57.13 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.9e-07/13.92, allocations: 0 / 4.814 GB, free: 57.13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004805/13.92, allocations: 1.176 MB / 4.816 GB, free: 57.13 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.006539/13.93, allocations: 3.694 MB / 4.819 GB, free: 55.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003723/13.93, allocations: 2.142 MB / 4.821 GB, free: 55.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/13.93, allocations: 3.562 kB / 4.821 GB, free: 55.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/13.94, allocations: 0.6958 MB / 4.822 GB, free: 55.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005346/13.94, allocations: 0.9375 MB / 4.823 GB, free: 55.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007483/13.95, allocations: 3.176 MB / 4.826 GB, free: 54.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001723/13.95, allocations: 1.654 MB / 4.828 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003915/13.95, allocations: 0.6864 MB / 4.828 GB, free: 53.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/13.95, allocations: 123.7 kB / 4.828 GB, free: 53.65 MB / 0.698 GB Notification: Performance of SimCode: time 9.32e-07/13.95, allocations: 1.141 kB / 4.828 GB, free: 53.65 MB / 0.698 GB Notification: Performance of Templates: time 0.0965/14.05, allocations: 55.12 MB / 4.882 GB, free: 51.01 MB / 0.698 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)