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.001145/0.001145, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.431/1.431, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.072/1.072, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 56.81 kB / 0.5053 GB, free: 5.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2209, allocations: 80.92 MB / 0.5844 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.6364/0.8573, allocations: 235.8 MB / 0.8147 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02/0.8774, allocations: 10.41 MB / 0.8248 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00407/0.8815, allocations: 59.69 kB / 0.8249 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005208/0.8867, allocations: 1.185 MB / 0.826 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01342/0.9002, allocations: 3.66 MB / 0.8296 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007335/0.9076, allocations: 2.055 MB / 0.8316 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008796/0.9164, allocations: 4.449 MB / 0.836 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003751/0.9202, allocations: 1.582 MB / 0.8375 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004484/0.9247, allocations: 1.588 MB / 0.8391 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004212/0.929, allocations: 1.502 MB / 0.8405 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.93, allocations: 188 kB / 0.8407 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009206/0.9392, allocations: 3.234 MB / 0.8439 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001649/0.941, allocations: 0.6934 MB / 0.8445 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003686/0.9447, allocations: 1.069 MB / 0.8456 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.9565, allocations: 3.783 MB / 0.8493 GB, free: 13.36 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.9565, allocations: 0 / 0.8493 GB, free: 13.36 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9566, allocations: 0 / 0.8493 GB, free: 13.36 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001438/0.9567, allocations: 0 / 0.8493 GB, free: 13.36 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.009347/0.9661, allocations: 2.486 MB / 0.8517 GB, free: 10.82 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.9661, allocations: 16.03 kB / 0.8517 GB, free: 10.81 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004279/0.9704, allocations: 0.5244 MB / 0.8522 GB, free: 10.28 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/0.974, allocations: 1.224 MB / 0.8534 GB, free: 9 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.9741, allocations: 102.7 kB / 0.8535 GB, free: 8.898 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005314/0.9746, allocations: 135.9 kB / 0.8537 GB, free: 8.766 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0045/0.9792, allocations: 1.681 MB / 0.8553 GB, free: 7.016 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.065e-05/0.9793, allocations: 0 / 0.8553 GB, free: 7.016 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/0.9795, allocations: 52 kB / 0.8554 GB, free: 6.965 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.9796, allocations: 78.52 kB / 0.8554 GB, free: 6.887 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003357/0.983, allocations: 1.435 MB / 0.8568 GB, free: 5.445 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.3929/1.376, allocations: 7.017 MB / 0.8637 GB, free: 219.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/1.378, allocations: 1.186 MB / 0.8648 GB, free: 219 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008228/1.378, allocations: 0.6071 MB / 0.8654 GB, free: 219 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006759/1.379, allocations: 0.8639 MB / 0.8663 GB, free: 218.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008886/1.38, allocations: 0.6077 MB / 0.8669 GB, free: 218 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.146e-06/1.38, allocations: 0 / 0.8669 GB, free: 218 MB / 0.67 GB Notification: Performance of matching and sorting (n=110): time 0.002821/1.383, allocations: 1.567 MB / 0.8684 GB, free: 217.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/1.383, allocations: 92.08 kB / 0.8685 GB, free: 217.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/1.384, allocations: 1.196 MB / 0.8697 GB, free: 216.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.009e-05/1.384, allocations: 47.42 kB / 0.8697 GB, free: 216.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/1.385, allocations: 0.6781 MB / 0.8704 GB, free: 216.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/1.385, allocations: 385 kB / 0.8707 GB, free: 216.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/1.385, allocations: 176.8 kB / 0.8709 GB, free: 216.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.042e-05/1.385, allocations: 344.4 kB / 0.8712 GB, free: 215.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000625/1.386, allocations: 433.6 kB / 0.8716 GB, free: 215.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007301/1.387, allocations: 0.5619 MB / 0.8722 GB, free: 215.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/1.388, allocations: 1.015 MB / 0.8732 GB, free: 214.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.388, allocations: 3.125 kB / 0.8732 GB, free: 214.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001829/1.39, allocations: 1.209 MB / 0.8744 GB, free: 214.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.39, allocations: 6.188 kB / 0.8744 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.39, allocations: 3.281 kB / 0.8744 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/1.39, allocations: 14.66 kB / 0.8744 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/1.391, allocations: 217.5 kB / 0.8746 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/1.391, allocations: 6.391 kB / 0.8746 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/1.392, allocations: 99.02 kB / 0.8747 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.08e-05/1.392, allocations: 38.2 kB / 0.8747 GB, free: 214.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001057/1.393, allocations: 0.739 MB / 0.8755 GB, free: 213.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006486/1.394, allocations: 0.5512 MB / 0.876 GB, free: 213.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001286/1.395, allocations: 0.9915 MB / 0.877 GB, free: 213.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/1.395, allocations: 1.094 kB / 0.877 GB, free: 213.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001722/1.397, allocations: 1.193 MB / 0.8781 GB, free: 212.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.397, allocations: 12.28 kB / 0.8781 GB, free: 212.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.397, allocations: 3.156 kB / 0.8781 GB, free: 212.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/1.397, allocations: 7.781 kB / 0.8781 GB, free: 212.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/1.398, allocations: 209.4 kB / 0.8783 GB, free: 212.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/1.398, allocations: 12.86 kB / 0.8784 GB, free: 212.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.399, allocations: 89.25 kB / 0.8784 GB, free: 212.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/1.399, allocations: 36.62 kB / 0.8785 GB, free: 212.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.000288/1.399, allocations: 242.9 kB / 0.8787 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/1.399, allocations: 147.1 kB / 0.8789 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/1.402, allocations: 1.236 MB / 0.8801 GB, free: 211.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/1.402, allocations: 16.31 kB / 0.8801 GB, free: 211.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.402, allocations: 3.875 kB / 0.8801 GB, free: 211.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001396/1.403, allocations: 1.003 MB / 0.8811 GB, free: 211.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004499/1.407, allocations: 3.161 MB / 0.8841 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.407, allocations: 1.438 kB / 0.8841 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/1.409, allocations: 234.3 kB / 0.8844 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/1.409, allocations: 5.25 kB / 0.8844 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.927e-05/1.409, allocations: 24.81 kB / 0.8844 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.385e-06/1.409, allocations: 8.719 kB / 0.8844 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.409, allocations: 7.281 kB / 0.8844 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/1.411, allocations: 1.998 MB / 0.8864 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006483/1.412, allocations: 359.8 kB / 0.8867 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/1.412, allocations: 24.81 kB / 0.8867 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008502/1.413, allocations: 39.44 kB / 0.8868 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/1.413, allocations: 70.62 kB / 0.8868 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.351e-05/1.413, allocations: 40.05 kB / 0.8869 GB, free: 208.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001/1.414, allocations: 0.8365 MB / 0.8877 GB, free: 208.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/1.414, allocations: 0 / 0.8877 GB, free: 208.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001808/1.416, allocations: 0.8331 MB / 0.8885 GB, free: 208 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.001342/1.418, allocations: 0.5807 MB / 0.8891 GB, free: 207.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00347/1.421, allocations: 1.855 MB / 0.8909 GB, free: 207.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.421, allocations: 1.719 kB / 0.8909 GB, free: 207.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000945/1.422, allocations: 0.5676 MB / 0.8914 GB, free: 207.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003913/1.426, allocations: 0.8776 MB / 0.8923 GB, free: 206.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006595/1.432, allocations: 3.346 MB / 0.8956 GB, free: 205.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.434, allocations: 1.366 MB / 0.8969 GB, free: 204.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002335/1.436, allocations: 453 kB / 0.8973 GB, free: 204.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/1.436, allocations: 112.1 kB / 0.8974 GB, free: 204.2 MB / 0.67 GB Notification: Performance of SimCode: time 2.013e-06/1.436, allocations: 0 / 0.8974 GB, free: 204.2 MB / 0.67 GB Notification: Performance of Templates: time 0.06578/1.502, allocations: 30.05 MB / 0.9268 GB, free: 197.2 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)