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.7887/0.7887, allocations: 127.3 MB / 139.8 MB, free: 15.49 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.001646/0.001646, allocations: 184.8 kB / 169.7 MB, free: 1.738 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.946/1.946, allocations: 205.1 MB / 404.5 MB, free: 1.559 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.001041/0.001041, allocations: 82.3 kB / 481.8 MB, free: 4.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.966e-05/3.969e-05, allocations: 0 / 0.5533 GB, free: 54.72 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2031, allocations: 76.76 MB / 0.6282 GB, free: 9.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.015/6.218, allocations: 2.161 GB / 2.789 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/6.218, allocations: 87.95 kB / 2.789 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.192/10.41, allocations: 1.049 GB / 3.838 GB, free: 68.38 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.537e-06/10.41, allocations: 0 / 3.838 GB, free: 68.38 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003636/10.41, allocations: 51.78 kB / 3.838 GB, free: 68.36 MB / 0.6667 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.01354/10.42, allocations: 2.168 MB / 3.84 GB, free: 67.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.246e-05/10.42, allocations: 10.16 kB / 3.84 GB, free: 67.3 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001064/10.43, allocations: 204 kB / 3.841 GB, free: 67.26 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006473/10.43, allocations: 0.5184 MB / 3.841 GB, free: 67.16 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006469/10.44, allocations: 1.318 MB / 3.842 GB, free: 66.73 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/10.44, allocations: 105.4 kB / 3.842 GB, free: 66.73 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008561/10.44, allocations: 145 kB / 3.843 GB, free: 66.73 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006871/10.45, allocations: 1.621 MB / 3.844 GB, free: 66.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/10.45, allocations: 6.094 kB / 3.844 GB, free: 66.49 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000461/10.45, allocations: 56.25 kB / 3.844 GB, free: 66.49 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/10.45, allocations: 59.84 kB / 3.844 GB, free: 66.49 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004777/10.45, allocations: 1.354 MB / 3.846 GB, free: 66.46 MB / 0.6667 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.0159/10.47, allocations: 7.176 MB / 3.853 GB, free: 62.84 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/10.47, allocations: 1.148 MB / 3.854 GB, free: 62.62 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008078/10.47, allocations: 0.571 MB / 3.854 GB, free: 62.61 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008792/10.47, allocations: 0.8694 MB / 3.855 GB, free: 61.66 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/10.47, allocations: 0.5889 MB / 3.856 GB, free: 61.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=109): time 5.49e-06/10.47, allocations: 3.938 kB / 3.856 GB, free: 61.59 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109): time 0.003357/10.48, allocations: 1.1 MB / 3.857 GB, free: 61.46 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/10.48, allocations: 89.45 kB / 3.857 GB, free: 61.37 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/10.48, allocations: 1.027 MB / 3.858 GB, free: 61.21 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/10.48, allocations: 49.92 kB / 3.858 GB, free: 61.18 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007883/10.48, allocations: 0.6982 MB / 3.859 GB, free: 60.93 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004513/10.48, allocations: 381.2 kB / 3.859 GB, free: 60.69 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/10.48, allocations: 18.75 kB / 3.859 GB, free: 60.69 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001183/10.48, allocations: 341.3 kB / 3.859 GB, free: 60.39 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008709/10.48, allocations: 391.1 kB / 3.86 GB, free: 60.26 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/10.48, allocations: 0.5576 MB / 3.86 GB, free: 59.93 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/10.48, allocations: 474.1 kB / 3.861 GB, free: 59.75 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/10.48, allocations: 3.094 kB / 3.861 GB, free: 59.75 MB / 0.6667 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003236/10.49, allocations: 1.155 MB / 3.862 GB, free: 59.28 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004047/10.49, allocations: 0.8964 MB / 3.863 GB, free: 58.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/10.49, allocations: 7.141 kB / 3.863 GB, free: 58.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.474e-05/10.49, allocations: 7.812 kB / 3.863 GB, free: 58.35 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/10.49, allocations: 218.2 kB / 3.863 GB, free: 58.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.768e-05/10.49, allocations: 7 kB / 3.863 GB, free: 58.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/10.49, allocations: 171.3 kB / 3.863 GB, free: 58.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/10.49, allocations: 40.02 kB / 3.863 GB, free: 58.26 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/10.49, allocations: 8.531 kB / 3.863 GB, free: 58.25 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002178/10.5, allocations: 0.9952 MB / 3.864 GB, free: 57.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/10.5, allocations: 7.656 kB / 3.864 GB, free: 57.88 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/10.5, allocations: 7.562 kB / 3.864 GB, free: 57.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/10.5, allocations: 212 kB / 3.864 GB, free: 57.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/10.5, allocations: 11.75 kB / 3.864 GB, free: 57.85 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/10.5, allocations: 161.8 kB / 3.865 GB, free: 57.79 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/10.5, allocations: 38.22 kB / 3.865 GB, free: 57.78 MB / 0.6667 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.0004382/10.5, allocations: 170.6 kB / 3.865 GB, free: 57.62 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000443/10.5, allocations: 147.5 kB / 3.865 GB, free: 57.55 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/10.5, allocations: 1.19 MB / 3.866 GB, free: 57.06 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/10.5, allocations: 11.5 kB / 3.866 GB, free: 57.06 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/10.5, allocations: 3.938 kB / 3.866 GB, free: 57.05 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002214/10.51, allocations: 0.9622 MB / 3.867 GB, free: 56.67 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008175/10.51, allocations: 3.103 MB / 3.87 GB, free: 55.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/10.51, allocations: 6.734 kB / 3.87 GB, free: 55.13 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/10.52, allocations: 235.4 kB / 3.87 GB, free: 55.11 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-05/10.52, allocations: 11.52 kB / 3.87 GB, free: 55.11 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/10.52, allocations: 37.88 kB / 3.87 GB, free: 55.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.6e-05/10.52, allocations: 5.906 kB / 3.87 GB, free: 55.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.056e-06/10.52, allocations: 6.828 kB / 3.87 GB, free: 55.09 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004499/10.52, allocations: 2.029 MB / 3.872 GB, free: 53.98 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/10.52, allocations: 378.1 kB / 3.873 GB, free: 53.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/10.52, allocations: 26.66 kB / 3.873 GB, free: 53.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/10.52, allocations: 121.4 kB / 3.873 GB, free: 53.68 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/10.52, allocations: 70.92 kB / 3.873 GB, free: 53.67 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/10.52, allocations: 39.59 kB / 3.873 GB, free: 53.66 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001705/10.53, allocations: 0.806 MB / 3.874 GB, free: 53.32 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.62e-07/10.53, allocations: 3.719 kB / 3.874 GB, free: 53.32 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004675/10.53, allocations: 1.103 MB / 3.875 GB, free: 53.02 MB / 0.6667 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.01198/10.54, allocations: 5.987 MB / 3.881 GB, free: 49.68 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005047/10.55, allocations: 1.593 MB / 3.882 GB, free: 48.49 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/10.55, allocations: 0 / 3.882 GB, free: 48.49 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/10.55, allocations: 0.5285 MB / 3.883 GB, free: 48 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00731/10.56, allocations: 0.8146 MB / 3.883 GB, free: 47.41 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/10.57, allocations: 3.129 MB / 3.887 GB, free: 44.61 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/10.57, allocations: 1.409 MB / 3.888 GB, free: 43.43 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.005504/10.58, allocations: 0.5817 MB / 3.888 GB, free: 43.01 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/10.58, allocations: 0.6092 MB / 3.889 GB, free: 42.46 MB / 0.6667 GB Notification: Performance of SimCode: time 1.694e-06/10.58, allocations: 4 kB / 3.889 GB, free: 42.45 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7229/11.3, allocations: 87.55 MB / 3.975 GB, free: 88.58 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/11.3, allocations: 204.2 kB / 3.975 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.555/16.86, allocations: 0 / 3.975 GB, free: 88.36 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)