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.001583/0.001583, allocations: 109.4 kB / 16.41 MB, free: 6.438 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.001603/0.001603, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.427/1.427, 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-master/package.mo): time 0.9191/0.9191, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 62.25 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1889, allocations: 80.93 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7606/0.9495, allocations: 235.9 MB / 0.8956 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01738/0.967, allocations: 10.4 MB / 0.9058 GB, free: 8.789 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003301/0.9703, allocations: 59.69 kB / 0.9058 GB, free: 8.73 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003625/0.974, allocations: 1.185 MB / 0.907 GB, free: 7.539 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.9844, allocations: 3.656 MB / 0.9106 GB, free: 3.867 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006001/0.9905, allocations: 2.07 MB / 0.9126 GB, free: 1.805 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006906/0.9974, allocations: 4.439 MB / 0.9169 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/1, allocations: 1.579 MB / 0.9185 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003622/1.004, allocations: 1.631 MB / 0.9201 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/1.007, allocations: 1.498 MB / 0.9215 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004983/1.008, allocations: 184 kB / 0.9217 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007308/1.015, allocations: 3.246 MB / 0.9249 GB, free: 5.18 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001124/1.016, allocations: 0.6895 MB / 0.9255 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001677/1.018, allocations: 1.069 MB / 0.9266 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007955/1.026, allocations: 3.818 MB / 0.9303 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/1.026, allocations: 0 / 0.9303 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.034e-06/1.026, allocations: 3.938 kB / 0.9303 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.02e-05/1.026, allocations: 0 / 0.9303 GB, free: 15.58 MB / 0.7012 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.006/1.032, allocations: 2.486 MB / 0.9327 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.032, allocations: 9.109 kB / 0.9327 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003468/1.036, allocations: 0.5245 MB / 0.9333 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/1.038, allocations: 1.298 MB / 0.9345 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.762e-05/1.038, allocations: 94.66 kB / 0.9346 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/1.038, allocations: 140 kB / 0.9348 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002922/1.041, allocations: 1.674 MB / 0.9364 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/1.041, allocations: 3.938 kB / 0.9364 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/1.042, allocations: 55.98 kB / 0.9364 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.87e-05/1.042, allocations: 70.56 kB / 0.9365 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/1.044, allocations: 1.447 MB / 0.9379 GB, free: 7.594 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.009054/1.053, allocations: 6.962 MB / 0.9447 GB, free: 180 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/1.055, allocations: 1.181 MB / 0.9459 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008933/1.056, allocations: 0.6084 MB / 0.9465 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008391/1.057, allocations: 0.8594 MB / 0.9473 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/1.058, allocations: 0.6063 MB / 0.9479 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 3.477e-06/1.058, allocations: 0 / 0.9479 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110): time 0.003126/1.061, allocations: 1.584 MB / 0.9494 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/1.061, allocations: 90.11 kB / 0.9495 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/1.063, allocations: 1.19 MB / 0.9507 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/1.063, allocations: 45.7 kB / 0.9507 GB, free: 9.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007283/1.063, allocations: 0.6778 MB / 0.9514 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004207/1.064, allocations: 378.4 kB / 0.9518 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003252/1.064, allocations: 182.6 kB / 0.9519 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.064, allocations: 345.9 kB / 0.9523 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007372/1.065, allocations: 424.6 kB / 0.9527 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008235/1.066, allocations: 0.569 MB / 0.9532 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/1.067, allocations: 1.009 MB / 0.9542 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/1.068, allocations: 8.062 kB / 0.9542 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002269/1.07, allocations: 1.21 MB / 0.9554 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.07, allocations: 17.8 kB / 0.9554 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.07, allocations: 0 / 0.9554 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/1.07, allocations: 8.312 kB / 0.9554 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009779/1.071, allocations: 215.7 kB / 0.9556 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/1.071, allocations: 11.94 kB / 0.9556 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/1.072, allocations: 102.9 kB / 0.9557 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.813e-05/1.072, allocations: 32 kB / 0.9558 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001224/1.073, allocations: 0.7401 MB / 0.9565 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007698/1.074, allocations: 0.5534 MB / 0.957 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001456/1.076, allocations: 0.9893 MB / 0.958 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/1.076, allocations: 0 / 0.958 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001997/1.078, allocations: 1.192 MB / 0.9592 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.078, allocations: 8 kB / 0.9592 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.078, allocations: 4 kB / 0.9592 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/1.078, allocations: 7.938 kB / 0.9592 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008915/1.079, allocations: 211.7 kB / 0.9594 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/1.079, allocations: 12.25 kB / 0.9594 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/1.08, allocations: 83.2 kB / 0.9595 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.821e-05/1.08, allocations: 39.98 kB / 0.9595 GB, free: 0.543 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.000333/1.08, allocations: 237.8 kB / 0.9597 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/1.08, allocations: 150.2 kB / 0.9599 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/1.083, allocations: 1.244 MB / 0.9611 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.083, allocations: 12 kB / 0.9611 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.083, allocations: 0 / 0.9611 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001582/1.084, allocations: 1.011 MB / 0.9621 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005058/1.089, allocations: 3.159 MB / 0.9652 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.089, allocations: 0 / 0.9652 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/1.091, allocations: 232.1 kB / 0.9654 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/1.091, allocations: 8 kB / 0.9654 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.009e-05/1.091, allocations: 27.94 kB / 0.9654 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.326e-05/1.091, allocations: 19.81 kB / 0.9655 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.091, allocations: 7.984 kB / 0.9655 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003267/1.094, allocations: 1.991 MB / 0.9674 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007307/1.095, allocations: 362.9 kB / 0.9678 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/1.095, allocations: 28.06 kB / 0.9678 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000903/1.096, allocations: 41.78 kB / 0.9678 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/1.096, allocations: 72.94 kB / 0.9679 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-05/1.096, allocations: 39.98 kB / 0.9679 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00112/1.097, allocations: 0.8297 MB / 0.9687 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.21e-07/1.097, allocations: 0 / 0.9687 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001865/1.099, allocations: 0.8338 MB / 0.9696 GB, free: 6.035 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.00134/1.1, allocations: 0.577 MB / 0.9701 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002701/1.103, allocations: 1.611 MB / 0.9717 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.103, allocations: 3.938 kB / 0.9717 GB, free: 4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008955/1.104, allocations: 0.5729 MB / 0.9723 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003989/1.108, allocations: 0.8743 MB / 0.9731 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/1.113, allocations: 3.379 MB / 0.9764 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008914/1.114, allocations: 1.36 MB / 0.9777 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005736/1.115, allocations: 127.4 kB / 0.9779 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of SimCode: time 8.21e-07/1.115, allocations: 0 / 0.9779 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of Templates: time 0.03947/1.154, allocations: 25.58 MB / 1.003 GB, free: 4.164 MB / 0.7637 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)