Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume",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.7566/0.7566, allocations: 127.4 MB / 134.9 MB, free: 3.758 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.001207/0.001207, allocations: 184.8 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.872/1.872, allocations: 205.2 MB / 399.5 MB, free: 5.859 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.0009602/0.0009598, allocations: 88.48 kB / 476.7 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.348e-05, allocations: 7.984 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1767, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.662/5.838, allocations: 2.16 GB / 2.782 GB, free: 30.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/5.839, allocations: 87.7 kB / 2.782 GB, free: 30.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.988/9.827, allocations: 1.038 GB / 3.82 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.013e-06/9.827, allocations: 0 / 3.82 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001455/9.827, allocations: 43.98 kB / 3.82 GB, free: 9.867 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.006244/9.833, allocations: 2.165 MB / 3.822 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/9.833, allocations: 12.03 kB / 3.822 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/9.837, allocations: 0.5126 MB / 3.822 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002567/9.839, allocations: 1.323 MB / 3.824 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.623e-05/9.839, allocations: 44 kB / 3.824 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/9.84, allocations: 80 kB / 3.824 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00227/9.842, allocations: 1.204 MB / 3.825 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/9.844, allocations: 1.43 MB / 3.826 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.612e-05/9.845, allocations: 11.86 kB / 3.826 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/9.845, allocations: 7.938 kB / 3.826 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.552e-05/9.845, allocations: 62.61 kB / 3.826 GB, free: 2.836 MB / 0.6823 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.5447/10.39, allocations: 7.006 MB / 3.833 GB, free: 76.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/10.39, allocations: 1.223 MB / 3.834 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/10.39, allocations: 0.5642 MB / 3.835 GB, free: 75.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009602/10.39, allocations: 0.8684 MB / 3.836 GB, free: 74.85 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/10.39, allocations: 0.5915 MB / 3.836 GB, free: 74.79 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=109): time 4.93e-06/10.39, allocations: 3.844 kB / 3.836 GB, free: 74.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109): time 0.003098/10.4, allocations: 1.132 MB / 3.837 GB, free: 74.69 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/10.4, allocations: 89.3 kB / 3.838 GB, free: 74.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/10.4, allocations: 0.8214 MB / 3.838 GB, free: 74.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/10.4, allocations: 27.55 kB / 3.838 GB, free: 74.42 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000801/10.4, allocations: 0.7047 MB / 3.839 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003663/10.4, allocations: 367.7 kB / 3.839 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/10.4, allocations: 0 / 3.839 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001005/10.4, allocations: 343 kB / 3.84 GB, free: 73.72 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007065/10.4, allocations: 402.2 kB / 3.84 GB, free: 73.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007465/10.4, allocations: 0.5637 MB / 3.841 GB, free: 73.56 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009495/10.4, allocations: 0.4995 MB / 3.841 GB, free: 73.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.82e-06/10.4, allocations: 0 / 3.841 GB, free: 73.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001954/10.41, allocations: 1.167 MB / 3.842 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000228/10.41, allocations: 0.8883 MB / 3.843 GB, free: 72.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/10.41, allocations: 2.344 kB / 3.843 GB, free: 72.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/10.41, allocations: 7.062 kB / 3.843 GB, free: 72.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/10.41, allocations: 238.1 kB / 3.843 GB, free: 72.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/10.41, allocations: 7.469 kB / 3.843 GB, free: 72.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/10.41, allocations: 136.5 kB / 3.844 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.694e-05/10.41, allocations: 42.62 kB / 3.844 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/10.41, allocations: 3.469 kB / 3.844 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0017/10.41, allocations: 1.003 MB / 3.845 GB, free: 72.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/10.41, allocations: 5.688 kB / 3.845 GB, free: 72.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/10.41, allocations: 3.719 kB / 3.845 GB, free: 72.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009758/10.41, allocations: 219 kB / 3.845 GB, free: 72.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/10.41, allocations: 9.938 kB / 3.845 GB, free: 72.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/10.41, allocations: 126.1 kB / 3.845 GB, free: 72.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/10.41, allocations: 40.8 kB / 3.845 GB, free: 72.43 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002924/10.41, allocations: 132.7 kB / 3.845 GB, free: 72.32 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002001/10.42, allocations: 1.088 MB / 3.846 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/10.42, allocations: 133.9 kB / 3.846 GB, free: 72.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/10.42, allocations: 1.2 MB / 3.847 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/10.42, allocations: 9.938 kB / 3.847 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/10.42, allocations: 4.438 kB / 3.847 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00168/10.42, allocations: 0.9928 MB / 3.848 GB, free: 71.94 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00613/10.43, allocations: 3.067 MB / 3.851 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/10.43, allocations: 4 kB / 3.851 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/10.43, allocations: 238.1 kB / 3.852 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/10.43, allocations: 9.156 kB / 3.852 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-05/10.43, allocations: 19.06 kB / 3.852 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.611e-05/10.43, allocations: 7.531 kB / 3.852 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/10.43, allocations: 5.75 kB / 3.852 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/10.43, allocations: 2.089 MB / 3.854 GB, free: 70.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000977/10.43, allocations: 368.9 kB / 3.854 GB, free: 70.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/10.43, allocations: 6.5 kB / 3.854 GB, free: 70.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/10.43, allocations: 104.6 kB / 3.854 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/10.43, allocations: 74.78 kB / 3.854 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/10.43, allocations: 42.47 kB / 3.854 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001271/10.43, allocations: 0.6303 MB / 3.855 GB, free: 70.57 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/10.43, allocations: 0 / 3.855 GB, free: 70.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00383/10.44, allocations: 1.006 MB / 3.856 GB, free: 70.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009864/10.45, allocations: 6.321 MB / 3.862 GB, free: 67.94 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002863/10.45, allocations: 1.61 MB / 3.864 GB, free: 67.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/10.45, allocations: 0 / 3.864 GB, free: 67.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008078/10.45, allocations: 0.5347 MB / 3.864 GB, free: 67.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004066/10.46, allocations: 0.6943 MB / 3.865 GB, free: 67.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006186/10.46, allocations: 3.072 MB / 3.868 GB, free: 67.15 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008465/10.46, allocations: 1.412 MB / 3.869 GB, free: 66.44 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002581/10.47, allocations: 0.5534 MB / 3.87 GB, free: 66.42 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007966/10.47, allocations: 0.5993 MB / 3.87 GB, free: 66.41 MB / 0.6823 GB Notification: Performance of SimCode: time 1.262e-06/10.47, allocations: 0 / 3.87 GB, free: 66.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/10.57, allocations: 57.93 MB / 3.927 GB, free: 64.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/10.57, allocations: 191.4 kB / 3.927 GB, free: 64.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.249/14.82, allocations: 0 / 3.927 GB, free: 64.1 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)