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.00141/0.00141, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.001421/0.001421, allocations: 195.8 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.393/1.393, 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-master/package.mo): time 0.858/0.858, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 59.84 kB / 0.5067 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.427, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.6446/1.072, allocations: 235.8 MB / 0.8161 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01721/1.089, allocations: 10.4 MB / 0.8262 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004296/1.093, allocations: 63.06 kB / 0.8263 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003878/1.097, allocations: 1.193 MB / 0.8275 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01147/1.109, allocations: 3.645 MB / 0.831 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006198/1.115, allocations: 2.08 MB / 0.8331 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007398/1.122, allocations: 4.449 MB / 0.8374 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002817/1.125, allocations: 1.586 MB / 0.8389 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004019/1.129, allocations: 1.595 MB / 0.8405 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/1.133, allocations: 1.495 MB / 0.842 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003329/1.133, allocations: 183.8 kB / 0.8421 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008353/1.142, allocations: 3.246 MB / 0.8453 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001137/1.143, allocations: 0.6871 MB / 0.846 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001918/1.145, allocations: 1.074 MB / 0.847 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008032/1.153, allocations: 3.822 MB / 0.8508 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/1.153, allocations: 0 / 0.8508 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.826e-06/1.153, allocations: 0 / 0.8508 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.937e-05/1.153, allocations: 0 / 0.8508 GB, free: 8.926 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.005481/1.158, allocations: 2.495 MB / 0.8532 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.158, allocations: 13.05 kB / 0.8532 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003256/1.162, allocations: 0.5199 MB / 0.8537 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/1.164, allocations: 1.285 MB / 0.855 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.261e-05/1.164, allocations: 106.1 kB / 0.8551 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/1.164, allocations: 138.4 kB / 0.8552 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/1.167, allocations: 1.676 MB / 0.8568 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/1.167, allocations: 0 / 0.8568 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/1.167, allocations: 52 kB / 0.8569 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.138e-05/1.167, allocations: 77.02 kB / 0.857 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/1.17, allocations: 1.437 MB / 0.8584 GB, free: 1.172 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.01119/1.181, allocations: 6.959 MB / 0.8652 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/1.183, allocations: 1.189 MB / 0.8663 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009398/1.184, allocations: 0.6134 MB / 0.8669 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009369/1.185, allocations: 0.8583 MB / 0.8678 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/1.186, allocations: 0.6128 MB / 0.8684 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 3.336e-06/1.186, allocations: 0 / 0.8684 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110): time 0.003037/1.189, allocations: 1.571 MB / 0.8699 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.454e-05/1.189, allocations: 94.11 kB / 0.87 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/1.191, allocations: 1.195 MB / 0.8712 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.886e-05/1.191, allocations: 45.7 kB / 0.8712 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000586/1.192, allocations: 0.6848 MB / 0.8719 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003582/1.192, allocations: 377.9 kB / 0.8722 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/1.192, allocations: 178.6 kB / 0.8724 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.192, allocations: 353.9 kB / 0.8727 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006894/1.193, allocations: 424.6 kB / 0.8731 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008123/1.194, allocations: 0.5665 MB / 0.8737 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/1.196, allocations: 1.011 MB / 0.8747 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.196, allocations: 0 / 0.8747 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002118/1.198, allocations: 1.215 MB / 0.8759 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.198, allocations: 11.94 kB / 0.8759 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.198, allocations: 64 / 0.8759 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/1.198, allocations: 12 kB / 0.8759 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/1.199, allocations: 217 kB / 0.8761 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/1.199, allocations: 14.61 kB / 0.8761 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.2, allocations: 105.7 kB / 0.8762 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.478e-05/1.2, allocations: 35.98 kB / 0.8762 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001264/1.201, allocations: 0.7362 MB / 0.877 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00081/1.202, allocations: 0.5521 MB / 0.8775 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001444/1.204, allocations: 0.9893 MB / 0.8785 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.955e-06/1.204, allocations: 0 / 0.8785 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001959/1.206, allocations: 1.199 MB / 0.8796 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/1.206, allocations: 4 kB / 0.8796 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.206, allocations: 4 kB / 0.8796 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/1.206, allocations: 11.94 kB / 0.8797 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008727/1.206, allocations: 209 kB / 0.8799 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.207, allocations: 11.94 kB / 0.8799 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/1.208, allocations: 73.42 kB / 0.8799 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.568e-05/1.208, allocations: 36 kB / 0.88 GB, free: 10.36 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.0003154/1.208, allocations: 246.3 kB / 0.8802 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/1.208, allocations: 154.2 kB / 0.8804 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/1.21, allocations: 1.234 MB / 0.8816 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/1.21, allocations: 12 kB / 0.8816 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.21, allocations: 0 / 0.8816 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001546/1.212, allocations: 1.005 MB / 0.8826 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004995/1.217, allocations: 3.163 MB / 0.8856 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.217, allocations: 7.984 kB / 0.8857 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.218, allocations: 226.4 kB / 0.8859 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/1.218, allocations: 8 kB / 0.8859 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.648e-05/1.218, allocations: 27.98 kB / 0.8859 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/1.218, allocations: 8.25 kB / 0.8859 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.218, allocations: 10.62 kB / 0.8859 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/1.221, allocations: 1.99 MB / 0.8879 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007871/1.222, allocations: 362.8 kB / 0.8882 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/1.222, allocations: 26.62 kB / 0.8882 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008399/1.223, allocations: 47.98 kB / 0.8883 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/1.223, allocations: 68.89 kB / 0.8883 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.174e-05/1.223, allocations: 39.98 kB / 0.8884 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00111/1.224, allocations: 0.8258 MB / 0.8892 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.11e-07/1.224, allocations: 2.625 kB / 0.8892 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001956/1.226, allocations: 0.8339 MB / 0.89 GB, free: 15.93 MB / 0.6387 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.001394/1.228, allocations: 0.5762 MB / 0.8906 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002871/1.231, allocations: 1.612 MB / 0.8921 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/1.231, allocations: 8.062 kB / 0.8922 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008705/1.232, allocations: 0.5638 MB / 0.8927 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/1.235, allocations: 0.8771 MB / 0.8936 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005041/1.24, allocations: 3.302 MB / 0.8968 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009371/1.241, allocations: 1.368 MB / 0.8981 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001613/1.243, allocations: 439.6 kB / 0.8985 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/1.243, allocations: 115.4 kB / 0.8986 GB, free: 7.332 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/1.243, allocations: 0 / 0.8986 GB, free: 7.332 MB / 0.6387 GB Notification: Performance of Templates: time 0.0509/1.294, allocations: 30.04 MB / 0.928 GB, free: 9.707 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)