Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep") translateModel(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 105 kB / 16.52 MB, free: 6.266 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.001248/0.001248, allocations: 195.5 kB / 17.44 MB, free: 5.887 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.336/1.336, allocations: 222.9 MB / 241.1 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8391/0.8391, allocations: 115.3 MB / 406.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 63.91 kB / 493.6 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3834, allocations: 76.16 MB / 0.5564 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.6585/1.042, allocations: 292.1 MB / 0.8416 GB, free: 268 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03072/1.073, allocations: 23.27 MB / 0.8643 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00496/1.078, allocations: 67.31 kB / 0.8644 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005603/1.083, allocations: 1.55 MB / 0.8659 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01629/1.1, allocations: 5.779 MB / 0.8715 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008086/1.108, allocations: 2.628 MB / 0.8741 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01232/1.12, allocations: 10.74 MB / 0.8846 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004419/1.125, allocations: 2.513 MB / 0.887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008285/1.133, allocations: 2.537 MB / 0.8895 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005967/1.139, allocations: 2.827 MB / 0.8923 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001427/1.141, allocations: 204 kB / 0.8925 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01535/1.156, allocations: 6.906 MB / 0.8992 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002833/1.159, allocations: 1.338 MB / 0.9005 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005039/1.164, allocations: 1.755 MB / 0.9022 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01021/1.174, allocations: 5.13 MB / 0.9072 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.174, allocations: 0 / 0.9072 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.434e-06/1.174, allocations: 0 / 0.9072 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002025/1.174, allocations: 0 / 0.9072 GB, free: 7.039 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.01291/1.187, allocations: 4.095 MB / 0.9112 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/1.187, allocations: 19.97 kB / 0.9113 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006266/1.194, allocations: 0.8402 MB / 0.9121 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004187/1.198, allocations: 1.789 MB / 0.9138 GB, free: 236 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/1.198, allocations: 208.9 kB / 0.914 GB, free: 28 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009209/1.199, allocations: 279.2 kB / 0.9143 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007663/1.207, allocations: 3.605 MB / 0.9178 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-05/1.207, allocations: 3.938 kB / 0.9178 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003339/1.207, allocations: 119.5 kB / 0.9179 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001565/1.207, allocations: 141.3 kB / 0.9181 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006665/1.214, allocations: 3.288 MB / 0.9213 GB, free: 8.477 MB / 0.6387 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.01902/1.233, allocations: 14.14 MB / 0.9351 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003847/1.237, allocations: 2.49 MB / 0.9375 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/1.239, allocations: 1.356 MB / 0.9388 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/1.24, allocations: 1.375 MB / 0.9402 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002183/1.243, allocations: 1.23 MB / 0.9414 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=213): time 4.919e-06/1.243, allocations: 0 / 0.9414 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of matching and sorting (n=213): time 0.006077/1.249, allocations: 3.164 MB / 0.9445 GB, free: 15.26 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/1.249, allocations: 77.41 kB / 0.9446 GB, free: 15.17 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/1.251, allocations: 1.456 MB / 0.946 GB, free: 13.71 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002541/1.251, allocations: 65.7 kB / 0.946 GB, free: 13.64 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009524/1.252, allocations: 1.118 MB / 0.9471 GB, free: 12.51 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008776/1.253, allocations: 0.7283 MB / 0.9478 GB, free: 11.79 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005859/1.253, allocations: 359.5 kB / 0.9482 GB, free: 11.43 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.613e-05/1.254, allocations: 301.1 kB / 0.9485 GB, free: 11.13 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/1.255, allocations: 0.9175 MB / 0.9494 GB, free: 10.21 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/1.257, allocations: 1.251 MB / 0.9506 GB, free: 8.836 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003574/1.261, allocations: 2.336 MB / 0.9529 GB, free: 6.391 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/1.261, allocations: 0 / 0.9529 GB, free: 6.391 MB / 0.67 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004655/1.265, allocations: 2.601 MB / 0.9554 GB, free: 3.773 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.788e-05/1.265, allocations: 33.7 kB / 0.9554 GB, free: 3.734 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/1.265, allocations: 12.75 kB / 0.9555 GB, free: 3.723 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.782e-05/1.266, allocations: 16 kB / 0.9555 GB, free: 3.707 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/1.268, allocations: 471.3 kB / 0.9559 GB, free: 3.246 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.948e-05/1.268, allocations: 19.98 kB / 0.9559 GB, free: 3.227 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003/1.271, allocations: 389.8 kB / 0.9563 GB, free: 2.844 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/1.271, allocations: 79.98 kB / 0.9564 GB, free: 2.766 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 1 * 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.001472/1.272, allocations: 0.6884 MB / 0.9571 GB, free: 2.066 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006414/1.273, allocations: 213.5 kB / 0.9573 GB, free: 1.855 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/1.278, allocations: 2.522 MB / 0.9597 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/1.278, allocations: 20 kB / 0.9597 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/1.278, allocations: 4.062 kB / 0.9598 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003459/1.281, allocations: 2.339 MB / 0.962 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/1.291, allocations: 5.604 MB / 0.9675 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/1.291, allocations: 8.062 kB / 0.9675 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002218/1.293, allocations: 475.3 kB / 0.968 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.057e-05/1.293, allocations: 12 kB / 0.968 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/1.294, allocations: 51.98 kB / 0.968 GB, free: 6.691 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.434e-05/1.294, allocations: 12 kB / 0.968 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.294, allocations: 4 kB / 0.968 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006035/1.3, allocations: 3.799 MB / 0.9718 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/1.301, allocations: 0.5332 MB / 0.9723 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/1.302, allocations: 48 kB / 0.9723 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.304, allocations: 241.7 kB / 0.9726 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003128/1.304, allocations: 157.7 kB / 0.9727 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/1.304, allocations: 71.97 kB / 0.9728 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001359/1.305, allocations: 0.9866 MB / 0.9737 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/1.305, allocations: 3.938 kB / 0.9737 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002442/1.308, allocations: 0.9312 MB / 0.9746 GB, free: 15.85 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 215 * 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.0007688/1.309, allocations: 377.7 kB / 0.975 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003816/1.312, allocations: 2.336 MB / 0.9773 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.312, allocations: 0 / 0.9773 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001834/1.314, allocations: 1.215 MB / 0.9785 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005947/1.32, allocations: 1.232 MB / 0.9797 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/1.331, allocations: 7.197 MB / 0.9867 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/1.332, allocations: 1.979 MB / 0.9886 GB, free: 1.465 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/1.334, allocations: 211.4 kB / 0.9888 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of SimCode: time 8.52e-07/1.334, allocations: 4 kB / 0.9888 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of Templates: time 0.3653/1.699, allocations: 41.6 MB / 1.029 GB, free: 311.5 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)