Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8207/0.8207, allocations: 143.3 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 181.1 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.1 MB / 447.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009202/0.0009203, allocations: 92.25 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001828/0.001828, allocations: 261.7 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004315, allocations: 20.73 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1736, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.859/5.033, allocations: 1.89 GB / 2.664 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000358/5.033, allocations: 98.81 kB / 2.664 GB, free: 137 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.154/9.187, allocations: 1.074 GB / 3.738 GB, free: 91.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.535e-06/9.187, allocations: 0 / 3.738 GB, free: 91.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001618/9.187, allocations: 45.38 kB / 3.738 GB, free: 91.93 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.008587/9.196, allocations: 2.433 MB / 3.741 GB, free: 90.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/9.196, allocations: 16.36 kB / 3.741 GB, free: 90.94 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000795/9.197, allocations: 201.6 kB / 3.741 GB, free: 90.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004065/9.201, allocations: 0.5209 MB / 3.742 GB, free: 90.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003925/9.205, allocations: 1.253 MB / 3.743 GB, free: 90.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/9.205, allocations: 103.3 kB / 3.743 GB, free: 90.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/9.205, allocations: 137.5 kB / 3.743 GB, free: 90.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/9.208, allocations: 1.654 MB / 3.745 GB, free: 90.26 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/9.208, allocations: 7.281 kB / 3.745 GB, free: 90.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/9.208, allocations: 62.86 kB / 3.745 GB, free: 90.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.907e-05/9.208, allocations: 57.06 kB / 3.745 GB, free: 90.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/9.211, allocations: 1.41 MB / 3.746 GB, free: 90.23 MB / 0.7292 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.009205/9.22, allocations: 7.173 MB / 3.753 GB, free: 86.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/9.222, allocations: 1.18 MB / 3.754 GB, free: 86.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008042/9.223, allocations: 0.8677 MB / 3.755 GB, free: 85.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/9.224, allocations: 0.6038 MB / 3.756 GB, free: 85.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=110): time 4.378e-06/9.224, allocations: 0 / 3.756 GB, free: 85.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=110): time 0.003113/9.227, allocations: 1.574 MB / 3.757 GB, free: 85.35 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/9.227, allocations: 91.14 kB / 3.757 GB, free: 85.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/9.228, allocations: 1.03 MB / 3.758 GB, free: 85.11 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/9.229, allocations: 49.17 kB / 3.758 GB, free: 85.08 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005855/9.229, allocations: 0.6772 MB / 3.759 GB, free: 84.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/9.23, allocations: 386.8 kB / 3.759 GB, free: 84.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/9.23, allocations: 21.75 kB / 3.759 GB, free: 84.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001002/9.23, allocations: 343.7 kB / 3.76 GB, free: 84.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006729/9.23, allocations: 416.9 kB / 3.76 GB, free: 84.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008086/9.231, allocations: 0.5961 MB / 3.761 GB, free: 84.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008264/9.232, allocations: 0.4901 MB / 3.761 GB, free: 84.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/9.232, allocations: 3.953 kB / 3.761 GB, free: 84.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002078/9.234, allocations: 1.225 MB / 3.762 GB, free: 83.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002535/9.234, allocations: 0.9754 MB / 3.763 GB, free: 82.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/9.234, allocations: 3.562 kB / 3.763 GB, free: 82.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/9.235, allocations: 9.312 kB / 3.763 GB, free: 82.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/9.236, allocations: 224.9 kB / 3.764 GB, free: 82.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.867e-05/9.236, allocations: 11.03 kB / 3.764 GB, free: 82.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/9.237, allocations: 173.6 kB / 3.764 GB, free: 82.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/9.238, allocations: 41.56 kB / 3.764 GB, free: 82.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/9.238, allocations: 5.75 kB / 3.764 GB, free: 82.94 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001549/9.239, allocations: 1.031 MB / 3.765 GB, free: 82.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/9.239, allocations: 3.781 kB / 3.765 GB, free: 82.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/9.239, allocations: 11.41 kB / 3.765 GB, free: 82.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009076/9.24, allocations: 218.5 kB / 3.765 GB, free: 82.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/9.24, allocations: 6.156 kB / 3.765 GB, free: 82.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/9.242, allocations: 166.4 kB / 3.765 GB, free: 82.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/9.242, allocations: 40 kB / 3.765 GB, free: 82.86 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (126): * Single equations (assignments): 126 * 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.001045/9.243, allocations: 492.9 kB / 3.766 GB, free: 82.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/9.243, allocations: 151.7 kB / 3.766 GB, free: 82.59 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/9.245, allocations: 1.249 MB / 3.767 GB, free: 82.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/9.245, allocations: 14.89 kB / 3.767 GB, free: 82.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/9.245, allocations: 0 / 3.767 GB, free: 82.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001449/9.247, allocations: 1.02 MB / 3.768 GB, free: 82.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005119/9.252, allocations: 3.192 MB / 3.771 GB, free: 81.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/9.252, allocations: 0 / 3.771 GB, free: 81.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/9.253, allocations: 247.8 kB / 3.771 GB, free: 81.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/9.253, allocations: 5.312 kB / 3.771 GB, free: 81.82 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.773e-05/9.253, allocations: 27.78 kB / 3.771 GB, free: 81.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/9.253, allocations: 7.422 kB / 3.771 GB, free: 81.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/9.253, allocations: 3.938 kB / 3.771 GB, free: 81.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/9.256, allocations: 2.143 MB / 3.774 GB, free: 81.33 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009232/9.257, allocations: 370.7 kB / 3.774 GB, free: 81.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/9.257, allocations: 27.64 kB / 3.774 GB, free: 81.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/9.258, allocations: 116.7 kB / 3.774 GB, free: 81.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/9.259, allocations: 75.14 kB / 3.774 GB, free: 81.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.296e-05/9.259, allocations: 36.39 kB / 3.774 GB, free: 81.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001161/9.26, allocations: 0.8113 MB / 3.775 GB, free: 81.03 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.71e-07/9.26, allocations: 0 / 3.775 GB, free: 81.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003579/9.263, allocations: 1.101 MB / 3.776 GB, free: 80.91 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (111): * Single equations (assignments): 109 * 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.009103/9.273, allocations: 6.181 MB / 3.782 GB, free: 78.22 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003836/9.276, allocations: 1.609 MB / 3.784 GB, free: 78.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/9.276, allocations: 2.75 kB / 3.784 GB, free: 78.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/9.278, allocations: 0.563 MB / 3.784 GB, free: 78.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005047/9.283, allocations: 0.8109 MB / 3.785 GB, free: 78.17 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/9.303, allocations: 11.07 MB / 3.796 GB, free: 73.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/9.305, allocations: 1.402 MB / 3.797 GB, free: 72.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002483/9.307, allocations: 458.8 kB / 3.798 GB, free: 72.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/9.309, allocations: 0.6155 MB / 3.798 GB, free: 72.72 MB / 0.7292 GB Notification: Performance of SimCode: time 1.202e-06/9.309, allocations: 0 / 3.798 GB, free: 72.72 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/9.44, allocations: 78.33 MB / 3.875 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/9.44, allocations: 250.1 kB / 3.875 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.766/14.21, allocations: 0 / 3.875 GB, free: 31.25 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)