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.7952/0.7952, allocations: 128.7 MB / 143.7 MB, free: 2.176 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.001169/0.001169, allocations: 184.4 kB / 173.8 MB, free: 5.992 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.86/1.86, allocations: 205.4 MB / 409 MB, free: 10.46 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.000966/0.0009659, allocations: 93.33 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003489, allocations: 12.22 kB / 0.5603 GB, free: 97.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1755, allocations: 76.77 MB / 0.6353 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.899/5.074, allocations: 2.199 GB / 2.834 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/5.075, allocations: 98.08 kB / 2.835 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.572/12.65, allocations: 1.967 GB / 4.801 GB, free: 80.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.625e-06/12.65, allocations: 0 / 4.801 GB, free: 80.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004733/12.65, allocations: 64.5 kB / 4.801 GB, free: 80.33 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: 396 * Number of variables: 396 Notification: Performance of Generate backend data structure: time 0.01124/12.66, allocations: 3.188 MB / 4.805 GB, free: 79.15 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/12.66, allocations: 13.28 kB / 4.805 GB, free: 79.15 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00581/12.66, allocations: 0.7795 MB / 4.805 GB, free: 79.01 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008142/12.67, allocations: 2.452 MB / 4.808 GB, free: 78.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002388/12.67, allocations: 121.2 kB / 4.808 GB, free: 78.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008936/12.67, allocations: 173.4 kB / 4.808 GB, free: 78.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006415/12.68, allocations: 1.898 MB / 4.81 GB, free: 78.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.888e-05/12.68, allocations: 2.438 kB / 4.81 GB, free: 78.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003358/12.68, allocations: 66.47 kB / 4.81 GB, free: 78.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/12.68, allocations: 52.86 kB / 4.81 GB, free: 78.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003801/12.68, allocations: 1.546 MB / 4.812 GB, free: 78.36 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.01364/12.7, allocations: 8.261 MB / 4.82 GB, free: 74.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/12.7, allocations: 1.757 MB / 4.821 GB, free: 73.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003389/12.7, allocations: 117.6 kB / 4.821 GB, free: 73.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/12.7, allocations: 0.741 MB / 4.822 GB, free: 73.44 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001255/12.7, allocations: 126.2 kB / 4.822 GB, free: 73.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=99): time 7.995e-06/12.7, allocations: 0 / 4.822 GB, free: 73.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=102): time 0.008435/12.71, allocations: 3.851 MB / 4.826 GB, free: 72.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/12.71, allocations: 300.9 kB / 4.826 GB, free: 71.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/12.71, allocations: 1.399 MB / 4.828 GB, free: 71.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/12.71, allocations: 51.73 kB / 4.828 GB, free: 71.65 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007862/12.72, allocations: 1.024 MB / 4.829 GB, free: 71.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/12.72, allocations: 356 kB / 4.829 GB, free: 71.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/12.72, allocations: 24.09 kB / 4.829 GB, free: 71.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.11e-05/12.72, allocations: 353.7 kB / 4.829 GB, free: 70.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009258/12.72, allocations: 0.5018 MB / 4.83 GB, free: 70.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/12.72, allocations: 0.9008 MB / 4.831 GB, free: 70.32 MB / 0.7136 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.009391/12.73, allocations: 2.338 MB / 4.833 GB, free: 70.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/12.73, allocations: 5.219 kB / 4.833 GB, free: 70.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003205/12.73, allocations: 1.716 MB / 4.835 GB, free: 69.85 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006085/12.73, allocations: 3.23 MB / 4.838 GB, free: 66.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/12.73, allocations: 11.25 kB / 4.838 GB, free: 66.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/12.73, allocations: 48.64 kB / 4.838 GB, free: 66.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/12.73, allocations: 292.4 kB / 4.838 GB, free: 66.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/12.73, allocations: 1.556 MB / 4.84 GB, free: 65.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/12.74, allocations: 166.7 kB / 4.84 GB, free: 65.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/12.74, allocations: 53.67 kB / 4.84 GB, free: 65.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/12.74, allocations: 3.406 kB / 4.84 GB, free: 65.14 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002364/12.74, allocations: 1.484 MB / 4.841 GB, free: 64.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/12.74, allocations: 13.64 kB / 4.841 GB, free: 64.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.04e-05/12.74, allocations: 51 kB / 4.841 GB, free: 64.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/12.74, allocations: 274.6 kB / 4.842 GB, free: 64.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009242/12.74, allocations: 1.563 MB / 4.843 GB, free: 63.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/12.74, allocations: 159.6 kB / 4.843 GB, free: 63.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/12.74, allocations: 55.17 kB / 4.843 GB, free: 63.63 MB / 0.7136 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 146 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001347/12.74, allocations: 0.6033 MB / 4.844 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/12.74, allocations: 199.4 kB / 4.844 GB, free: 63.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/12.75, allocations: 1.44 MB / 4.846 GB, free: 63.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/12.75, allocations: 10.19 kB / 4.846 GB, free: 63.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/12.75, allocations: 3.75 kB / 4.846 GB, free: 63.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002075/12.75, allocations: 1.177 MB / 4.847 GB, free: 62.94 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.006143/12.76, allocations: 3.531 MB / 4.85 GB, free: 62.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.902e-06/12.76, allocations: 3.844 kB / 4.85 GB, free: 62.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/12.76, allocations: 224.4 kB / 4.85 GB, free: 62.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/12.76, allocations: 72.67 kB / 4.851 GB, free: 62.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-05/12.76, allocations: 34.7 kB / 4.851 GB, free: 62.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/12.76, allocations: 2.918 MB / 4.853 GB, free: 59.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/12.76, allocations: 0 / 4.853 GB, free: 59.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003503/12.76, allocations: 2.134 MB / 4.856 GB, free: 59.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/12.76, allocations: 392.8 kB / 4.856 GB, free: 58.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/12.76, allocations: 18.81 kB / 4.856 GB, free: 58.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/12.76, allocations: 167.7 kB / 4.856 GB, free: 58.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/12.76, allocations: 73.16 kB / 4.856 GB, free: 58.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/12.76, allocations: 35.19 kB / 4.856 GB, free: 58.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001555/12.77, allocations: 1.081 MB / 4.857 GB, free: 58.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.41e-07/12.77, allocations: 0 / 4.857 GB, free: 58.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004598/12.77, allocations: 1.323 MB / 4.859 GB, free: 58.75 MB / 0.7136 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 (99): * Single equations (assignments): 95 * 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%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005074/12.78, allocations: 3.534 MB / 4.862 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004272/12.78, allocations: 2.356 MB / 4.864 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/12.78, allocations: 2.5 kB / 4.864 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/12.78, allocations: 0.7996 MB / 4.865 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004739/12.79, allocations: 1.005 MB / 4.866 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009532/12.8, allocations: 4.886 MB / 4.871 GB, free: 54.65 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001701/12.8, allocations: 1.665 MB / 4.872 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002795/12.8, allocations: 0.5147 MB / 4.873 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/12.8, allocations: 157 kB / 4.873 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of SimCode: time 1.213e-06/12.8, allocations: 0 / 4.873 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of Templates: time 0.1021/12.9, allocations: 71.03 MB / 4.942 GB, free: 49.83 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)