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.7978/0.7978, allocations: 127.4 MB / 134.9 MB, free: 3.723 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.00123/0.00123, allocations: 176.9 kB / 164.7 MB, free: 6.52 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.889/1.889, allocations: 205.2 MB / 399.5 MB, free: 5.914 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.001021/0.001022, allocations: 90.09 kB / 476.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.026e-05/2.025e-05, allocations: 0 / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1885, allocations: 76.77 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.7/5.889, allocations: 2.206 GB / 2.827 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/5.889, allocations: 97.88 kB / 2.827 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.966/13.86, allocations: 2.025 GB / 4.852 GB, free: 39.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.076e-06/13.86, allocations: 0 / 4.852 GB, free: 39.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005153/13.86, allocations: 62.92 kB / 4.852 GB, free: 39.57 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.01036/13.87, allocations: 2.497 MB / 4.854 GB, free: 37.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/13.87, allocations: 12.03 kB / 4.854 GB, free: 37.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005683/13.87, allocations: 0.7619 MB / 4.855 GB, free: 36.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006609/13.88, allocations: 2.247 MB / 4.857 GB, free: 34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.821e-05/13.88, allocations: 48.86 kB / 4.857 GB, free: 33.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/13.88, allocations: 88 kB / 4.857 GB, free: 33.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002096/13.88, allocations: 1.134 MB / 4.858 GB, free: 32.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/13.88, allocations: 1.391 MB / 4.86 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/13.88, allocations: 0 / 4.86 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/13.88, allocations: 4 kB / 4.86 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-05/13.88, allocations: 46.66 kB / 4.86 GB, free: 31.2 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.01047/13.89, allocations: 7.354 MB / 4.867 GB, free: 23.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/13.9, allocations: 1.353 MB / 4.868 GB, free: 21.88 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/13.9, allocations: 395.1 kB / 4.869 GB, free: 21.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009607/13.9, allocations: 0.663 MB / 4.869 GB, free: 20.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007109/13.9, allocations: 0.5108 MB / 4.87 GB, free: 20.16 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00111/13.9, allocations: 103.3 kB / 4.87 GB, free: 20.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=81): time 4.879e-06/13.9, allocations: 0 / 4.87 GB, free: 20.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=81): time 0.005457/13.9, allocations: 1.494 MB / 4.871 GB, free: 18.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.023e-05/13.9, allocations: 299.5 kB / 4.872 GB, free: 18.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/13.91, allocations: 1.277 MB / 4.873 GB, free: 16.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/13.91, allocations: 29.7 kB / 4.873 GB, free: 16.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007927/13.91, allocations: 0.963 MB / 4.874 GB, free: 15.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/13.91, allocations: 275.9 kB / 4.874 GB, free: 15.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/13.91, allocations: 4 kB / 4.874 GB, free: 15.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001019/13.91, allocations: 345.9 kB / 4.875 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/13.91, allocations: 350.5 kB / 4.875 GB, free: 14.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007205/13.91, allocations: 0.7515 MB / 4.876 GB, free: 13.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004044/13.91, allocations: 1.048 MB / 4.877 GB, free: 12.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/13.91, allocations: 4 kB / 4.877 GB, free: 12.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.005645/13.92, allocations: 1.771 MB / 4.878 GB, free: 11.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008035/13.92, allocations: 3.667 MB / 4.882 GB, free: 7.184 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/13.92, allocations: 19.98 kB / 4.882 GB, free: 7.164 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-05/13.92, allocations: 16 kB / 4.882 GB, free: 7.148 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/13.92, allocations: 263.6 kB / 4.882 GB, free: 6.891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/13.92, allocations: 19.94 kB / 4.882 GB, free: 6.871 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/13.92, allocations: 127.7 kB / 4.882 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/13.92, allocations: 59.98 kB / 4.882 GB, free: 6.688 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/13.92, allocations: 0 / 4.882 GB, free: 6.688 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004825/13.93, allocations: 1.538 MB / 4.884 GB, free: 5.148 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/13.93, allocations: 12 kB / 4.884 GB, free: 5.137 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/13.93, allocations: 16 kB / 4.884 GB, free: 5.121 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009571/13.93, allocations: 255.6 kB / 4.884 GB, free: 4.871 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/13.93, allocations: 23.92 kB / 4.884 GB, free: 4.848 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/13.93, allocations: 119.9 kB / 4.884 GB, free: 4.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.984e-05/13.93, allocations: 51.98 kB / 4.884 GB, free: 4.68 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.0003318/13.93, allocations: 139.6 kB / 4.885 GB, free: 4.539 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005024/13.94, allocations: 1.432 MB / 4.886 GB, free: 3.094 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/13.94, allocations: 181.8 kB / 4.886 GB, free: 2.914 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005142/13.94, allocations: 1.495 MB / 4.888 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/13.94, allocations: 12 kB / 4.888 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/13.94, allocations: 4 kB / 4.888 GB, free: 1.395 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6324/14.57, allocations: 1.573 MB / 4.889 GB, free: 63.35 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.01035/14.58, allocations: 3.088 MB / 4.892 GB, free: 62.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/14.58, allocations: 0.8438 kB / 4.892 GB, free: 62.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009832/14.59, allocations: 175.6 kB / 4.892 GB, free: 62.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000228/14.59, allocations: 43.83 kB / 4.892 GB, free: 62.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.222e-05/14.59, allocations: 14.72 kB / 4.892 GB, free: 62.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/14.59, allocations: 1.384 MB / 4.894 GB, free: 61.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/14.59, allocations: 1.219 kB / 4.894 GB, free: 61.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006463/14.59, allocations: 2.014 MB / 4.896 GB, free: 61.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009162/14.59, allocations: 343 kB / 4.896 GB, free: 61.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/14.59, allocations: 11.2 kB / 4.896 GB, free: 61.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/14.6, allocations: 133.3 kB / 4.896 GB, free: 61.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/14.6, allocations: 59.11 kB / 4.896 GB, free: 61.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/14.6, allocations: 37.94 kB / 4.896 GB, free: 61.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001991/14.6, allocations: 0.9464 MB / 4.897 GB, free: 61.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/14.6, allocations: 4.25 kB / 4.897 GB, free: 61.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004767/14.6, allocations: 1.225 MB / 4.898 GB, free: 61.15 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.01492/14.62, allocations: 6.338 MB / 4.905 GB, free: 59.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003621/14.62, allocations: 1.596 MB / 4.906 GB, free: 58.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/14.62, allocations: 0.9375 kB / 4.906 GB, free: 58.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/14.62, allocations: 485.7 kB / 4.907 GB, free: 58.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00566/14.63, allocations: 0.7585 MB / 4.907 GB, free: 58.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/14.64, allocations: 3.327 MB / 4.911 GB, free: 57.99 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/14.64, allocations: 1.562 MB / 4.912 GB, free: 57.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003951/14.65, allocations: 0.6526 MB / 4.913 GB, free: 57.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/14.65, allocations: 0.7656 MB / 4.913 GB, free: 57.23 MB / 0.698 GB Notification: Performance of SimCode: time 2.464e-06/14.65, allocations: 0 / 4.913 GB, free: 57.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/14.78, allocations: 70.29 MB / 4.982 GB, free: 54.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/14.78, allocations: 183.4 kB / 4.982 GB, free: 54.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.912/19.7, allocations: 2.734 kB / 4.982 GB, free: 54.4 MB / 0.698 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)