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.7849/0.7849, allocations: 128.7 MB / 143.7 MB, free: 2.305 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.001253/0.001253, allocations: 188.2 kB / 173.8 MB, free: 6.109 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.4 MB / 409 MB, free: 10.48 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.0009136/0.0009135, allocations: 82.69 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003402, allocations: 7.938 kB / 0.5603 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1769, allocations: 76.76 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.551/5.728, allocations: 2.206 GB / 2.841 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/5.728, allocations: 105.8 kB / 2.841 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.273/13, allocations: 2.049 GB / 4.89 GB, free: 75.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.727e-06/13, allocations: 0 / 4.89 GB, free: 75.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000272/13, allocations: 66 kB / 4.89 GB, free: 75.11 MB / 0.7136 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.008696/13.01, allocations: 3.011 MB / 4.893 GB, free: 73.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/13.01, allocations: 8.875 kB / 4.893 GB, free: 73.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005233/13.02, allocations: 0.7677 MB / 4.894 GB, free: 73.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006125/13.02, allocations: 2.275 MB / 4.896 GB, free: 73.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.644e-05/13.02, allocations: 110.5 kB / 4.896 GB, free: 73.17 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/13.02, allocations: 150.5 kB / 4.896 GB, free: 73.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/13.03, allocations: 1.689 MB / 4.898 GB, free: 72.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/13.03, allocations: 1.5 kB / 4.898 GB, free: 72.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/13.03, allocations: 59 kB / 4.898 GB, free: 72.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.51e-05/13.03, allocations: 52.12 kB / 4.898 GB, free: 72.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/13.03, allocations: 1.349 MB / 4.899 GB, free: 72.89 MB / 0.7136 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.009904/13.04, allocations: 7.599 MB / 4.907 GB, free: 68.87 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/13.04, allocations: 1.513 MB / 4.908 GB, free: 68.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009238/13.04, allocations: 0.6668 MB / 4.909 GB, free: 67.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/13.04, allocations: 0.6068 MB / 4.909 GB, free: 67.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001228/13.04, allocations: 136.4 kB / 4.91 GB, free: 67.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=81): time 3.467e-06/13.04, allocations: 0 / 4.91 GB, free: 67.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81): time 0.003715/13.05, allocations: 1.481 MB / 4.911 GB, free: 67.13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.51e-05/13.05, allocations: 297.1 kB / 4.911 GB, free: 66.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/13.05, allocations: 1.422 MB / 4.913 GB, free: 66.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/13.05, allocations: 49.52 kB / 4.913 GB, free: 66.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008117/13.05, allocations: 0.988 MB / 4.914 GB, free: 66.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/13.05, allocations: 283.9 kB / 4.914 GB, free: 66.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/13.05, allocations: 21.47 kB / 4.914 GB, free: 66.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/13.05, allocations: 351.6 kB / 4.914 GB, free: 65.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008064/13.05, allocations: 417.3 kB / 4.915 GB, free: 65.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/13.05, allocations: 0.8417 MB / 4.916 GB, free: 65.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/13.05, allocations: 0.5359 MB / 4.916 GB, free: 65.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/13.05, allocations: 3.188 kB / 4.916 GB, free: 65.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002798/13.06, allocations: 1.413 MB / 4.918 GB, free: 65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006813/13.06, allocations: 3.681 MB / 4.921 GB, free: 61.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/13.06, allocations: 20.09 kB / 4.921 GB, free: 61.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-05/13.06, allocations: 17.95 kB / 4.921 GB, free: 61.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/13.06, allocations: 261.4 kB / 4.921 GB, free: 61.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-05/13.06, allocations: 22.88 kB / 4.921 GB, free: 61.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/13.06, allocations: 155.9 kB / 4.922 GB, free: 61.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/13.06, allocations: 58.52 kB / 4.922 GB, free: 61.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/13.06, allocations: 9.188 kB / 4.922 GB, free: 61.16 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002042/13.06, allocations: 1.171 MB / 4.923 GB, free: 61.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/13.06, allocations: 11.91 kB / 4.923 GB, free: 61.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/13.06, allocations: 17.41 kB / 4.923 GB, free: 61.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009501/13.06, allocations: 253.6 kB / 4.923 GB, free: 61.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/13.06, allocations: 20.94 kB / 4.923 GB, free: 61.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/13.07, allocations: 144.5 kB / 4.923 GB, free: 61.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.702e-05/13.07, allocations: 52.83 kB / 4.923 GB, free: 61.02 MB / 0.7136 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 () * Number of clocked 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.00131/13.07, allocations: 0.5616 MB / 4.924 GB, free: 60.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/13.07, allocations: 185.3 kB / 4.924 GB, free: 60.71 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/13.07, allocations: 1.073 MB / 4.925 GB, free: 60.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/13.07, allocations: 13.98 kB / 4.925 GB, free: 60.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/13.07, allocations: 0 / 4.925 GB, free: 60.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001728/13.07, allocations: 1.15 MB / 4.926 GB, free: 60.15 MB / 0.7136 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.005218/13.08, allocations: 2.732 MB / 4.929 GB, free: 59.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/13.08, allocations: 0 / 4.929 GB, free: 59.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000876/13.08, allocations: 172 kB / 4.929 GB, free: 59.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002228/13.08, allocations: 42.77 kB / 4.929 GB, free: 59.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.145e-05/13.08, allocations: 40.58 kB / 4.929 GB, free: 59.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/13.08, allocations: 1.419 MB / 4.93 GB, free: 58.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/13.08, allocations: 0 / 4.93 GB, free: 58.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/13.08, allocations: 1.649 MB / 4.932 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/13.08, allocations: 349 kB / 4.932 GB, free: 57.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/13.08, allocations: 17.69 kB / 4.932 GB, free: 57.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/13.08, allocations: 149 kB / 4.933 GB, free: 57.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/13.08, allocations: 64.14 kB / 4.933 GB, free: 57.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/13.08, allocations: 30.05 kB / 4.933 GB, free: 57.83 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001622/13.09, allocations: 1.093 MB / 4.934 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.71e-07/13.09, allocations: 1.781 kB / 4.934 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004636/13.09, allocations: 1.345 MB / 4.935 GB, free: 57.52 MB / 0.7136 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.006008/13.1, allocations: 3.693 MB / 4.939 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003812/13.1, allocations: 1.78 MB / 4.94 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/13.1, allocations: 0 / 4.94 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/13.1, allocations: 0.5648 MB / 4.941 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004046/13.11, allocations: 0.8258 MB / 4.942 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008815/13.11, allocations: 4.426 MB / 4.946 GB, free: 53.74 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/13.12, allocations: 1.557 MB / 4.948 GB, free: 52.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002694/13.12, allocations: 470.1 kB / 4.948 GB, free: 52.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/13.12, allocations: 133.6 kB / 4.948 GB, free: 52.89 MB / 0.7136 GB Notification: Performance of SimCode: time 1.763e-06/13.12, allocations: 3.75 kB / 4.948 GB, free: 52.89 MB / 0.7136 GB Notification: Performance of Templates: time 0.09212/13.21, allocations: 64.7 MB / 5.011 GB, free: 11.99 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)