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.001228/0.001228, allocations: 107.5 kB / 16.41 MB, free: 6.504 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.001175/0.001175, allocations: 189.6 kB / 17.34 MB, free: 5.758 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8069/0.8069, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 60.92 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.175, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.6453/0.8204, allocations: 235.8 MB / 0.8906 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01581/0.8363, allocations: 10.4 MB / 0.9008 GB, free: 15.51 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.8388, allocations: 63.62 kB / 0.9009 GB, free: 15.45 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002995/0.8418, allocations: 1.181 MB / 0.902 GB, free: 14.26 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008943/0.8508, allocations: 3.656 MB / 0.9056 GB, free: 10.59 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005259/0.856, allocations: 2.072 MB / 0.9076 GB, free: 8.527 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005908/0.862, allocations: 4.44 MB / 0.9119 GB, free: 4.074 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002432/0.8644, allocations: 1.584 MB / 0.9135 GB, free: 2.457 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.8674, allocations: 1.627 MB / 0.9151 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003034/0.8704, allocations: 1.5 MB / 0.9165 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005536/0.871, allocations: 180 kB / 0.9167 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006744/0.8777, allocations: 3.234 MB / 0.9199 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009537/0.8787, allocations: 0.7012 MB / 0.9206 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001502/0.8802, allocations: 1.065 MB / 0.9216 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00657/0.8868, allocations: 3.825 MB / 0.9253 GB, free: 6.301 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.8868, allocations: 4 kB / 0.9253 GB, free: 6.297 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8868, allocations: 0 / 0.9253 GB, free: 6.297 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.999e-05/0.8869, allocations: 3.938 kB / 0.9253 GB, free: 6.293 MB / 0.6856 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.005324/0.8922, allocations: 2.478 MB / 0.9278 GB, free: 3.758 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.8923, allocations: 12.03 kB / 0.9278 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/0.8956, allocations: 0.5245 MB / 0.9283 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.8976, allocations: 1.291 MB / 0.9296 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.63e-05/0.8977, allocations: 102.7 kB / 0.9296 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.8979, allocations: 140 kB / 0.9298 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/0.9006, allocations: 1.674 MB / 0.9314 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/0.9007, allocations: 11.84 kB / 0.9314 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.9008, allocations: 52 kB / 0.9315 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/0.901, allocations: 74.52 kB / 0.9315 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002792/0.9038, allocations: 1.439 MB / 0.933 GB, free: 14.31 MB / 0.7012 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.00979/0.9136, allocations: 6.957 MB / 0.9397 GB, free: 6.891 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.9154, allocations: 1.18 MB / 0.9409 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009587/0.9164, allocations: 0.6123 MB / 0.9415 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009568/0.9174, allocations: 0.8633 MB / 0.9423 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/0.9185, allocations: 0.6102 MB / 0.9429 GB, free: 3.383 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 3.005e-06/0.9185, allocations: 0 / 0.9429 GB, free: 3.383 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110): time 0.003093/0.9216, allocations: 1.576 MB / 0.9445 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.9217, allocations: 86.11 kB / 0.9446 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.9233, allocations: 1.186 MB / 0.9457 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.581e-05/0.9234, allocations: 49.7 kB / 0.9458 GB, free: 452 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005694/0.924, allocations: 0.6779 MB / 0.9464 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003594/0.9244, allocations: 390.3 kB / 0.9468 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.9247, allocations: 174.7 kB / 0.947 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.9248, allocations: 345.9 kB / 0.9473 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007455/0.9256, allocations: 428.6 kB / 0.9477 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008756/0.9264, allocations: 0.5729 MB / 0.9483 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.9281, allocations: 1.013 MB / 0.9493 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.9281, allocations: 0 / 0.9493 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002124/0.9302, allocations: 1.218 MB / 0.9504 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.9302, allocations: 9.812 kB / 0.9505 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.9303, allocations: 4 kB / 0.9505 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.9303, allocations: 8 kB / 0.9505 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.9313, allocations: 211.7 kB / 0.9507 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.296e-05/0.9313, allocations: 12.31 kB / 0.9507 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.9325, allocations: 98.94 kB / 0.9508 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/0.9326, allocations: 36 kB / 0.9508 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001206/0.9338, allocations: 0.7369 MB / 0.9515 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008398/0.9347, allocations: 0.5535 MB / 0.9521 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001525/0.9362, allocations: 0.9893 MB / 0.953 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.432e-06/0.9362, allocations: 4 kB / 0.953 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002065/0.9383, allocations: 1.191 MB / 0.9542 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.9383, allocations: 8 kB / 0.9542 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.9383, allocations: 0 / 0.9542 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.9383, allocations: 11.94 kB / 0.9542 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009262/0.9393, allocations: 211.7 kB / 0.9544 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.9393, allocations: 7.938 kB / 0.9544 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.9404, allocations: 83.5 kB / 0.9545 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-05/0.9405, allocations: 45.55 kB / 0.9546 GB, free: 7.246 MB / 0.7169 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.0002847/0.9408, allocations: 238 kB / 0.9548 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.9411, allocations: 150.2 kB / 0.9549 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.9433, allocations: 1.247 MB / 0.9561 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.9434, allocations: 8 kB / 0.9561 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.9434, allocations: 4 kB / 0.9561 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001639/0.945, allocations: 1.007 MB / 0.9571 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005041/0.9501, allocations: 3.159 MB / 0.9602 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.9501, allocations: 0 / 0.9602 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.9512, allocations: 235.7 kB / 0.9604 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.908e-05/0.9513, allocations: 8.312 kB / 0.9604 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/0.9514, allocations: 28 kB / 0.9605 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.355e-05/0.9514, allocations: 15.92 kB / 0.9605 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9514, allocations: 4 kB / 0.9605 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/0.9544, allocations: 1.991 MB / 0.9624 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006475/0.9551, allocations: 359.8 kB / 0.9628 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/0.9554, allocations: 28 kB / 0.9628 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009959/0.9564, allocations: 39.91 kB / 0.9628 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.9565, allocations: 76.94 kB / 0.9629 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.072e-05/0.9566, allocations: 36.98 kB / 0.963 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00119/0.9578, allocations: 0.8258 MB / 0.9638 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9578, allocations: 0 / 0.9638 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00202/0.9599, allocations: 0.8416 MB / 0.9646 GB, free: 12.75 MB / 0.7325 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.001373/0.9612, allocations: 0.5717 MB / 0.9651 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002934/0.9642, allocations: 1.62 MB / 0.9667 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.9642, allocations: 0 / 0.9667 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009354/0.9652, allocations: 0.5638 MB / 0.9673 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003534/0.9687, allocations: 0.8846 MB / 0.9681 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005646/0.9744, allocations: 3.379 MB / 0.9714 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.9755, allocations: 1.364 MB / 0.9728 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/0.9759, allocations: 123.4 kB / 0.9729 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.9759, allocations: 0 / 0.9729 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of Templates: time 0.03929/1.015, allocations: 25.8 MB / 0.9981 GB, free: 10.71 MB / 0.7637 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 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)