Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.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_T,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_T",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.7909/0.7909, allocations: 128.7 MB / 143.7 MB, free: 2.312 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.001139/0.001139, allocations: 188.4 kB / 173.8 MB, free: 6.113 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.494/1.494, allocations: 205.4 MB / 409 MB, free: 10.5 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.0009024/0.0009025, allocations: 93.33 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 13.84 kB / 0.5604 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1387, allocations: 76.76 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.403/4.542, allocations: 2.206 GB / 2.841 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/4.542, allocations: 102.7 kB / 2.841 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.05/11.59, allocations: 2.049 GB / 4.89 GB, free: 72.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.863e-06/11.59, allocations: 0 / 4.89 GB, free: 72.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002491/11.59, allocations: 63.05 kB / 4.89 GB, free: 72.05 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.008029/11.6, allocations: 3.006 MB / 4.893 GB, free: 70.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/11.6, allocations: 10.72 kB / 4.893 GB, free: 70.89 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005426/11.6, allocations: 207.8 kB / 4.893 GB, free: 70.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00483/11.61, allocations: 0.7703 MB / 4.894 GB, free: 70.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005905/11.61, allocations: 2.272 MB / 4.896 GB, free: 70.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.712e-05/11.61, allocations: 118.7 kB / 4.896 GB, free: 70.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002443/11.61, allocations: 151.8 kB / 4.897 GB, free: 70.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00313/11.62, allocations: 1.685 MB / 4.898 GB, free: 70.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/11.62, allocations: 1.312 kB / 4.898 GB, free: 70.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/11.62, allocations: 59.44 kB / 4.898 GB, free: 70.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.12e-05/11.62, allocations: 58.83 kB / 4.898 GB, free: 70.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/11.62, allocations: 1.351 MB / 4.9 GB, free: 70.05 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.009412/11.63, allocations: 7.605 MB / 4.907 GB, free: 66.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/11.63, allocations: 1.51 MB / 4.909 GB, free: 65.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008756/11.63, allocations: 0.6597 MB / 4.909 GB, free: 64.74 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/11.63, allocations: 0.607 MB / 4.91 GB, free: 64.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008971/11.63, allocations: 132.8 kB / 4.91 GB, free: 64.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=81): time 2.736e-06/11.63, allocations: 0 / 4.91 GB, free: 64.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81): time 0.003395/11.64, allocations: 1.489 MB / 4.911 GB, free: 64.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/11.64, allocations: 294.2 kB / 4.912 GB, free: 64.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/11.64, allocations: 1.428 MB / 4.913 GB, free: 63.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/11.64, allocations: 46.42 kB / 4.913 GB, free: 63.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007253/11.64, allocations: 0.9869 MB / 4.914 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/11.64, allocations: 288.6 kB / 4.914 GB, free: 63.26 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/11.64, allocations: 23.72 kB / 4.914 GB, free: 63.26 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.57e-05/11.64, allocations: 348.1 kB / 4.915 GB, free: 62.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008278/11.64, allocations: 420.1 kB / 4.915 GB, free: 62.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/11.64, allocations: 0.8365 MB / 4.916 GB, free: 62.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009419/11.64, allocations: 0.5372 MB / 4.916 GB, free: 62.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/11.64, allocations: 7.047 kB / 4.916 GB, free: 62.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002506/11.64, allocations: 1.41 MB / 4.918 GB, free: 62.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008962/11.65, allocations: 3.683 MB / 4.921 GB, free: 58.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-05/11.65, allocations: 15.98 kB / 4.921 GB, free: 58.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.237e-05/11.65, allocations: 16.44 kB / 4.921 GB, free: 58.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/11.65, allocations: 261.6 kB / 4.922 GB, free: 58.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.543e-05/11.65, allocations: 25.03 kB / 4.922 GB, free: 58.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/11.65, allocations: 158.8 kB / 4.922 GB, free: 58.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/11.65, allocations: 48.31 kB / 4.922 GB, free: 58.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/11.65, allocations: 3.594 kB / 4.922 GB, free: 58.39 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002186/11.65, allocations: 1.182 MB / 4.923 GB, free: 58.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.911e-05/11.65, allocations: 11.16 kB / 4.923 GB, free: 58.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/11.65, allocations: 17.34 kB / 4.923 GB, free: 58.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/11.65, allocations: 261.8 kB / 4.923 GB, free: 58.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.674e-05/11.65, allocations: 17.97 kB / 4.923 GB, free: 58.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/11.65, allocations: 140.9 kB / 4.923 GB, free: 58.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/11.65, allocations: 51.97 kB / 4.924 GB, free: 58.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (138): * Single equations (assignments): 134 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001494/11.66, allocations: 0.5565 MB / 4.924 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/11.66, allocations: 189 kB / 4.924 GB, free: 58.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/11.66, allocations: 1.082 MB / 4.925 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/11.66, allocations: 6.594 kB / 4.925 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/11.66, allocations: 3.75 kB / 4.925 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001836/11.66, allocations: 1.149 MB / 4.926 GB, free: 57.5 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.006749/11.67, allocations: 2.732 MB / 4.929 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/11.67, allocations: 0 / 4.929 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009467/11.67, allocations: 179.5 kB / 4.929 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002363/11.67, allocations: 38.45 kB / 4.929 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-05/11.67, allocations: 25.66 kB / 4.929 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/11.67, allocations: 1.426 MB / 4.931 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/11.67, allocations: 6.172 kB / 4.931 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/11.67, allocations: 1.644 MB / 4.932 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/11.67, allocations: 353.5 kB / 4.933 GB, free: 55.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005573/11.68, allocations: 20.03 kB / 4.933 GB, free: 55.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/11.68, allocations: 146.2 kB / 4.933 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/11.68, allocations: 62 kB / 4.933 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-05/11.68, allocations: 29.47 kB / 4.933 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002366/11.68, allocations: 1.092 MB / 4.934 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/11.68, allocations: 0 / 4.934 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005491/11.69, allocations: 1.338 MB / 4.935 GB, free: 54.9 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * 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 (81): * Single equations (assignments): 78 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009489/11.69, allocations: 5.87 MB / 4.941 GB, free: 52.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003704/11.7, allocations: 1.774 MB / 4.943 GB, free: 52.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/11.7, allocations: 0 / 4.943 GB, free: 52.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/11.7, allocations: 0.5638 MB / 4.943 GB, free: 52.37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/11.7, allocations: 0.8192 MB / 4.944 GB, free: 52.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/11.72, allocations: 11.86 MB / 4.956 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/11.72, allocations: 1.553 MB / 4.957 GB, free: 42.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002653/11.72, allocations: 472.1 kB / 4.958 GB, free: 42.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/11.72, allocations: 0.7891 MB / 4.958 GB, free: 42.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.163e-06/11.72, allocations: 0 / 4.958 GB, free: 42.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.126/11.85, allocations: 90.38 MB / 5.047 GB, free: 29.94 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/11.85, allocations: 255.4 kB / 5.047 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.209/17.06, allocations: 4 kB / 5.047 GB, free: 29.61 MB / 0.7136 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)