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.001493/0.001493, allocations: 106.7 kB / 15.99 MB, free: 6.348 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.001699/0.001699, allocations: 195.1 kB / 16.91 MB, free: 6.188 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.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7985/0.7985, allocations: 135.1 MB / 425.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 55.91 kB / 0.5055 GB, free: 8.699 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4235, allocations: 80.92 MB / 0.5845 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.6361/1.06, allocations: 233 MB / 0.812 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01543/1.075, allocations: 10.34 MB / 0.8221 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003772/1.079, allocations: 53.16 kB / 0.8221 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003684/1.083, allocations: 1.064 MB / 0.8232 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/1.093, allocations: 3.435 MB / 0.8265 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005876/1.099, allocations: 1.899 MB / 0.8284 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006365/1.105, allocations: 4.46 MB / 0.8327 GB, free: 168 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002865/1.108, allocations: 1.555 MB / 0.8343 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003746/1.112, allocations: 1.621 MB / 0.8358 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003789/1.116, allocations: 1.586 MB / 0.8374 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005177/1.116, allocations: 184 kB / 0.8376 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007966/1.124, allocations: 3.379 MB / 0.8409 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001216/1.126, allocations: 0.6919 MB / 0.8415 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001921/1.127, allocations: 1.072 MB / 0.8426 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00521/1.133, allocations: 2.866 MB / 0.8454 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.133, allocations: 0 / 0.8454 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.124e-06/1.133, allocations: 0 / 0.8454 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.324e-05/1.133, allocations: 3.984 kB / 0.8454 GB, free: 11.03 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.006253/1.139, allocations: 2.491 MB / 0.8478 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/1.139, allocations: 8.984 kB / 0.8478 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/1.143, allocations: 0.5203 MB / 0.8483 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/1.145, allocations: 1.219 MB / 0.8495 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.974e-05/1.145, allocations: 106.5 kB / 0.8496 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003159/1.146, allocations: 147.2 kB / 0.8498 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/1.149, allocations: 1.671 MB / 0.8514 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/1.149, allocations: 2.906 kB / 0.8514 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/1.149, allocations: 54.11 kB / 0.8515 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.785e-05/1.149, allocations: 78.55 kB / 0.8515 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/1.152, allocations: 1.439 MB / 0.8529 GB, free: 4.316 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.009896/1.162, allocations: 6.95 MB / 0.8597 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/1.164, allocations: 1.18 MB / 0.8609 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009256/1.165, allocations: 0.6121 MB / 0.8615 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009318/1.166, allocations: 0.8664 MB / 0.8623 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/1.167, allocations: 0.6025 MB / 0.8629 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 3.516e-06/1.167, allocations: 0 / 0.8629 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110): time 0.00328/1.17, allocations: 1.571 MB / 0.8644 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/1.17, allocations: 90.05 kB / 0.8645 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/1.172, allocations: 1.195 MB / 0.8657 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/1.172, allocations: 45.7 kB / 0.8657 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006106/1.173, allocations: 0.6837 MB / 0.8664 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003909/1.173, allocations: 383.8 kB / 0.8668 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/1.174, allocations: 178.6 kB / 0.8669 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.174, allocations: 345.9 kB / 0.8673 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007544/1.174, allocations: 427.3 kB / 0.8677 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008508/1.175, allocations: 0.5652 MB / 0.8682 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/1.177, allocations: 1.019 MB / 0.8692 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/1.177, allocations: 0 / 0.8692 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002283/1.179, allocations: 1.214 MB / 0.8704 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.179, allocations: 4 kB / 0.8704 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/1.179, allocations: 8.312 kB / 0.8704 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/1.179, allocations: 12 kB / 0.8704 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009781/1.18, allocations: 216.6 kB / 0.8706 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/1.18, allocations: 8 kB / 0.8707 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/1.182, allocations: 165.5 kB / 0.8708 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/1.182, allocations: 39.98 kB / 0.8709 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001268/1.183, allocations: 0.7361 MB / 0.8716 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008075/1.184, allocations: 0.5559 MB / 0.8721 GB, free: 0 / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001533/1.186, allocations: 0.9877 MB / 0.8731 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.169e-06/1.186, allocations: 4 kB / 0.8731 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002183/1.188, allocations: 1.188 MB / 0.8742 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.188, allocations: 8 kB / 0.8742 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.188, allocations: 2.531 kB / 0.8743 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/1.188, allocations: 8 kB / 0.8743 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009146/1.189, allocations: 212.7 kB / 0.8745 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/1.189, allocations: 12.8 kB / 0.8745 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/1.191, allocations: 152.6 kB / 0.8746 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-05/1.191, allocations: 36 kB / 0.8747 GB, free: 13.39 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.0003266/1.191, allocations: 237.9 kB / 0.8749 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004067/1.191, allocations: 154.2 kB / 0.875 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/1.194, allocations: 1.237 MB / 0.8762 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/1.194, allocations: 11.94 kB / 0.8762 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.194, allocations: 0 / 0.8762 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00161/1.195, allocations: 1.009 MB / 0.8772 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005926/1.201, allocations: 3.155 MB / 0.8803 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.202, allocations: 4 kB / 0.8803 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/1.203, allocations: 238.5 kB / 0.8805 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.772e-05/1.203, allocations: 4 kB / 0.8806 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.519e-05/1.203, allocations: 31.98 kB / 0.8806 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/1.203, allocations: 10.44 kB / 0.8806 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.203, allocations: 0 / 0.8806 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003273/1.206, allocations: 2.002 MB / 0.8825 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009146/1.207, allocations: 358.9 kB / 0.8829 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003897/1.207, allocations: 27.98 kB / 0.8829 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/1.209, allocations: 111.8 kB / 0.883 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/1.209, allocations: 79.38 kB / 0.8831 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.975e-05/1.209, allocations: 35.98 kB / 0.8831 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001376/1.211, allocations: 0.8258 MB / 0.8839 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/1.211, allocations: 4 kB / 0.8839 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002499/1.213, allocations: 0.8338 MB / 0.8848 GB, free: 2.895 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.001512/1.215, allocations: 0.5815 MB / 0.8853 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003916/1.219, allocations: 1.856 MB / 0.8871 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.433e-05/1.219, allocations: 4 kB / 0.8871 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009777/1.22, allocations: 0.5696 MB / 0.8877 GB, free: 192 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004695/1.224, allocations: 0.8795 MB / 0.8886 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007006/1.231, allocations: 4.03 MB / 0.8925 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.233, allocations: 1.368 MB / 0.8938 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006869/1.233, allocations: 123.4 kB / 0.8939 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of SimCode: time 1.293e-06/1.233, allocations: 0 / 0.8939 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of Templates: time 0.0426/1.276, allocations: 25.42 MB / 0.9188 GB, free: 0.4922 MB / 0.6544 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)