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.7126/0.7126, allocations: 128.7 MB / 143.7 MB, free: 2.309 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.001121/0.001121, allocations: 182 kB / 173.7 MB, free: 6.129 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.539/1.539, allocations: 205.4 MB / 409 MB, free: 10.53 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.001211/0.001211, allocations: 88.28 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 9.531 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1646, allocations: 76.77 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.623/4.788, allocations: 2.199 GB / 2.834 GB, free: 171.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/4.788, allocations: 98.91 kB / 2.835 GB, free: 171.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.451/11.24, allocations: 1.967 GB / 4.801 GB, free: 16.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/11.24, allocations: 4 kB / 4.801 GB, free: 16.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003953/11.24, allocations: 67.86 kB / 4.802 GB, free: 16.12 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.01022/11.25, allocations: 3.197 MB / 4.805 GB, free: 12.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/11.25, allocations: 12.03 kB / 4.805 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009578/11.25, allocations: 228 kB / 4.805 GB, free: 12.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005712/11.26, allocations: 0.7773 MB / 4.806 GB, free: 11.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007577/11.26, allocations: 2.458 MB / 4.808 GB, free: 9.312 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/11.26, allocations: 127.8 kB / 4.808 GB, free: 9.188 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006143/11.27, allocations: 164 kB / 4.808 GB, free: 9.027 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004878/11.27, allocations: 1.898 MB / 4.81 GB, free: 7.055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.828e-05/11.27, allocations: 4 kB / 4.81 GB, free: 7.051 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000322/11.27, allocations: 68 kB / 4.81 GB, free: 6.984 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.957e-05/11.27, allocations: 58.98 kB / 4.81 GB, free: 6.926 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003533/11.27, allocations: 1.534 MB / 4.812 GB, free: 5.387 MB / 0.698 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.01318/11.29, allocations: 8.261 MB / 4.82 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/11.29, allocations: 1.752 MB / 4.822 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003803/11.29, allocations: 127.2 kB / 4.822 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001686/11.29, allocations: 0.7343 MB / 4.822 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001345/11.29, allocations: 123.2 kB / 4.823 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=99): time 7.104e-06/11.29, allocations: 0 / 4.823 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=102): time 0.01034/11.3, allocations: 3.845 MB / 4.826 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/11.3, allocations: 311.6 kB / 4.827 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003152/11.31, allocations: 1.398 MB / 4.828 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002346/11.31, allocations: 53.7 kB / 4.828 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/11.31, allocations: 1.022 MB / 4.829 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003987/11.31, allocations: 358.9 kB / 4.829 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/11.31, allocations: 20 kB / 4.829 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001493/11.31, allocations: 353.9 kB / 4.83 GB, free: 2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/11.31, allocations: 0.4945 MB / 4.83 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/11.31, allocations: 0.9093 MB / 4.831 GB, free: 440 kB / 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.4414/11.75, allocations: 2.331 MB / 4.833 GB, free: 72.17 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/11.75, allocations: 3.469 kB / 4.833 GB, free: 72.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.004319/11.76, allocations: 1.715 MB / 4.835 GB, free: 71.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007021/11.76, allocations: 3.229 MB / 4.838 GB, free: 68.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-05/11.76, allocations: 9.062 kB / 4.838 GB, free: 68.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/11.76, allocations: 50.09 kB / 4.838 GB, free: 68.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/11.76, allocations: 290.6 kB / 4.839 GB, free: 68.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/11.76, allocations: 1.565 MB / 4.84 GB, free: 67.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/11.76, allocations: 161.7 kB / 4.84 GB, free: 67.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/11.76, allocations: 60.17 kB / 4.84 GB, free: 67.31 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/11.76, allocations: 2.25 kB / 4.84 GB, free: 67.31 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002893/11.77, allocations: 1.475 MB / 4.842 GB, free: 67.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.849e-05/11.77, allocations: 8.922 kB / 4.842 GB, free: 67.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001274/11.77, allocations: 52.05 kB / 4.842 GB, free: 67.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/11.77, allocations: 278.3 kB / 4.842 GB, free: 67.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/11.77, allocations: 1.563 MB / 4.844 GB, free: 65.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/11.77, allocations: 153.2 kB / 4.844 GB, free: 65.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/11.77, allocations: 60.39 kB / 4.844 GB, free: 65.83 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.001608/11.77, allocations: 0.6052 MB / 4.844 GB, free: 65.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005925/11.77, allocations: 200.9 kB / 4.845 GB, free: 65.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003341/11.78, allocations: 1.429 MB / 4.846 GB, free: 65.44 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/11.78, allocations: 17.23 kB / 4.846 GB, free: 65.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/11.78, allocations: 1.719 kB / 4.846 GB, free: 65.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002131/11.78, allocations: 1.17 MB / 4.847 GB, free: 65.24 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.007091/11.79, allocations: 3.543 MB / 4.851 GB, free: 64.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/11.79, allocations: 0 / 4.851 GB, free: 64.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/11.79, allocations: 227.2 kB / 4.851 GB, free: 64.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000214/11.79, allocations: 73.67 kB / 4.851 GB, free: 64.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.374e-05/11.79, allocations: 33.94 kB / 4.851 GB, free: 64.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/11.79, allocations: 2.914 MB / 4.854 GB, free: 61.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/11.79, allocations: 0 / 4.854 GB, free: 61.92 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003548/11.79, allocations: 2.134 MB / 4.856 GB, free: 61.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/11.79, allocations: 388.4 kB / 4.856 GB, free: 61.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005143/11.8, allocations: 27.86 kB / 4.856 GB, free: 61.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/11.8, allocations: 166.4 kB / 4.856 GB, free: 61.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/11.8, allocations: 68.92 kB / 4.856 GB, free: 61.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/11.8, allocations: 44.47 kB / 4.856 GB, free: 61.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002151/11.8, allocations: 1.08 MB / 4.858 GB, free: 61.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/11.8, allocations: 0 / 4.858 GB, free: 61.29 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005487/11.81, allocations: 1.321 MB / 4.859 GB, free: 61.29 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.01113/11.82, allocations: 6.193 MB / 4.865 GB, free: 59.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00476/11.82, allocations: 2.35 MB / 4.867 GB, free: 58.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/11.82, allocations: 6.312 kB / 4.867 GB, free: 58.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/11.82, allocations: 0.8014 MB / 4.868 GB, free: 58.38 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005161/11.83, allocations: 1.009 MB / 4.869 GB, free: 58.35 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/11.84, allocations: 11.68 MB / 4.88 GB, free: 50.04 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002208/11.85, allocations: 1.652 MB / 4.882 GB, free: 49.31 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004097/11.85, allocations: 0.5166 MB / 4.882 GB, free: 49.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001704/11.85, allocations: 0.8656 MB / 4.883 GB, free: 49.29 MB / 0.7136 GB Notification: Performance of SimCode: time 1.573e-06/11.85, allocations: 0 / 4.883 GB, free: 49.29 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1501/12, allocations: 98.02 MB / 4.979 GB, free: 45.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/12, allocations: 238.2 kB / 4.979 GB, free: 45.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.236/17.24, allocations: 0 / 4.979 GB, free: 45.27 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)