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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7392/0.7392, allocations: 127.4 MB / 134.9 MB, free: 3.734 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.8 kB / 164.7 MB, free: 6.523 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.863/1.863, allocations: 205.2 MB / 399.5 MB, free: 5.926 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.0009186/0.0009185, allocations: 86.5 kB / 476.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.114e-05, allocations: 4 kB / 0.5467 GB, free: 60.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1938, allocations: 76.76 MB / 0.6216 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.846/6.04, allocations: 2.199 GB / 2.82 GB, free: 28.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/6.04, allocations: 87.95 kB / 2.82 GB, free: 28.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.595/13.63, allocations: 1.944 GB / 4.764 GB, free: 61.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.466e-06/13.64, allocations: 0 / 4.764 GB, free: 61.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005415/13.64, allocations: 67 kB / 4.764 GB, free: 61.86 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.01087/13.65, allocations: 2.665 MB / 4.767 GB, free: 60.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/13.65, allocations: 9.562 kB / 4.767 GB, free: 60.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006248/13.65, allocations: 0.7776 MB / 4.768 GB, free: 60.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008668/13.66, allocations: 2.421 MB / 4.77 GB, free: 60.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/13.66, allocations: 52.48 kB / 4.77 GB, free: 60.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007618/13.66, allocations: 99.94 kB / 4.77 GB, free: 60.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003969/13.67, allocations: 1.325 MB / 4.771 GB, free: 60.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/13.67, allocations: 1.567 MB / 4.773 GB, free: 59.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.916e-05/13.67, allocations: 2.438 kB / 4.773 GB, free: 59.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/13.67, allocations: 5.25 kB / 4.773 GB, free: 59.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.269e-05/13.67, allocations: 56.52 kB / 4.773 GB, free: 59.85 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.01138/13.68, allocations: 7.973 MB / 4.781 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/13.68, allocations: 1.594 MB / 4.782 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006778/13.68, allocations: 0.52 MB / 4.783 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003/13.68, allocations: 116.6 kB / 4.783 GB, free: 55.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008568/13.69, allocations: 0.6304 MB / 4.784 GB, free: 54.93 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001048/13.69, allocations: 95.33 kB / 4.784 GB, free: 54.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 3.807e-06/13.69, allocations: 3.562 kB / 4.784 GB, free: 54.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=102): time 0.006135/13.69, allocations: 3.107 MB / 4.787 GB, free: 53.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/13.69, allocations: 301.2 kB / 4.787 GB, free: 53.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/13.69, allocations: 1.244 MB / 4.788 GB, free: 53.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.375e-05/13.69, allocations: 28.45 kB / 4.788 GB, free: 53.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008107/13.7, allocations: 1.007 MB / 4.789 GB, free: 52.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/13.7, allocations: 350.4 kB / 4.79 GB, free: 52.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/13.7, allocations: 0 / 4.79 GB, free: 52.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001015/13.7, allocations: 357.2 kB / 4.79 GB, free: 52.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005861/13.7, allocations: 423.8 kB / 4.79 GB, free: 52.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008324/13.7, allocations: 0.8166 MB / 4.791 GB, free: 51.89 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.004585/13.7, allocations: 1.811 MB / 4.793 GB, free: 51.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/13.7, allocations: 2.688 kB / 4.793 GB, free: 51.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002605/13.7, allocations: 1.529 MB / 4.794 GB, free: 51.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006733/13.7, allocations: 3.219 MB / 4.798 GB, free: 48.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/13.7, allocations: 9.062 kB / 4.798 GB, free: 48.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/13.7, allocations: 41.12 kB / 4.798 GB, free: 48.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/13.71, allocations: 298.2 kB / 4.798 GB, free: 48.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009153/13.71, allocations: 1.428 MB / 4.799 GB, free: 46.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/13.71, allocations: 140.3 kB / 4.799 GB, free: 46.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/13.71, allocations: 56.47 kB / 4.799 GB, free: 46.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/13.71, allocations: 7.844 kB / 4.799 GB, free: 46.82 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002098/13.71, allocations: 1.266 MB / 4.801 GB, free: 46.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/13.71, allocations: 9.656 kB / 4.801 GB, free: 46.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-05/13.71, allocations: 40.12 kB / 4.801 GB, free: 46.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/13.71, allocations: 283.9 kB / 4.801 GB, free: 46.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007983/13.71, allocations: 1.428 MB / 4.802 GB, free: 45.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/13.72, allocations: 129 kB / 4.803 GB, free: 45.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/13.72, allocations: 54.55 kB / 4.803 GB, free: 45.4 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.0003585/13.72, allocations: 148.4 kB / 4.803 GB, free: 45.29 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001939/13.72, allocations: 1.195 MB / 4.804 GB, free: 45.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/13.72, allocations: 194.6 kB / 4.804 GB, free: 44.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/13.72, allocations: 1.277 MB / 4.805 GB, free: 44.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/13.72, allocations: 10.19 kB / 4.805 GB, free: 44.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/13.72, allocations: 0 / 4.805 GB, free: 44.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001493/13.72, allocations: 1.046 MB / 4.806 GB, free: 44.5 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.005576/13.73, allocations: 3.257 MB / 4.81 GB, free: 43.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/13.73, allocations: 4.594 kB / 4.81 GB, free: 43.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/13.73, allocations: 223.5 kB / 4.81 GB, free: 43.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/13.73, allocations: 75.84 kB / 4.81 GB, free: 43.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/13.73, allocations: 13.78 kB / 4.81 GB, free: 43.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/13.73, allocations: 2.641 MB / 4.812 GB, free: 41.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/13.73, allocations: 0 / 4.812 GB, free: 41.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/13.73, allocations: 1.922 MB / 4.814 GB, free: 40.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/13.73, allocations: 380 kB / 4.815 GB, free: 40.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004882/13.73, allocations: 11.19 kB / 4.815 GB, free: 40.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/13.74, allocations: 142.8 kB / 4.815 GB, free: 40.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/13.74, allocations: 71.8 kB / 4.815 GB, free: 40.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.042e-05/13.74, allocations: 45.67 kB / 4.815 GB, free: 40.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00174/13.74, allocations: 0.9321 MB / 4.816 GB, free: 40.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.413e-06/13.74, allocations: 0 / 4.816 GB, free: 40.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005484/13.74, allocations: 1.182 MB / 4.817 GB, free: 40.47 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.009869/13.75, allocations: 6.132 MB / 4.823 GB, free: 38.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004038/13.76, allocations: 2.137 MB / 4.825 GB, free: 37.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/13.76, allocations: 3.719 kB / 4.825 GB, free: 37.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000964/13.76, allocations: 0.6972 MB / 4.826 GB, free: 37.53 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005609/13.76, allocations: 0.9486 MB / 4.827 GB, free: 37.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/13.78, allocations: 3.679 MB / 4.83 GB, free: 36.58 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001959/13.78, allocations: 1.652 MB / 4.832 GB, free: 35.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004387/13.78, allocations: 0.693 MB / 4.833 GB, free: 35.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/13.79, allocations: 0.8445 MB / 4.833 GB, free: 35.82 MB / 0.698 GB Notification: Performance of SimCode: time 2.004e-06/13.79, allocations: 0 / 4.833 GB, free: 35.82 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1461/13.93, allocations: 77.42 MB / 4.909 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/13.93, allocations: 174 kB / 4.909 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.296/19.23, allocations: 0 / 4.909 GB, free: 0.9141 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)