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.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7102/0.7102, allocations: 117.9 MB / 133.9 MB, free: 4.508 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.001008/0.001008, allocations: 188.1 kB / 161.7 MB, free: 2.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.4 MB / 394.8 MB, free: 21.2 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.000759/0.0007589, allocations: 98.28 kB / 470.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.000363, allocations: 16 kB / 0.5423 GB, free: 7.086 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3374, allocations: 74.55 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.455/5.792, allocations: 2.16 GB / 2.775 GB, free: 223.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/5.792, allocations: 99.27 kB / 2.775 GB, free: 223.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.794/9.586, allocations: 1.048 GB / 3.823 GB, free: 80.91 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.854e-06/9.586, allocations: 0 / 3.823 GB, free: 80.91 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000214/9.587, allocations: 56.39 kB / 3.823 GB, free: 80.9 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.007755/9.594, allocations: 2.413 MB / 3.825 GB, free: 79.92 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/9.594, allocations: 11.5 kB / 3.825 GB, free: 79.92 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003552/9.598, allocations: 0.5197 MB / 3.826 GB, free: 79.82 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/9.601, allocations: 1.377 MB / 3.827 GB, free: 79.44 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.156e-05/9.601, allocations: 102.1 kB / 3.827 GB, free: 79.43 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003405/9.601, allocations: 146.8 kB / 3.827 GB, free: 79.43 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/9.604, allocations: 1.686 MB / 3.829 GB, free: 79.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/9.605, allocations: 9.312 kB / 3.829 GB, free: 79.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/9.605, allocations: 54.53 kB / 3.829 GB, free: 79.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.746e-05/9.605, allocations: 56.11 kB / 3.829 GB, free: 79.2 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/9.607, allocations: 1.426 MB / 3.83 GB, free: 79.18 MB / 0.6667 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.007204/9.614, allocations: 7.184 MB / 3.837 GB, free: 75.64 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/9.616, allocations: 1.187 MB / 3.839 GB, free: 75.42 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007951/9.617, allocations: 0.6014 MB / 3.839 GB, free: 75.41 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006691/9.617, allocations: 0.8637 MB / 3.84 GB, free: 74.47 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000881/9.618, allocations: 0.6112 MB / 3.841 GB, free: 74.41 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=109): time 3.777e-06/9.618, allocations: 0 / 3.841 GB, free: 74.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109): time 0.002748/9.621, allocations: 1.556 MB / 3.842 GB, free: 74.27 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/9.621, allocations: 91.55 kB / 3.842 GB, free: 74.18 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/9.623, allocations: 1.188 MB / 3.843 GB, free: 74.02 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.94e-05/9.623, allocations: 50.45 kB / 3.843 GB, free: 73.98 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004642/9.623, allocations: 0.695 MB / 3.844 GB, free: 73.75 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/9.623, allocations: 381.9 kB / 3.845 GB, free: 73.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/9.623, allocations: 22.25 kB / 3.845 GB, free: 73.5 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.335e-05/9.624, allocations: 342 kB / 3.845 GB, free: 73.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006446/9.624, allocations: 414.9 kB / 3.845 GB, free: 73.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007402/9.625, allocations: 0.5882 MB / 3.846 GB, free: 73.04 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/9.626, allocations: 0.9987 MB / 3.847 GB, free: 72.94 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/9.626, allocations: 0 / 3.847 GB, free: 72.94 MB / 0.6667 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00182/9.628, allocations: 1.205 MB / 3.848 GB, free: 72.81 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/9.628, allocations: 161.9 kB / 3.848 GB, free: 72.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/9.628, allocations: 2.719 kB / 3.848 GB, free: 72.64 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/9.628, allocations: 9.188 kB / 3.848 GB, free: 72.64 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009223/9.629, allocations: 220 kB / 3.848 GB, free: 72.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/9.629, allocations: 7.875 kB / 3.848 GB, free: 72.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/9.631, allocations: 171.3 kB / 3.849 GB, free: 72.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/9.631, allocations: 38.86 kB / 3.849 GB, free: 72.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.463e-06/9.631, allocations: 4.75 kB / 3.849 GB, free: 72.59 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001533/9.632, allocations: 1.027 MB / 3.85 GB, free: 72.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/9.632, allocations: 0 / 3.85 GB, free: 72.57 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/9.632, allocations: 13.03 kB / 3.85 GB, free: 72.57 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008377/9.633, allocations: 209.5 kB / 3.85 GB, free: 72.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/9.633, allocations: 11.66 kB / 3.85 GB, free: 72.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/9.634, allocations: 170.7 kB / 3.85 GB, free: 72.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/9.634, allocations: 43.44 kB / 3.85 GB, free: 72.52 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 () * 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.0007353/9.635, allocations: 495.4 kB / 3.85 GB, free: 72.32 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/9.635, allocations: 153.7 kB / 3.851 GB, free: 72.25 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/9.637, allocations: 1.234 MB / 3.852 GB, free: 72.16 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/9.637, allocations: 11.78 kB / 3.852 GB, free: 72.16 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/9.637, allocations: 0 / 3.852 GB, free: 72.16 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0015/9.639, allocations: 1.008 MB / 3.853 GB, free: 72.08 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004457/9.643, allocations: 3.158 MB / 3.856 GB, free: 71.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/9.643, allocations: 3.688 kB / 3.856 GB, free: 71.47 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/9.644, allocations: 235.3 kB / 3.856 GB, free: 71.47 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/9.645, allocations: 3.781 kB / 3.856 GB, free: 71.47 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-05/9.645, allocations: 31.17 kB / 3.856 GB, free: 71.47 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.385e-06/9.645, allocations: 9.969 kB / 3.856 GB, free: 71.47 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/9.645, allocations: 1.719 kB / 3.856 GB, free: 71.47 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/9.647, allocations: 1.98 MB / 3.858 GB, free: 71.15 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005744/9.648, allocations: 372.6 kB / 3.858 GB, free: 70.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/9.648, allocations: 27.28 kB / 3.859 GB, free: 70.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/9.649, allocations: 117.2 kB / 3.859 GB, free: 70.96 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/9.649, allocations: 74.52 kB / 3.859 GB, free: 70.95 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/9.649, allocations: 44.88 kB / 3.859 GB, free: 70.95 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009543/9.65, allocations: 0.8179 MB / 3.86 GB, free: 70.84 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.41e-07/9.65, allocations: 0 / 3.86 GB, free: 70.84 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002592/9.653, allocations: 1.105 MB / 3.861 GB, free: 70.72 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) * 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.004101/9.657, allocations: 2.994 MB / 3.864 GB, free: 69.59 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002439/9.659, allocations: 1.595 MB / 3.865 GB, free: 69.57 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/9.659, allocations: 0.75 kB / 3.865 GB, free: 69.57 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007406/9.66, allocations: 0.5535 MB / 3.866 GB, free: 69.56 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003737/9.664, allocations: 0.8159 MB / 3.866 GB, free: 69.54 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005015/9.669, allocations: 4.011 MB / 3.87 GB, free: 67.9 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008932/9.67, allocations: 1.377 MB / 3.872 GB, free: 67.19 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001862/9.672, allocations: 460.7 kB / 3.872 GB, free: 67.17 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003572/9.672, allocations: 118.3 kB / 3.872 GB, free: 67.17 MB / 0.6667 GB Notification: Performance of SimCode: time 8.02e-07/9.672, allocations: 0 / 3.872 GB, free: 67.17 MB / 0.6667 GB Notification: Performance of Templates: time 0.07514/9.747, allocations: 57.73 MB / 3.929 GB, free: 53.31 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)