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/ModelicaServices 4.0.0+maint.om/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.948/0.948, allocations: 143.3 MB / 434.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003435, allocations: 12 kB / 0.5158 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1899, allocations: 83.42 MB / 0.5973 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5217/0.7116, allocations: 193.6 MB / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.7275, allocations: 10.36 MB / 0.7965 GB, free: 84 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002283/0.7298, allocations: 51.69 kB / 0.7966 GB, free: 32 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003655/0.7335, allocations: 1.066 MB / 0.7976 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.7437, allocations: 2.966 MB / 0.8005 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00481/0.7486, allocations: 1.589 MB / 0.802 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004953/0.7535, allocations: 2.55 MB / 0.8045 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/0.7556, allocations: 1.197 MB / 0.8057 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00279/0.7584, allocations: 1.25 MB / 0.8069 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.7598, allocations: 0.9299 MB / 0.8078 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.76, allocations: 76 kB / 0.8079 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003959/0.764, allocations: 1.361 MB / 0.8092 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006463/0.7647, allocations: 0.5297 MB / 0.8097 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006083/0.7653, allocations: 404.7 kB / 0.8101 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003591/0.7689, allocations: 2.494 MB / 0.8126 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.7689, allocations: 0 / 0.8126 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.427e-06/0.7689, allocations: 0 / 0.8126 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.327e-05/0.769, allocations: 0 / 0.8126 GB, free: 15.59 MB / 0.6387 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.0052/0.7742, allocations: 2.089 MB / 0.8146 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.7743, allocations: 12.03 kB / 0.8146 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003517/0.7778, allocations: 0.5322 MB / 0.8151 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.7804, allocations: 1.182 MB / 0.8163 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-05/0.7805, allocations: 98.66 kB / 0.8164 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.7807, allocations: 136 kB / 0.8165 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003034/0.7838, allocations: 1.654 MB / 0.8181 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.7838, allocations: 7.875 kB / 0.8181 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.784, allocations: 52 kB / 0.8182 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.7e-05/0.7841, allocations: 74.58 kB / 0.8183 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/0.7867, allocations: 1.447 MB / 0.8197 GB, free: 8.121 MB / 0.6387 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.00979/0.7965, allocations: 6.973 MB / 0.8265 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.7984, allocations: 1.208 MB / 0.8277 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006772/0.7991, allocations: 0.6892 MB / 0.8283 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.8002, allocations: 0.6016 MB / 0.8289 GB, free: 14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.627e-06/0.8002, allocations: 4 kB / 0.8289 GB, free: 14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.003189/0.8034, allocations: 1.58 MB / 0.8305 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.8035, allocations: 98.03 kB / 0.8306 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.8051, allocations: 1.182 MB / 0.8317 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.8052, allocations: 45.7 kB / 0.8318 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005892/0.8058, allocations: 0.6815 MB / 0.8324 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004095/0.8062, allocations: 386.4 kB / 0.8328 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.8063, allocations: 20 kB / 0.8328 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.8065, allocations: 345.9 kB / 0.8331 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008272/0.8073, allocations: 421.8 kB / 0.8335 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009695/0.8083, allocations: 0.5518 MB / 0.8341 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008751/0.8092, allocations: 494.8 kB / 0.8346 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.8092, allocations: 3.938 kB / 0.8346 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002271/0.8115, allocations: 1.214 MB / 0.8357 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004131/0.8119, allocations: 0.9858 MB / 0.8367 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.8119, allocations: 4 kB / 0.8367 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.812, allocations: 8 kB / 0.8367 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009793/0.8129, allocations: 215.7 kB / 0.8369 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-05/0.813, allocations: 7.953 kB / 0.8369 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.8146, allocations: 190.8 kB / 0.8371 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.8148, allocations: 36.62 kB / 0.8372 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.8148, allocations: 4 kB / 0.8372 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001855/0.8166, allocations: 1.035 MB / 0.8382 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.8167, allocations: 4 kB / 0.8382 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.8167, allocations: 8 kB / 0.8382 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009116/0.8176, allocations: 211.7 kB / 0.8384 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.359e-05/0.8176, allocations: 8 kB / 0.8384 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.8194, allocations: 183.2 kB / 0.8386 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.8195, allocations: 35.98 kB / 0.8386 GB, free: 3.926 MB / 0.6544 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.0009309/0.8204, allocations: 490.8 kB / 0.8391 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004298/0.8208, allocations: 154.2 kB / 0.8392 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/0.8236, allocations: 1.256 MB / 0.8404 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.8237, allocations: 12 kB / 0.8405 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.8237, allocations: 0 / 0.8405 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001746/0.8254, allocations: 1.007 MB / 0.8414 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005879/0.8313, allocations: 3.175 MB / 0.8445 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.8314, allocations: 4 kB / 0.8445 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.8325, allocations: 232 kB / 0.8448 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.07e-05/0.8325, allocations: 11.94 kB / 0.8448 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.165e-05/0.8326, allocations: 35.94 kB / 0.8448 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.8326, allocations: 4.625 kB / 0.8448 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.8326, allocations: 4 kB / 0.8448 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/0.8359, allocations: 2.061 MB / 0.8468 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.8369, allocations: 366.8 kB / 0.8472 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/0.8373, allocations: 24 kB / 0.8472 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.8386, allocations: 120.5 kB / 0.8473 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.8388, allocations: 76.84 kB / 0.8474 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.085e-05/0.8389, allocations: 36 kB / 0.8474 GB, free: 10.59 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001225/0.8401, allocations: 0.8141 MB / 0.8482 GB, free: 9.773 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8401, allocations: 4 kB / 0.8482 GB, free: 9.77 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002389/0.8425, allocations: 0.8338 MB / 0.849 GB, free: 8.934 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * 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.001354/0.8439, allocations: 0.5838 MB / 0.8496 GB, free: 8.527 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003003/0.8469, allocations: 1.611 MB / 0.8512 GB, free: 6.914 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.8469, allocations: 0 / 0.8512 GB, free: 6.914 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009842/0.8479, allocations: 0.5768 MB / 0.8517 GB, free: 6.344 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003876/0.8518, allocations: 0.8135 MB / 0.8525 GB, free: 5.539 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006495/0.8583, allocations: 4.023 MB / 0.8565 GB, free: 1.453 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.8598, allocations: 1.399 MB / 0.8578 GB, free: 24 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.2694/1.129, allocations: 450.5 kB / 0.8583 GB, free: 204.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/1.13, allocations: 110.6 kB / 0.8584 GB, free: 204.7 MB / 0.67 GB Notification: Performance of SimCode: time 6.52e-07/1.13, allocations: 0 / 0.8584 GB, free: 204.7 MB / 0.67 GB Notification: Performance of Templates: time 0.04833/1.178, allocations: 27.75 MB / 0.8855 GB, free: 203.4 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: