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.7376/0.7376, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 184.8 kB / 169.7 MB, free: 1.738 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.912/1.912, allocations: 205.1 MB / 404.5 MB, free: 1.59 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.001105/0.001105, allocations: 86.45 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.464e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1746, allocations: 76.75 MB / 0.6282 GB, free: 9.949 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.805/5.98, allocations: 2.199 GB / 2.827 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/5.98, allocations: 94.89 kB / 2.827 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.945/13.93, allocations: 1.965 GB / 4.792 GB, free: 61.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/13.93, allocations: 0 / 4.792 GB, free: 61.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003417/13.93, allocations: 68.19 kB / 4.792 GB, free: 61.37 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.0101/13.94, allocations: 2.662 MB / 4.795 GB, free: 60.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/13.94, allocations: 10.94 kB / 4.795 GB, free: 60.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000855/13.94, allocations: 228.3 kB / 4.795 GB, free: 60.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006029/13.94, allocations: 0.7775 MB / 4.796 GB, free: 60.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008378/13.95, allocations: 2.424 MB / 4.798 GB, free: 59.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/13.95, allocations: 123.8 kB / 4.798 GB, free: 59.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005754/13.95, allocations: 182.8 kB / 4.799 GB, free: 59.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004032/13.96, allocations: 1.809 MB / 4.8 GB, free: 59.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.159e-05/13.96, allocations: 5.203 kB / 4.8 GB, free: 59.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/13.96, allocations: 64.97 kB / 4.8 GB, free: 59.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.714e-05/13.96, allocations: 63.89 kB / 4.8 GB, free: 59.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/13.96, allocations: 1.398 MB / 4.802 GB, free: 59.57 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.01399/13.97, allocations: 8.273 MB / 4.81 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/13.98, allocations: 1.618 MB / 4.811 GB, free: 54.88 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008366/13.98, allocations: 0.5393 MB / 4.812 GB, free: 54.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003224/13.98, allocations: 121.2 kB / 4.812 GB, free: 54.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/13.98, allocations: 0.6702 MB / 4.813 GB, free: 54.66 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00153/13.98, allocations: 131.5 kB / 4.813 GB, free: 54.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 6.042e-06/13.98, allocations: 0 / 4.813 GB, free: 54.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=102): time 0.007943/13.99, allocations: 3.058 MB / 4.816 GB, free: 53.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/13.99, allocations: 303.4 kB / 4.816 GB, free: 53.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/13.99, allocations: 1.381 MB / 4.817 GB, free: 53.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001963/13.99, allocations: 53.36 kB / 4.818 GB, free: 53.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/13.99, allocations: 1.014 MB / 4.819 GB, free: 52.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/13.99, allocations: 365.1 kB / 4.819 GB, free: 52.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/13.99, allocations: 20.09 kB / 4.819 GB, free: 52.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002044/13.99, allocations: 360.7 kB / 4.819 GB, free: 52.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007956/13.99, allocations: 438.1 kB / 4.82 GB, free: 52.13 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009981/13.99, allocations: 0.8395 MB / 4.82 GB, free: 51.69 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.008798/14, allocations: 2.195 MB / 4.823 GB, free: 51.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.37e-05/14, allocations: 6.188 kB / 4.823 GB, free: 51.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.00325/14.01, allocations: 1.574 MB / 4.824 GB, free: 51.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00091/14.01, allocations: 3.234 MB / 4.827 GB, free: 47.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.199e-05/14.01, allocations: 9.812 kB / 4.827 GB, free: 47.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001951/14.01, allocations: 41.23 kB / 4.827 GB, free: 47.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/14.01, allocations: 290.9 kB / 4.828 GB, free: 47.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/14.01, allocations: 1.49 MB / 4.829 GB, free: 46.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/14.01, allocations: 168.8 kB / 4.829 GB, free: 46.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/14.01, allocations: 57.47 kB / 4.829 GB, free: 46.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/14.01, allocations: 5.906 kB / 4.829 GB, free: 46.51 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002398/14.02, allocations: 1.369 MB / 4.831 GB, free: 46.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/14.02, allocations: 10.81 kB / 4.831 GB, free: 46.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/14.02, allocations: 50.52 kB / 4.831 GB, free: 46.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/14.02, allocations: 281.2 kB / 4.831 GB, free: 46.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/14.02, allocations: 1.481 MB / 4.832 GB, free: 45.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/14.02, allocations: 155.3 kB / 4.833 GB, free: 45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/14.02, allocations: 54.5 kB / 4.833 GB, free: 45 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.002786/14.02, allocations: 187.7 kB / 4.833 GB, free: 60.89 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000787/14.02, allocations: 202.1 kB / 4.833 GB, free: 60.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/14.03, allocations: 1.297 MB / 4.834 GB, free: 60.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/14.03, allocations: 15.75 kB / 4.834 GB, free: 60.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/14.03, allocations: 3.953 kB / 4.834 GB, free: 60.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001622/14.03, allocations: 1.038 MB / 4.835 GB, free: 60.4 MB / 0.7136 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.007516/14.04, allocations: 3.455 MB / 4.839 GB, free: 59.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/14.04, allocations: 10.16 kB / 4.839 GB, free: 59.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/14.04, allocations: 225.5 kB / 4.839 GB, free: 59.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002172/14.04, allocations: 68.41 kB / 4.839 GB, free: 59.56 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.202e-05/14.04, allocations: 26.39 kB / 4.839 GB, free: 59.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/14.04, allocations: 2.728 MB / 4.842 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/14.04, allocations: 3.781 kB / 4.842 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003429/14.04, allocations: 1.933 MB / 4.844 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/14.05, allocations: 387.9 kB / 4.844 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/14.05, allocations: 27.23 kB / 4.844 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/14.05, allocations: 165 kB / 4.844 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/14.05, allocations: 71.95 kB / 4.844 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.116e-05/14.05, allocations: 40.28 kB / 4.844 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002088/14.05, allocations: 1.059 MB / 4.845 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.4e-07/14.05, allocations: 2.188 kB / 4.845 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006122/14.06, allocations: 1.319 MB / 4.847 GB, free: 56.21 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) * 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.01031/14.07, allocations: 5.981 MB / 4.852 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004528/14.07, allocations: 2.237 MB / 4.855 GB, free: 53.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/14.07, allocations: 3.5 kB / 4.855 GB, free: 53.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/14.07, allocations: 0.7406 MB / 4.855 GB, free: 53.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006073/14.08, allocations: 0.9921 MB / 4.856 GB, free: 53.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/14.09, allocations: 3.781 MB / 4.86 GB, free: 52.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/14.09, allocations: 1.66 MB / 4.862 GB, free: 51.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003666/14.09, allocations: 0.7145 MB / 4.862 GB, free: 51.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/14.1, allocations: 0.8404 MB / 4.863 GB, free: 51.53 MB / 0.7136 GB Notification: Performance of SimCode: time 1.954e-06/14.1, allocations: 2.438 kB / 4.863 GB, free: 51.53 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2093/14.3, allocations: 109.1 MB / 4.97 GB, free: 26.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000258/14.3, allocations: 237.3 kB / 4.97 GB, free: 26.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.209/20.51, allocations: 0 / 4.97 GB, free: 26.52 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)