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: 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/BuildSysPro 3.5.0/package.mo): time 0.6909/0.6909, allocations: 128.7 MB / 143.7 MB, free: 2.336 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.001014/0.001014, allocations: 184.4 kB / 173.8 MB, free: 6.148 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.521/1.521, allocations: 205.4 MB / 409 MB, free: 10.55 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.001092/0.001092, allocations: 98.47 kB / 486.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.000346, allocations: 13.09 kB / 0.5603 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1659, allocations: 76.76 MB / 0.6353 GB, free: 30.62 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5995/0.7655, allocations: 201.2 MB / 0.8318 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.7826, allocations: 10.31 MB / 0.8418 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.7856, allocations: 50.41 kB / 0.8419 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.003361/0.789, allocations: 1.073 MB / 0.8429 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.009664/0.7986, allocations: 2.913 MB / 0.8458 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.005167/0.8038, allocations: 1.642 MB / 0.8474 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.00485/0.8087, allocations: 2.712 MB / 0.85 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.8104, allocations: 1.224 MB / 0.8512 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002544/0.8129, allocations: 1.297 MB / 0.8525 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.8142, allocations: 0.9498 MB / 0.8534 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.8143, allocations: 78.06 kB / 0.8535 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00464/0.819, allocations: 1.298 MB / 0.8548 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0005962/0.8196, allocations: 0.5425 MB / 0.8553 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005478/0.8202, allocations: 408.1 kB / 0.8557 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002682/0.8229, allocations: 2.525 MB / 0.8581 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.8229, allocations: 0 / 0.8581 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8229, allocations: 8 kB / 0.8581 GB, free: 7.477 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.8229, allocations: 0 / 0.8581 GB, free: 7.477 MB / 0.5417 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.004467/0.8274, allocations: 2.101 MB / 0.8602 GB, free: 5.32 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.8274, allocations: 12.03 kB / 0.8602 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002912/0.8303, allocations: 0.5215 MB / 0.8607 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.8324, allocations: 1.179 MB / 0.8619 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.453e-05/0.8325, allocations: 98.69 kB / 0.862 GB, free: 3.453 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.8327, allocations: 143.9 kB / 0.8621 GB, free: 3.312 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/0.8354, allocations: 1.662 MB / 0.8637 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.8354, allocations: 19.83 kB / 0.8637 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.8356, allocations: 59.98 kB / 0.8638 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.167e-05/0.8357, allocations: 66.61 kB / 0.8639 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.8381, allocations: 1.451 MB / 0.8653 GB, free: 15.98 MB / 0.5574 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.008272/0.8464, allocations: 6.965 MB / 0.8721 GB, free: 8.559 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.8481, allocations: 1.196 MB / 0.8732 GB, free: 7.316 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006697/0.8488, allocations: 0.6931 MB / 0.8739 GB, free: 6.477 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.8498, allocations: 0.6127 MB / 0.8745 GB, free: 5.855 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=109): time 3.196e-06/0.8498, allocations: 4 kB / 0.8745 GB, free: 5.852 MB / 0.5574 GB Notification: Performance of matching and sorting (n=109): time 0.002929/0.8527, allocations: 1.553 MB / 0.876 GB, free: 4.289 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.8528, allocations: 94.06 kB / 0.8761 GB, free: 4.18 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.8542, allocations: 1.19 MB / 0.8773 GB, free: 2.969 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 9.251e-05/0.8543, allocations: 49.7 kB / 0.8773 GB, free: 2.914 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005646/0.8549, allocations: 0.6894 MB / 0.878 GB, free: 2.219 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/0.8552, allocations: 382.4 kB / 0.8784 GB, free: 1.84 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.8553, allocations: 20 kB / 0.8784 GB, free: 1.82 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.8554, allocations: 341.9 kB / 0.8787 GB, free: 1.48 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006791/0.8561, allocations: 425.7 kB / 0.8791 GB, free: 1.066 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007715/0.8569, allocations: 0.5487 MB / 0.8797 GB, free: 488 kB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007773/0.8577, allocations: 490.8 kB / 0.8801 GB, free: 0 / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.8577, allocations: 0 / 0.8801 GB, free: 0 / 0.5574 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001943/0.8597, allocations: 1.199 MB / 0.8813 GB, free: 14.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003051/0.86, allocations: 0.8977 MB / 0.8822 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.86, allocations: 0 / 0.8822 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.86, allocations: 8 kB / 0.8822 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009319/0.8609, allocations: 219.6 kB / 0.8824 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.861, allocations: 11.94 kB / 0.8824 GB, free: 13.61 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.8622, allocations: 163.6 kB / 0.8826 GB, free: 13.45 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.194e-05/0.8623, allocations: 43.98 kB / 0.8826 GB, free: 13.41 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.8623, allocations: 4 kB / 0.8826 GB, free: 13.4 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001543/0.8639, allocations: 1.007 MB / 0.8836 GB, free: 12.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.8639, allocations: 8.766 kB / 0.8836 GB, free: 12.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.8639, allocations: 11.92 kB / 0.8836 GB, free: 12.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008252/0.8647, allocations: 208 kB / 0.8838 GB, free: 12.18 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.8648, allocations: 11.98 kB / 0.8838 GB, free: 12.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.8659, allocations: 158.9 kB / 0.884 GB, free: 12.01 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.608e-05/0.866, allocations: 36 kB / 0.884 GB, free: 11.97 MB / 0.573 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.0008208/0.8668, allocations: 488.8 kB / 0.8845 GB, free: 11.48 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.867, allocations: 146.7 kB / 0.8846 GB, free: 11.34 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.8691, allocations: 1.243 MB / 0.8858 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.8692, allocations: 16 kB / 0.8858 GB, free: 10.07 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.8692, allocations: 0 / 0.8858 GB, free: 10.07 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001514/0.8707, allocations: 0.9951 MB / 0.8868 GB, free: 9.059 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/0.8756, allocations: 3.139 MB / 0.8899 GB, free: 5.801 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.8756, allocations: 3.984 kB / 0.8899 GB, free: 5.797 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.8767, allocations: 232 kB / 0.8901 GB, free: 5.57 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.648e-05/0.8767, allocations: 11.98 kB / 0.8901 GB, free: 5.559 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.912e-05/0.8768, allocations: 31.98 kB / 0.8902 GB, free: 5.527 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.665e-05/0.8768, allocations: 4 kB / 0.8902 GB, free: 5.523 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.8768, allocations: 7.938 kB / 0.8902 GB, free: 5.516 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/0.8797, allocations: 2.091 MB / 0.8922 GB, free: 3.305 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007676/0.8805, allocations: 378.9 kB / 0.8926 GB, free: 2.914 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.8807, allocations: 23.94 kB / 0.8926 GB, free: 2.891 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.8817, allocations: 119.7 kB / 0.8927 GB, free: 2.773 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.8819, allocations: 68.91 kB / 0.8928 GB, free: 2.707 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.923e-05/0.8819, allocations: 39.98 kB / 0.8928 GB, free: 2.668 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001067/0.883, allocations: 0.8258 MB / 0.8936 GB, free: 1.84 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.883, allocations: 0 / 0.8936 GB, free: 1.84 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001859/0.8849, allocations: 0.8531 MB / 0.8944 GB, free: 0.9844 MB / 0.573 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 (109): * Single equations (assignments): 107 * 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.001208/0.8861, allocations: 0.5901 MB / 0.895 GB, free: 0.5547 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002631/0.8887, allocations: 1.581 MB / 0.8966 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.8888, allocations: 8 kB / 0.8966 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0008324/0.8896, allocations: 0.5599 MB / 0.8971 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003589/0.8932, allocations: 0.8186 MB / 0.8979 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006193/0.8994, allocations: 4.005 MB / 0.9018 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009725/0.9004, allocations: 1.41 MB / 0.9032 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001968/0.9024, allocations: 443.5 kB / 0.9036 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.9027, allocations: 115.4 kB / 0.9037 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of SimCode: time 7.62e-07/0.9027, allocations: 0 / 0.9037 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of Templates: time 0.04739/0.9501, allocations: 28.11 MB / 0.9312 GB, free: 11.69 MB / 0.6199 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)