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.001297/0.001297, allocations: 111.4 kB / 16.37 MB, free: 6 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.001101/0.001101, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8144/0.8144, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 71.83 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4371, allocations: 80.18 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7482/1.185, allocations: 235.9 MB / 0.8118 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01639/1.202, allocations: 10.4 MB / 0.822 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003321/1.205, allocations: 61.66 kB / 0.822 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003313/1.209, allocations: 1.186 MB / 0.8232 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/1.219, allocations: 3.656 MB / 0.8268 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005429/1.224, allocations: 2.064 MB / 0.8288 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006258/1.23, allocations: 4.453 MB / 0.8331 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002367/1.233, allocations: 1.578 MB / 0.8347 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/1.236, allocations: 1.599 MB / 0.8362 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003492/1.24, allocations: 1.509 MB / 0.8377 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007529/1.24, allocations: 183.2 kB / 0.8379 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009138/1.25, allocations: 3.246 MB / 0.841 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001275/1.251, allocations: 0.6876 MB / 0.8417 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001952/1.253, allocations: 1.064 MB / 0.8428 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007759/1.261, allocations: 3.828 MB / 0.8465 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.261, allocations: 0 / 0.8465 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/1.261, allocations: 0 / 0.8465 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.152e-05/1.261, allocations: 2.656 kB / 0.8465 GB, free: 10.2 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.005382/1.266, allocations: 2.48 MB / 0.8489 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/1.266, allocations: 12.62 kB / 0.8489 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/1.27, allocations: 0.5187 MB / 0.8494 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003303/1.273, allocations: 1.293 MB / 0.8507 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.462e-05/1.273, allocations: 102.6 kB / 0.8508 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/1.273, allocations: 135.9 kB / 0.8509 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/1.276, allocations: 1.668 MB / 0.8526 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/1.276, allocations: 4 kB / 0.8526 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/1.276, allocations: 58.03 kB / 0.8526 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-05/1.276, allocations: 70.56 kB / 0.8527 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/1.279, allocations: 1.448 MB / 0.8541 GB, free: 3.395 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.009661/1.289, allocations: 6.961 MB / 0.8609 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/1.29, allocations: 1.181 MB / 0.862 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008915/1.291, allocations: 0.6121 MB / 0.8626 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008488/1.292, allocations: 0.8705 MB / 0.8635 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009983/1.293, allocations: 0.5971 MB / 0.8641 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 3.045e-06/1.293, allocations: 0 / 0.8641 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110): time 0.003062/1.296, allocations: 1.569 MB / 0.8656 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/1.296, allocations: 94.05 kB / 0.8657 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/1.298, allocations: 1.202 MB / 0.8669 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.498e-05/1.298, allocations: 53.64 kB / 0.8669 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005638/1.299, allocations: 0.6737 MB / 0.8676 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000325/1.299, allocations: 379.5 kB / 0.8679 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/1.299, allocations: 182.6 kB / 0.8681 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.299, allocations: 341.9 kB / 0.8684 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/1.3, allocations: 428.6 kB / 0.8689 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008136/1.301, allocations: 0.5638 MB / 0.8694 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/1.302, allocations: 1.012 MB / 0.8704 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.302, allocations: 4 kB / 0.8704 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001936/1.304, allocations: 1.214 MB / 0.8716 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/1.304, allocations: 7.938 kB / 0.8716 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.304, allocations: 4 kB / 0.8716 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/1.304, allocations: 8.312 kB / 0.8716 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009706/1.305, allocations: 220.6 kB / 0.8718 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/1.305, allocations: 10.42 kB / 0.8718 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/1.306, allocations: 102.6 kB / 0.8719 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.996e-05/1.307, allocations: 36 kB / 0.872 GB, free: 476 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001097/1.308, allocations: 0.74 MB / 0.8727 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009736/1.309, allocations: 0.5496 MB / 0.8732 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001477/1.31, allocations: 0.9916 MB / 0.8742 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/1.31, allocations: 0 / 0.8742 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001995/1.312, allocations: 1.19 MB / 0.8753 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.312, allocations: 11.98 kB / 0.8754 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.312, allocations: 0 / 0.8754 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/1.312, allocations: 8.125 kB / 0.8754 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009379/1.313, allocations: 213 kB / 0.8756 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/1.313, allocations: 15.94 kB / 0.8756 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/1.314, allocations: 75.36 kB / 0.8757 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.578e-05/1.314, allocations: 38.62 kB / 0.8757 GB, free: 12.59 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.0003969/1.315, allocations: 240.9 kB / 0.8759 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/1.315, allocations: 158.1 kB / 0.8761 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/1.318, allocations: 1.231 MB / 0.8773 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/1.318, allocations: 11.94 kB / 0.8773 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.318, allocations: 0 / 0.8773 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001768/1.319, allocations: 1.009 MB / 0.8783 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005544/1.325, allocations: 3.157 MB / 0.8814 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/1.325, allocations: 4 kB / 0.8814 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/1.326, allocations: 240.8 kB / 0.8816 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/1.326, allocations: 4 kB / 0.8816 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.083e-05/1.326, allocations: 31.98 kB / 0.8816 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.679e-06/1.326, allocations: 8 kB / 0.8816 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.326, allocations: 2.625 kB / 0.8816 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003344/1.33, allocations: 2.005 MB / 0.8836 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008201/1.33, allocations: 354.9 kB / 0.8839 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/1.331, allocations: 27.98 kB / 0.884 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000894/1.331, allocations: 36.55 kB / 0.884 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/1.332, allocations: 75.38 kB / 0.8841 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.601e-05/1.332, allocations: 35.98 kB / 0.8841 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00115/1.333, allocations: 0.8297 MB / 0.8849 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.41e-07/1.333, allocations: 0 / 0.8849 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001977/1.335, allocations: 0.8339 MB / 0.8857 GB, free: 2.172 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.001357/1.336, allocations: 0.5844 MB / 0.8863 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002852/1.339, allocations: 1.622 MB / 0.8879 GB, free: 228 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.339, allocations: 0 / 0.8879 GB, free: 228 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009552/1.34, allocations: 0.5631 MB / 0.8884 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/1.344, allocations: 0.874 MB / 0.8893 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005246/1.349, allocations: 3.288 MB / 0.8925 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/1.35, allocations: 1.364 MB / 0.8938 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001688/1.352, allocations: 451.6 kB / 0.8943 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003739/1.352, allocations: 115.4 kB / 0.8944 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of SimCode: time 9.32e-07/1.352, allocations: 0 / 0.8944 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of Templates: time 0.05027/1.402, allocations: 30.04 MB / 0.9237 GB, free: 12 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)