Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001091/0.001091, allocations: 168.7 kB / 15.95 MB, free: 204 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.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001766/0.001766, allocations: 274.1 kB / 291.4 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004656, allocations: 13.66 kB / 0.598 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2008, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.6045/0.8054, allocations: 152.2 MB / 0.8331 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01385/0.8192, allocations: 8.346 MB / 0.8413 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.8217, allocations: 37.53 kB / 0.8413 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.8246, allocations: 0.494 MB / 0.8418 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006405/0.831, allocations: 1.257 MB / 0.843 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.8348, allocations: 0.9167 MB / 0.8439 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004347/0.8392, allocations: 3.102 MB / 0.8469 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.8404, allocations: 0.7117 MB / 0.8476 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.8419, allocations: 0.8548 MB / 0.8485 GB, free: 296 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.843, allocations: 0.9143 MB / 0.8494 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.574e-05/0.8431, allocations: 43.44 kB / 0.8494 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.8452, allocations: 0.8307 MB / 0.8502 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.8455, allocations: 214.5 kB / 0.8504 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002946/0.8458, allocations: 242.9 kB / 0.8506 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.8473, allocations: 1.22 MB / 0.8518 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8473, allocations: 0 / 0.8518 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.647e-06/0.8473, allocations: 0 / 0.8518 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.8473, allocations: 6.562 kB / 0.8518 GB, free: 14.29 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002344/0.8497, allocations: 1.371 MB / 0.8532 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.8497, allocations: 8.906 kB / 0.8532 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.85, allocations: 138.7 kB / 0.8533 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.8513, allocations: 0.818 MB / 0.8541 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.8514, allocations: 58.59 kB / 0.8542 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.8515, allocations: 84.09 kB / 0.8543 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.8529, allocations: 0.8746 MB / 0.8551 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.8529, allocations: 3.953 kB / 0.8551 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-05/0.853, allocations: 32.06 kB / 0.8551 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.853, allocations: 19.5 kB / 0.8552 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.8541, allocations: 0.6404 MB / 0.8558 GB, free: 11.54 MB / 0.5762 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.00438/0.8585, allocations: 3.954 MB / 0.8597 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.8596, allocations: 0.5691 MB / 0.8602 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/0.8601, allocations: 296.4 kB / 0.8605 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/0.8611, allocations: 1.239 MB / 0.8617 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005978/0.8617, allocations: 329.2 kB / 0.862 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 3.507e-06/0.8618, allocations: 3.938 kB / 0.862 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=63): time 0.002344/0.8641, allocations: 1.152 MB / 0.8631 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.8642, allocations: 87.55 kB / 0.8632 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000969/0.8652, allocations: 0.873 MB / 0.8641 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.8652, allocations: 36.23 kB / 0.8641 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/0.8656, allocations: 458.2 kB / 0.8645 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.8658, allocations: 219.5 kB / 0.8648 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.8658, allocations: 11.03 kB / 0.8648 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.8659, allocations: 332.1 kB / 0.8651 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.8663, allocations: 207.4 kB / 0.8653 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.8668, allocations: 315.3 kB / 0.8656 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.8672, allocations: 246.2 kB / 0.8658 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8673, allocations: 4 kB / 0.8658 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001191/0.8685, allocations: 0.7094 MB / 0.8665 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.15e-05/0.8686, allocations: 155.1 kB / 0.8667 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.8686, allocations: 3.219 kB / 0.8667 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005477/0.8691, allocations: 116.6 kB / 0.8668 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.8696, allocations: 117.5 kB / 0.8669 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005398/0.8701, allocations: 0.67 MB / 0.8675 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006045/0.8707, allocations: 93.81 kB / 0.8676 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.8708, allocations: 28.11 kB / 0.8677 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/0.8708, allocations: 2.188 kB / 0.8677 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001013/0.8718, allocations: 0.578 MB / 0.8682 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.8718, allocations: 2.875 kB / 0.8682 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000422/0.8723, allocations: 100.9 kB / 0.8683 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.8727, allocations: 111.4 kB / 0.8684 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005403/0.8732, allocations: 0.659 MB / 0.8691 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.8738, allocations: 91.73 kB / 0.8692 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.8738, allocations: 23.75 kB / 0.8692 GB, free: 1.012 MB / 0.5762 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 (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004619/0.8743, allocations: 328.8 kB / 0.8695 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.8744, allocations: 100.3 kB / 0.8696 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.8761, allocations: 0.9559 MB / 0.8705 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.8761, allocations: 7.938 kB / 0.8705 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.8761, allocations: 0 / 0.8705 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001205/0.8774, allocations: 0.8556 MB / 0.8714 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.8801, allocations: 1.855 MB / 0.8732 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.8801, allocations: 0 / 0.8732 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.8806, allocations: 111.9 kB / 0.8733 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005922/0.8812, allocations: 161.5 kB / 0.8734 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.8812, allocations: 16 kB / 0.8735 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009527/0.8822, allocations: 1.245 MB / 0.8747 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8822, allocations: 0 / 0.8747 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.8842, allocations: 1.292 MB / 0.8759 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003962/0.8846, allocations: 279.5 kB / 0.8762 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.8847, allocations: 16 kB / 0.8762 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004922/0.8852, allocations: 51.95 kB / 0.8763 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.8853, allocations: 52.58 kB / 0.8763 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.8854, allocations: 24 kB / 0.8763 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000739/0.8862, allocations: 0.5975 MB / 0.8769 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8862, allocations: 0 / 0.8769 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001511/0.8877, allocations: 0.5611 MB / 0.8775 GB, free: 8.887 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * 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 (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0016/0.8893, allocations: 0.6958 MB / 0.8782 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001831/0.8911, allocations: 0.922 MB / 0.8791 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8911, allocations: 0 / 0.8791 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007285/0.8919, allocations: 392.5 kB / 0.8794 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.8938, allocations: 428.4 kB / 0.8798 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.8975, allocations: 2.524 MB / 0.8823 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.8981, allocations: 1.069 MB / 0.8833 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008198/0.8989, allocations: 217.8 kB / 0.8836 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.8991, allocations: 83.34 kB / 0.8836 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of SimCode: time 1.112e-06/0.8991, allocations: 0 / 0.8836 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.03355/0.9327, allocations: 19.38 MB / 0.9026 GB, free: 15.57 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)