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.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_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") [/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.6681/0.6681, allocations: 117.9 MB / 133.9 MB, free: 4.508 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.001136/0.001136, allocations: 188.5 kB / 161.7 MB, free: 2.727 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.4 MB / 394.8 MB, free: 21.14 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.000817/0.000817, allocations: 94.91 kB / 470.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003811, allocations: 19.98 kB / 0.5423 GB, free: 7.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3291, allocations: 74.52 MB / 0.6151 GB, free: 54.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.079/4.408, allocations: 2.198 GB / 2.813 GB, free: 180.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/4.409, allocations: 107.9 kB / 2.813 GB, free: 180.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.431/10.84, allocations: 1.939 GB / 4.753 GB, free: 60.76 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.914e-06/10.84, allocations: 0 / 4.753 GB, free: 60.76 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002384/10.84, allocations: 69.78 kB / 4.753 GB, free: 60.76 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.006749/10.85, allocations: 3.171 MB / 4.756 GB, free: 59.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/10.85, allocations: 8.406 kB / 4.756 GB, free: 59.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004493/10.85, allocations: 0.7798 MB / 4.757 GB, free: 59.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00492/10.86, allocations: 2.484 MB / 4.759 GB, free: 59.13 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/10.86, allocations: 125.1 kB / 4.759 GB, free: 59.13 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/10.86, allocations: 171.8 kB / 4.759 GB, free: 59.12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/10.86, allocations: 1.913 MB / 4.761 GB, free: 58.89 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.354e-05/10.86, allocations: 1.219 kB / 4.761 GB, free: 58.89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/10.86, allocations: 64.88 kB / 4.761 GB, free: 58.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/10.86, allocations: 53.89 kB / 4.761 GB, free: 58.88 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00293/10.86, allocations: 1.544 MB / 4.763 GB, free: 58.87 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.009951/10.87, allocations: 8.29 MB / 4.771 GB, free: 54.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/10.88, allocations: 1.749 MB / 4.773 GB, free: 54.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009777/10.88, allocations: 0.5978 MB / 4.773 GB, free: 54.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/10.88, allocations: 116.3 kB / 4.773 GB, free: 54.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001421/10.88, allocations: 0.7405 MB / 4.774 GB, free: 53.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001051/10.88, allocations: 129.3 kB / 4.774 GB, free: 53.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=99): time 4.98e-06/10.88, allocations: 0 / 4.774 GB, free: 53.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=102): time 0.007896/10.89, allocations: 3.824 MB / 4.778 GB, free: 52.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/10.89, allocations: 301.9 kB / 4.778 GB, free: 52.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/10.89, allocations: 1.618 MB / 4.78 GB, free: 52.24 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/10.89, allocations: 53.98 kB / 4.78 GB, free: 52.21 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007663/10.89, allocations: 1.019 MB / 4.781 GB, free: 51.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/10.89, allocations: 362.8 kB / 4.781 GB, free: 51.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-05/10.89, allocations: 22.41 kB / 4.781 GB, free: 51.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.826e-05/10.89, allocations: 363.2 kB / 4.782 GB, free: 51.37 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008922/10.89, allocations: 0.4944 MB / 4.782 GB, free: 51.37 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/10.89, allocations: 0.9139 MB / 4.783 GB, free: 50.91 MB / 0.6823 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.009838/10.9, allocations: 3.543 MB / 4.786 GB, free: 50.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/10.9, allocations: 2.531 kB / 4.786 GB, free: 50.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003151/10.91, allocations: 1.709 MB / 4.788 GB, free: 50.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001984/10.91, allocations: 365.4 kB / 4.788 GB, free: 49.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/10.91, allocations: 11.59 kB / 4.788 GB, free: 49.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/10.91, allocations: 43.8 kB / 4.788 GB, free: 49.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/10.91, allocations: 294.1 kB / 4.789 GB, free: 49.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009275/10.91, allocations: 1.496 MB / 4.79 GB, free: 48.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/10.91, allocations: 166.1 kB / 4.79 GB, free: 48.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/10.91, allocations: 57.91 kB / 4.79 GB, free: 48.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.602e-06/10.91, allocations: 3.156 kB / 4.79 GB, free: 48.36 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002339/10.91, allocations: 1.472 MB / 4.792 GB, free: 48.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/10.91, allocations: 12.89 kB / 4.792 GB, free: 48.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.352e-05/10.91, allocations: 48.52 kB / 4.792 GB, free: 48.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/10.91, allocations: 275.8 kB / 4.792 GB, free: 48.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008314/10.92, allocations: 1.493 MB / 4.794 GB, free: 46.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/10.92, allocations: 156.8 kB / 4.794 GB, free: 46.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/10.92, allocations: 54.72 kB / 4.794 GB, free: 46.86 MB / 0.6823 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: 36 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.T_start,$PRE.TSet.count,$whenCondition1,TSet.T_start,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 (153): * Single equations (assignments): 148 * 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.001489/10.92, allocations: 0.6153 MB / 4.794 GB, free: 46.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003927/10.92, allocations: 196.3 kB / 4.795 GB, free: 46.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/10.92, allocations: 1.413 MB / 4.796 GB, free: 46.36 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/10.92, allocations: 11.92 kB / 4.796 GB, free: 46.36 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/10.92, allocations: 3.656 kB / 4.796 GB, free: 46.36 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001918/10.92, allocations: 1.162 MB / 4.797 GB, free: 46.16 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.005666/10.93, allocations: 3.589 MB / 4.801 GB, free: 45.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/10.93, allocations: 0 / 4.801 GB, free: 45.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/10.93, allocations: 228 kB / 4.801 GB, free: 45.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/10.93, allocations: 69.55 kB / 4.801 GB, free: 45.31 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.791e-05/10.93, allocations: 26.41 kB / 4.801 GB, free: 45.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/10.93, allocations: 2.732 MB / 4.804 GB, free: 42.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/10.93, allocations: 3.609 kB / 4.804 GB, free: 42.81 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003714/10.94, allocations: 2.108 MB / 4.806 GB, free: 42.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/10.94, allocations: 387.2 kB / 4.806 GB, free: 42.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/10.94, allocations: 24.19 kB / 4.806 GB, free: 42.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/10.94, allocations: 157.7 kB / 4.806 GB, free: 42.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/10.94, allocations: 76.25 kB / 4.806 GB, free: 42.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.429e-05/10.94, allocations: 37 kB / 4.806 GB, free: 42.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001609/10.94, allocations: 1.081 MB / 4.807 GB, free: 42.06 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/10.94, allocations: 2.812 kB / 4.807 GB, free: 42.06 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004147/10.95, allocations: 1.309 MB / 4.809 GB, free: 42.01 MB / 0.6823 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) * Number of clocked states: 0 () * 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.004376/10.95, allocations: 3.529 MB / 4.812 GB, free: 40.61 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003731/10.95, allocations: 2.35 MB / 4.814 GB, free: 40.17 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/10.95, allocations: 0 / 4.814 GB, free: 40.17 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/10.95, allocations: 0.7951 MB / 4.815 GB, free: 39.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004165/10.96, allocations: 1.009 MB / 4.816 GB, free: 39.92 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00753/10.97, allocations: 4.888 MB / 4.821 GB, free: 37.91 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/10.97, allocations: 1.615 MB / 4.823 GB, free: 37.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002571/10.97, allocations: 0.5195 MB / 4.823 GB, free: 37.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/10.97, allocations: 151.1 kB / 4.823 GB, free: 37.15 MB / 0.6823 GB Notification: Performance of SimCode: time 3.286e-06/10.97, allocations: 7.344 kB / 4.823 GB, free: 37.15 MB / 0.6823 GB Notification: Performance of Templates: time 0.09768/11.07, allocations: 71.66 MB / 4.893 GB, free: 33.43 MB / 0.6823 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)