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.7343/0.7343, allocations: 128.7 MB / 143.7 MB, free: 2.324 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.001094/0.001094, allocations: 193.5 kB / 173.7 MB, free: 6.117 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.763/1.763, 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.001049/0.001049, allocations: 101.2 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003612, allocations: 9.531 kB / 0.5604 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1672, allocations: 76.77 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.915/6.082, allocations: 2.161 GB / 2.796 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/6.083, allocations: 95.44 kB / 2.796 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.809/9.892, allocations: 1.05 GB / 3.846 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.393e-06/9.892, allocations: 0 / 3.846 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001407/9.892, allocations: 54.81 kB / 3.847 GB, free: 78.54 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.00673/9.899, allocations: 2.443 MB / 3.849 GB, free: 77.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/9.899, allocations: 10.69 kB / 3.849 GB, free: 77.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003466/9.899, allocations: 209.1 kB / 3.849 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/9.903, allocations: 0.5134 MB / 3.85 GB, free: 77.35 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/9.905, allocations: 1.328 MB / 3.851 GB, free: 76.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.159e-05/9.905, allocations: 109.7 kB / 3.851 GB, free: 76.96 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/9.905, allocations: 141.2 kB / 3.851 GB, free: 76.96 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002555/9.908, allocations: 1.671 MB / 3.853 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/9.908, allocations: 6.984 kB / 3.853 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/9.908, allocations: 56.59 kB / 3.853 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.148e-05/9.908, allocations: 59.2 kB / 3.853 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/9.91, allocations: 1.419 MB / 3.854 GB, free: 76.71 MB / 0.6823 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.008898/9.919, allocations: 7.173 MB / 3.861 GB, free: 73.17 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/9.921, allocations: 1.186 MB / 3.862 GB, free: 72.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009607/9.922, allocations: 0.8703 MB / 3.863 GB, free: 72.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/9.923, allocations: 0.6071 MB / 3.864 GB, free: 71.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=109): time 7.414e-06/9.923, allocations: 3.938 kB / 3.864 GB, free: 71.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109): time 0.003265/9.927, allocations: 1.559 MB / 3.865 GB, free: 71.81 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/9.927, allocations: 89.33 kB / 3.866 GB, free: 71.71 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/9.928, allocations: 1.045 MB / 3.867 GB, free: 71.56 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/9.928, allocations: 47.42 kB / 3.867 GB, free: 71.53 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005887/9.929, allocations: 0.6935 MB / 3.867 GB, free: 71.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/9.929, allocations: 381.4 kB / 3.868 GB, free: 71.05 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/9.929, allocations: 19.25 kB / 3.868 GB, free: 71.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.411e-05/9.929, allocations: 346.3 kB / 3.868 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/9.93, allocations: 412.3 kB / 3.868 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007168/9.931, allocations: 0.5815 MB / 3.869 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007446/9.931, allocations: 490.1 kB / 3.869 GB, free: 70.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/9.931, allocations: 0 / 3.869 GB, free: 70.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001792/9.933, allocations: 1.209 MB / 3.871 GB, free: 70.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000221/9.933, allocations: 0.8945 MB / 3.871 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/9.933, allocations: 3.281 kB / 3.871 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/9.933, allocations: 8.594 kB / 3.871 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009778/9.934, allocations: 221.8 kB / 3.872 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/9.934, allocations: 13.72 kB / 3.872 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/9.936, allocations: 168.2 kB / 3.872 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.837e-05/9.936, allocations: 40.52 kB / 3.872 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/9.936, allocations: 6.969 kB / 3.872 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001524/9.938, allocations: 1.021 MB / 3.873 GB, free: 69.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/9.938, allocations: 0 / 3.873 GB, free: 69.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/9.938, allocations: 14.72 kB / 3.873 GB, free: 69.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008724/9.939, allocations: 212.1 kB / 3.873 GB, free: 69.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/9.939, allocations: 6.781 kB / 3.873 GB, free: 69.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/9.94, allocations: 168.7 kB / 3.873 GB, free: 69.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-05/9.94, allocations: 36.73 kB / 3.873 GB, free: 69.41 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 () * Number of clocked 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.00104/9.941, allocations: 497.8 kB / 3.874 GB, free: 69.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/9.941, allocations: 153.6 kB / 3.874 GB, free: 69.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/9.943, allocations: 1.237 MB / 3.875 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/9.943, allocations: 10.28 kB / 3.875 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/9.943, allocations: 3.938 kB / 3.875 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001427/9.945, allocations: 1.014 MB / 3.876 GB, free: 68.96 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004829/9.95, allocations: 3.149 MB / 3.879 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/9.95, allocations: 3.875 kB / 3.879 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/9.951, allocations: 238.5 kB / 3.879 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/9.951, allocations: 3.812 kB / 3.879 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.302e-05/9.951, allocations: 29 kB / 3.879 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/9.951, allocations: 13.83 kB / 3.88 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/9.951, allocations: 5.469 kB / 3.88 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/9.954, allocations: 2.107 MB / 3.882 GB, free: 67.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008685/9.954, allocations: 365.4 kB / 3.882 GB, free: 67.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/9.955, allocations: 25.03 kB / 3.882 GB, free: 67.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/9.956, allocations: 122.9 kB / 3.882 GB, free: 67.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/9.956, allocations: 71.19 kB / 3.882 GB, free: 67.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/9.956, allocations: 40.91 kB / 3.882 GB, free: 67.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00108/9.957, allocations: 0.8214 MB / 3.883 GB, free: 67.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.42e-07/9.957, allocations: 192 / 3.883 GB, free: 67.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003085/9.96, allocations: 1.103 MB / 3.884 GB, free: 67.42 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) * Number of clocked states: 0 () * 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.007643/9.968, allocations: 6.109 MB / 3.89 GB, free: 64.76 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002586/9.97, allocations: 1.588 MB / 3.892 GB, free: 64.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/9.971, allocations: 3.469 kB / 3.892 GB, free: 64.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007652/9.971, allocations: 0.5544 MB / 3.892 GB, free: 64.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003876/9.975, allocations: 0.8113 MB / 3.893 GB, free: 64.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/9.992, allocations: 10.98 MB / 3.904 GB, free: 59.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/9.994, allocations: 1.401 MB / 3.905 GB, free: 58.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002432/9.996, allocations: 467.6 kB / 3.905 GB, free: 58.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/9.997, allocations: 0.6249 MB / 3.906 GB, free: 58.39 MB / 0.6823 GB Notification: Performance of SimCode: time 1.182e-06/9.997, allocations: 0 / 3.906 GB, free: 58.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.125/10.12, allocations: 78.99 MB / 3.983 GB, free: 9.32 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/10.12, allocations: 240 kB / 3.983 GB, free: 9.078 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.472/14.59, allocations: 4 kB / 3.983 GB, free: 9.074 MB / 0.698 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)