Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001259/0.001259, allocations: 103.1 kB / 16.35 MB, free: 5.824 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.001284/0.001284, allocations: 192.6 kB / 17.29 MB, free: 5.48 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8256/0.8256, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.91 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.379, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.628/1.007, allocations: 235.9 MB / 0.8118 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0172/1.024, allocations: 10.41 MB / 0.822 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003544/1.028, allocations: 62.75 kB / 0.822 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003658/1.032, allocations: 1.188 MB / 0.8232 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01084/1.042, allocations: 3.662 MB / 0.8268 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005683/1.048, allocations: 2.061 MB / 0.8288 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006507/1.055, allocations: 4.457 MB / 0.8331 GB, free: 372 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003026/1.058, allocations: 1.578 MB / 0.8347 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004613/1.062, allocations: 1.601 MB / 0.8362 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00446/1.067, allocations: 1.491 MB / 0.8377 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007993/1.068, allocations: 182.7 kB / 0.8379 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008789/1.076, allocations: 3.24 MB / 0.841 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00149/1.078, allocations: 0.6958 MB / 0.8417 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00292/1.081, allocations: 1.062 MB / 0.8427 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01031/1.091, allocations: 3.824 MB / 0.8465 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/1.091, allocations: 2.469 kB / 0.8465 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.106e-06/1.091, allocations: 0 / 0.8465 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001284/1.091, allocations: 6.531 kB / 0.8465 GB, free: 10.21 MB / 0.5919 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.007536/1.099, allocations: 2.478 MB / 0.8489 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.099, allocations: 10 kB / 0.8489 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003851/1.103, allocations: 0.5202 MB / 0.8494 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/1.106, allocations: 1.295 MB / 0.8507 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/1.106, allocations: 102.6 kB / 0.8508 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004214/1.107, allocations: 138.2 kB / 0.8509 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003607/1.11, allocations: 1.669 MB / 0.8525 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/1.111, allocations: 0 / 0.8525 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/1.111, allocations: 63.44 kB / 0.8526 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.952e-05/1.111, allocations: 69.2 kB / 0.8527 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002714/1.114, allocations: 1.445 MB / 0.8541 GB, free: 3.418 MB / 0.5919 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.009428/1.123, allocations: 6.967 MB / 0.8609 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/1.125, allocations: 1.189 MB / 0.8621 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009403/1.126, allocations: 0.6082 MB / 0.8626 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008471/1.127, allocations: 0.8624 MB / 0.8635 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/1.128, allocations: 0.6011 MB / 0.8641 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 3.327e-06/1.128, allocations: 4 kB / 0.8641 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110): time 0.003152/1.131, allocations: 1.567 MB / 0.8656 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/1.131, allocations: 94.05 kB / 0.8657 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/1.133, allocations: 1.199 MB / 0.8669 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/1.133, allocations: 53.7 kB / 0.8669 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006547/1.134, allocations: 0.6737 MB / 0.8676 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004008/1.134, allocations: 379.2 kB / 0.8679 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003083/1.134, allocations: 178.6 kB / 0.8681 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.134, allocations: 345.9 kB / 0.8684 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007451/1.135, allocations: 424.6 kB / 0.8688 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008623/1.136, allocations: 0.5638 MB / 0.8694 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/1.138, allocations: 1.015 MB / 0.8704 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.138, allocations: 4 kB / 0.8704 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002281/1.14, allocations: 1.211 MB / 0.8716 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/1.14, allocations: 8 kB / 0.8716 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.14, allocations: 4 kB / 0.8716 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/1.14, allocations: 4 kB / 0.8716 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.141, allocations: 224.6 kB / 0.8718 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.822e-05/1.141, allocations: 10.53 kB / 0.8718 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/1.143, allocations: 105.4 kB / 0.8719 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/1.143, allocations: 36 kB / 0.8719 GB, free: 496 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00135/1.144, allocations: 0.7388 MB / 0.8727 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008101/1.145, allocations: 0.552 MB / 0.8732 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001508/1.146, allocations: 0.9891 MB / 0.8742 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.131e-06/1.146, allocations: 1.25 kB / 0.8742 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002219/1.149, allocations: 1.194 MB / 0.8753 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.149, allocations: 4 kB / 0.8753 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.149, allocations: 8.312 kB / 0.8754 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/1.149, allocations: 8 kB / 0.8754 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009289/1.15, allocations: 208.7 kB / 0.8756 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/1.15, allocations: 14.47 kB / 0.8756 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/1.151, allocations: 71.36 kB / 0.8756 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.778e-05/1.151, allocations: 36 kB / 0.8757 GB, free: 12.62 MB / 0.6231 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.0003044/1.151, allocations: 240.9 kB / 0.8759 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/1.152, allocations: 154.1 kB / 0.8761 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/1.154, allocations: 1.234 MB / 0.8773 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/1.154, allocations: 27.86 kB / 0.8773 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/1.154, allocations: 0 / 0.8773 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001595/1.156, allocations: 1.007 MB / 0.8783 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005476/1.161, allocations: 3.155 MB / 0.8813 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.161, allocations: 4 kB / 0.8814 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/1.162, allocations: 230 kB / 0.8816 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.815e-05/1.162, allocations: 8 kB / 0.8816 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.134e-05/1.162, allocations: 31.98 kB / 0.8816 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/1.162, allocations: 6.531 kB / 0.8816 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.162, allocations: 7.938 kB / 0.8816 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003077/1.166, allocations: 2.012 MB / 0.8836 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008664/1.166, allocations: 358.9 kB / 0.8839 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003397/1.167, allocations: 24 kB / 0.884 GB, free: 4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/1.168, allocations: 32.55 kB / 0.884 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/1.168, allocations: 83.42 kB / 0.8841 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.481e-05/1.168, allocations: 43.98 kB / 0.8841 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001329/1.169, allocations: 0.8258 MB / 0.8849 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/1.169, allocations: 0 / 0.8849 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00213/1.172, allocations: 0.8338 MB / 0.8857 GB, free: 2.184 MB / 0.6231 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.001338/1.173, allocations: 0.5684 MB / 0.8863 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002856/1.176, allocations: 1.615 MB / 0.8879 GB, free: 264 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.176, allocations: 4 kB / 0.8879 GB, free: 260 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009021/1.177, allocations: 0.5684 MB / 0.8884 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/1.18, allocations: 0.8827 MB / 0.8893 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005206/1.186, allocations: 3.283 MB / 0.8925 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.187, allocations: 1.364 MB / 0.8938 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001558/1.188, allocations: 455.5 kB / 0.8943 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/1.189, allocations: 111.4 kB / 0.8944 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of SimCode: time 5.62e-07/1.189, allocations: 6.531 kB / 0.8944 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of Templates: time 0.04622/1.235, allocations: 30.03 MB / 0.9237 GB, free: 12.03 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)