Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001325/0.001325, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001426/0.001426, allocations: 190.4 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9651/0.9651, allocations: 135.6 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 59.41 kB / 0.5054 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1589, allocations: 81.02 MB / 0.5845 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5147/0.6737, allocations: 233 MB / 0.812 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01808/0.6918, allocations: 10.33 MB / 0.8221 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.6944, allocations: 51.69 kB / 0.8221 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003555/0.698, allocations: 1.062 MB / 0.8232 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009631/0.7077, allocations: 3.432 MB / 0.8265 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005469/0.7132, allocations: 1.904 MB / 0.8284 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007123/0.7203, allocations: 4.455 MB / 0.8327 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/0.723, allocations: 1.547 MB / 0.8342 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003937/0.7269, allocations: 1.627 MB / 0.8358 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003785/0.7308, allocations: 1.581 MB / 0.8374 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003611/0.7311, allocations: 184 kB / 0.8375 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007654/0.7388, allocations: 3.378 MB / 0.8408 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.7399, allocations: 0.7012 MB / 0.8415 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.7416, allocations: 1.065 MB / 0.8426 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006994/0.7486, allocations: 4.02 MB / 0.8465 GB, free: 15.88 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.7486, allocations: 0 / 0.8465 GB, free: 15.88 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7486, allocations: 0 / 0.8465 GB, free: 15.88 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.915e-05/0.7487, allocations: 4 kB / 0.8465 GB, free: 15.88 MB / 0.67 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.005388/0.7541, allocations: 2.489 MB / 0.8489 GB, free: 13.34 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.7541, allocations: 8.031 kB / 0.8489 GB, free: 13.33 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003369/0.7575, allocations: 0.5245 MB / 0.8495 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.7596, allocations: 1.228 MB / 0.8507 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.867e-05/0.7598, allocations: 98.66 kB / 0.8507 GB, free: 11.42 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.76, allocations: 144 kB / 0.8509 GB, free: 11.28 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003022/0.763, allocations: 1.67 MB / 0.8525 GB, free: 9.539 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/0.7631, allocations: 8 kB / 0.8525 GB, free: 9.531 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.7632, allocations: 52 kB / 0.8526 GB, free: 9.48 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.411e-05/0.7633, allocations: 70.56 kB / 0.8526 GB, free: 9.41 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.766, allocations: 1.443 MB / 0.854 GB, free: 7.961 MB / 0.67 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.009193/0.7752, allocations: 6.947 MB / 0.8608 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3098/1.085, allocations: 1.175 MB / 0.862 GB, free: 220.5 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008963/1.086, allocations: 0.6148 MB / 0.8626 GB, free: 220.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007139/1.087, allocations: 0.8623 MB / 0.8634 GB, free: 219.6 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/1.088, allocations: 0.6057 MB / 0.864 GB, free: 219.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 4.017e-06/1.088, allocations: 2.062 kB / 0.864 GB, free: 219.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=110): time 0.002966/1.091, allocations: 1.571 MB / 0.8656 GB, free: 219.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/1.091, allocations: 88.17 kB / 0.8656 GB, free: 219.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/1.092, allocations: 1.2 MB / 0.8668 GB, free: 218.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.571e-05/1.092, allocations: 47.45 kB / 0.8669 GB, free: 218.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004404/1.093, allocations: 0.6754 MB / 0.8675 GB, free: 218.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/1.093, allocations: 382 kB / 0.8679 GB, free: 218.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/1.093, allocations: 183 kB / 0.8681 GB, free: 218 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.822e-05/1.093, allocations: 340.8 kB / 0.8684 GB, free: 217.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006029/1.094, allocations: 433.1 kB / 0.8688 GB, free: 217.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/1.095, allocations: 0.5588 MB / 0.8693 GB, free: 217.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/1.096, allocations: 1.024 MB / 0.8703 GB, free: 216.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.096, allocations: 0 / 0.8703 GB, free: 216.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001763/1.098, allocations: 1.213 MB / 0.8715 GB, free: 216.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.098, allocations: 12.88 kB / 0.8715 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.098, allocations: 0 / 0.8715 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/1.098, allocations: 10.12 kB / 0.8715 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000879/1.099, allocations: 213 kB / 0.8717 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/1.099, allocations: 5.625 kB / 0.8717 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/1.1, allocations: 170.8 kB / 0.8719 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.546e-05/1.1, allocations: 35.91 kB / 0.8719 GB, free: 216.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001032/1.101, allocations: 0.7356 MB / 0.8727 GB, free: 215.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006414/1.102, allocations: 0.5607 MB / 0.8732 GB, free: 215.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001191/1.103, allocations: 0.9932 MB / 0.8742 GB, free: 215 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.757e-06/1.103, allocations: 3.062 kB / 0.8742 GB, free: 215 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001635/1.105, allocations: 1.191 MB / 0.8753 GB, free: 214.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.105, allocations: 8.281 kB / 0.8754 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.105, allocations: 0.5156 kB / 0.8754 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/1.105, allocations: 8.844 kB / 0.8754 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000801/1.105, allocations: 208.4 kB / 0.8756 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/1.105, allocations: 6.406 kB / 0.8756 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.107, allocations: 149.2 kB / 0.8757 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.714e-05/1.107, allocations: 34.22 kB / 0.8757 GB, free: 214.5 MB / 0.67 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 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002694/1.107, allocations: 239.2 kB / 0.876 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/1.107, allocations: 152.4 kB / 0.8761 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/1.109, allocations: 1.24 MB / 0.8773 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.109, allocations: 18.72 kB / 0.8773 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.109, allocations: 2.531 kB / 0.8773 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001311/1.11, allocations: 0.9998 MB / 0.8783 GB, free: 213.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/1.114, allocations: 3.169 MB / 0.8814 GB, free: 211.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.115, allocations: 2.594 kB / 0.8814 GB, free: 211.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/1.116, allocations: 232.7 kB / 0.8816 GB, free: 211.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/1.116, allocations: 6.594 kB / 0.8817 GB, free: 211.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/1.116, allocations: 24.53 kB / 0.8817 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/1.116, allocations: 13.72 kB / 0.8817 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.116, allocations: 9.469 kB / 0.8817 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/1.118, allocations: 1.994 MB / 0.8836 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/1.119, allocations: 355.7 kB / 0.884 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/1.119, allocations: 24.56 kB / 0.884 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/1.12, allocations: 115.3 kB / 0.8841 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.12, allocations: 75.66 kB / 0.8842 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.177e-05/1.12, allocations: 37.31 kB / 0.8842 GB, free: 210.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008856/1.121, allocations: 0.8307 MB / 0.885 GB, free: 210 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/1.121, allocations: 2.438 kB / 0.885 GB, free: 210 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001705/1.123, allocations: 0.8353 MB / 0.8859 GB, free: 209.9 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.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001787/1.124, allocations: 0.5752 MB / 0.8864 GB, free: 209.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003283/1.128, allocations: 1.86 MB / 0.8882 GB, free: 209.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.128, allocations: 3.969 kB / 0.8882 GB, free: 209.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007996/1.129, allocations: 0.5668 MB / 0.8888 GB, free: 209 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/1.132, allocations: 0.8808 MB / 0.8896 GB, free: 208.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005575/1.138, allocations: 3.957 MB / 0.8935 GB, free: 206.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009529/1.139, allocations: 1.368 MB / 0.8948 GB, free: 205.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002117/1.141, allocations: 454.6 kB / 0.8953 GB, free: 205.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/1.141, allocations: 112.4 kB / 0.8954 GB, free: 205.5 MB / 0.67 GB Notification: Performance of SimCode: time 8.52e-07/1.141, allocations: 0 / 0.8954 GB, free: 205.5 MB / 0.67 GB Notification: Performance of Templates: time 0.05745/1.199, allocations: 29.83 MB / 0.9245 GB, free: 199 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)