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.7709/0.7709, allocations: 127.3 MB / 139.8 MB, free: 15.42 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.001339/0.001338, allocations: 180.8 kB / 169.7 MB, free: 1.727 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.901/1.901, allocations: 205.1 MB / 404.5 MB, free: 1.586 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.0009597/0.0009597, allocations: 90.34 kB / 481.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.27e-05, allocations: 0 / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1765, allocations: 76.76 MB / 0.6282 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.718/5.895, allocations: 2.206 GB / 2.834 GB, free: 68.65 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/5.895, allocations: 97.83 kB / 2.834 GB, free: 68.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.542/14.44, allocations: 2.047 GB / 4.881 GB, free: 55.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.525e-06/14.44, allocations: 0 / 4.881 GB, free: 55.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005185/14.44, allocations: 57.58 kB / 4.881 GB, free: 55.8 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.009618/14.45, allocations: 2.495 MB / 4.883 GB, free: 54.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/14.45, allocations: 8.5 kB / 4.883 GB, free: 54.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009251/14.45, allocations: 206.7 kB / 4.884 GB, free: 54.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005942/14.45, allocations: 0.7668 MB / 4.884 GB, free: 54.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008839/14.46, allocations: 2.256 MB / 4.886 GB, free: 53.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/14.46, allocations: 110.7 kB / 4.887 GB, free: 53.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007633/14.46, allocations: 150.7 kB / 4.887 GB, free: 53.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005166/14.47, allocations: 1.604 MB / 4.888 GB, free: 53.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.91e-05/14.47, allocations: 3.938 kB / 4.888 GB, free: 53.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003904/14.47, allocations: 64.77 kB / 4.888 GB, free: 53.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.651e-05/14.47, allocations: 47.25 kB / 4.888 GB, free: 53.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00324/14.47, allocations: 1.207 MB / 4.89 GB, free: 53.49 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.01326/14.49, allocations: 7.611 MB / 4.897 GB, free: 49.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/14.49, allocations: 1.376 MB / 4.898 GB, free: 48.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000675/14.49, allocations: 400.3 kB / 4.899 GB, free: 48.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009703/14.49, allocations: 0.6652 MB / 4.899 GB, free: 48.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/14.49, allocations: 0.5483 MB / 4.9 GB, free: 47.91 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001379/14.49, allocations: 132 kB / 4.9 GB, free: 47.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=81): time 1.126e-05/14.49, allocations: 3.688 kB / 4.9 GB, free: 47.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=81): time 0.002816/14.5, allocations: 0.9245 MB / 4.901 GB, free: 47.72 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/14.5, allocations: 308 kB / 4.901 GB, free: 47.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003415/14.5, allocations: 1.4 MB / 4.903 GB, free: 47.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/14.5, allocations: 47.58 kB / 4.903 GB, free: 47.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/14.5, allocations: 0.9891 MB / 4.904 GB, free: 46.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003023/14.5, allocations: 288.6 kB / 4.904 GB, free: 46.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.929e-05/14.5, allocations: 22.5 kB / 4.904 GB, free: 46.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001116/14.5, allocations: 349.6 kB / 4.904 GB, free: 46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006256/14.5, allocations: 359 kB / 4.905 GB, free: 45.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009861/14.5, allocations: 0.7711 MB / 4.905 GB, free: 45.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/14.5, allocations: 498.3 kB / 4.906 GB, free: 45.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/14.5, allocations: 9.453 kB / 4.906 GB, free: 45.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00248/14.51, allocations: 1.272 MB / 4.907 GB, free: 44.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001082/14.51, allocations: 3.687 MB / 4.911 GB, free: 40.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.785e-05/14.51, allocations: 7.688 kB / 4.911 GB, free: 40.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-05/14.51, allocations: 18.5 kB / 4.911 GB, free: 40.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/14.51, allocations: 273 kB / 4.911 GB, free: 40.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.66e-05/14.51, allocations: 17.69 kB / 4.911 GB, free: 40.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/14.51, allocations: 157.6 kB / 4.911 GB, free: 40.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/14.51, allocations: 53.3 kB / 4.911 GB, free: 40.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/14.51, allocations: 6.781 kB / 4.911 GB, free: 40.52 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001897/14.51, allocations: 1.092 MB / 4.912 GB, free: 40.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/14.51, allocations: 7.281 kB / 4.912 GB, free: 40.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/14.51, allocations: 17.59 kB / 4.912 GB, free: 40.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/14.51, allocations: 258.5 kB / 4.913 GB, free: 40.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.757e-05/14.51, allocations: 26.67 kB / 4.913 GB, free: 40.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/14.52, allocations: 139.8 kB / 4.913 GB, free: 40.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/14.52, allocations: 50.47 kB / 4.913 GB, free: 40.03 MB / 0.698 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 () * 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.0003735/14.52, allocations: 178.1 kB / 4.913 GB, free: 39.87 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005476/14.52, allocations: 184.3 kB / 4.913 GB, free: 39.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/14.52, allocations: 0.9706 MB / 4.914 GB, free: 39.37 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/14.52, allocations: 6.938 kB / 4.914 GB, free: 39.37 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/14.52, allocations: 0 / 4.914 GB, free: 39.37 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001225/14.52, allocations: 1.034 MB / 4.915 GB, free: 38.69 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.005956/14.53, allocations: 2.708 MB / 4.918 GB, free: 37.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/14.53, allocations: 0 / 4.918 GB, free: 37.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008894/14.53, allocations: 177.3 kB / 4.918 GB, free: 37.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/14.53, allocations: 44.97 kB / 4.918 GB, free: 37.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.228e-05/14.53, allocations: 22.47 kB / 4.918 GB, free: 37.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/14.53, allocations: 1.416 MB / 4.919 GB, free: 35.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/14.53, allocations: 2.875 kB / 4.919 GB, free: 35.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/14.53, allocations: 1.462 MB / 4.921 GB, free: 35.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/14.53, allocations: 352.3 kB / 4.921 GB, free: 34.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005406/14.53, allocations: 21.98 kB / 4.921 GB, free: 34.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/14.53, allocations: 145 kB / 4.921 GB, free: 34.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/14.53, allocations: 56.56 kB / 4.921 GB, free: 34.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/14.53, allocations: 37.48 kB / 4.921 GB, free: 34.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002281/14.54, allocations: 1.069 MB / 4.922 GB, free: 34.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.11e-07/14.54, allocations: 0.5312 kB / 4.922 GB, free: 34.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006024/14.54, allocations: 1.342 MB / 4.924 GB, free: 34.07 MB / 0.698 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) * 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.01177/14.55, allocations: 5.629 MB / 4.929 GB, free: 31.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003694/14.56, allocations: 1.673 MB / 4.931 GB, free: 29.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/14.56, allocations: 8 kB / 4.931 GB, free: 29.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009774/14.56, allocations: 0.4988 MB / 4.931 GB, free: 29.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004921/14.56, allocations: 0.8233 MB / 4.932 GB, free: 28.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/14.58, allocations: 3.414 MB / 4.935 GB, free: 25.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/14.58, allocations: 1.561 MB / 4.937 GB, free: 24.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003988/14.58, allocations: 0.6793 MB / 4.938 GB, free: 23.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/14.58, allocations: 0.7666 MB / 4.938 GB, free: 23.19 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/14.58, allocations: 3.938 kB / 4.938 GB, free: 23.19 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7485/15.33, allocations: 101.2 MB / 5.037 GB, free: 69.56 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/15.33, allocations: 222.6 kB / 5.037 GB, free: 69.34 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.729/21.06, allocations: 2.312 kB / 5.037 GB, free: 69.34 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)