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.001248/0.001248, allocations: 105.8 kB / 16.4 MB, free: 6.023 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.001171/0.001172, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9882/0.9882, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 68.17 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1475, allocations: 76.17 MB / 0.6321 GB, free: 4.34 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.6002/0.7477, allocations: 294.2 MB / 0.9195 GB, free: 6.004 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03034/0.7781, allocations: 23.04 MB / 0.942 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005013/0.7832, allocations: 79.62 kB / 0.942 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004993/0.7882, allocations: 1.783 MB / 0.9438 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01384/0.8021, allocations: 6.136 MB / 0.9498 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006881/0.809, allocations: 2.896 MB / 0.9526 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008055/0.817, allocations: 7.3 MB / 0.9597 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004614/0.8217, allocations: 2.983 MB / 0.9626 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006482/0.8282, allocations: 2.907 MB / 0.9655 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004562/0.8327, allocations: 2.707 MB / 0.9681 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009989/0.8337, allocations: 344 kB / 0.9684 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01249/0.8462, allocations: 5.99 MB / 0.9743 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002702/0.849, allocations: 1.465 MB / 0.9757 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004262/0.8532, allocations: 1.902 MB / 0.9776 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.867, allocations: 6.938 MB / 0.9844 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.867, allocations: 0 / 0.9844 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.364e-06/0.867, allocations: 0 / 0.9844 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001907/0.8672, allocations: 0 / 0.9844 GB, free: 3.359 MB / 0.7325 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.01196/0.8792, allocations: 4.092 MB / 0.9884 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.8792, allocations: 8.031 kB / 0.9884 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005885/0.8851, allocations: 0.8468 MB / 0.9892 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004191/0.8893, allocations: 1.864 MB / 0.991 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.8895, allocations: 209.4 kB / 0.9912 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007481/0.8903, allocations: 276 kB / 0.9915 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008392/0.8987, allocations: 3.601 MB / 0.995 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.153e-05/0.8988, allocations: 11.83 kB / 0.995 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004082/0.8992, allocations: 116 kB / 0.9951 GB, free: 8.086 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001602/0.8994, allocations: 145.3 kB / 0.9952 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006873/0.9063, allocations: 3.296 MB / 0.9985 GB, free: 4.633 MB / 0.7481 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.01897/0.9252, allocations: 14.19 MB / 1.012 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00392/0.9292, allocations: 2.487 MB / 1.015 GB, free: 2.648 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/0.9312, allocations: 1.352 MB / 1.016 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/0.9326, allocations: 1.375 MB / 1.017 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002074/0.9347, allocations: 1.227 MB / 1.019 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=213): time 3.927e-06/0.9347, allocations: 0 / 1.019 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=213): time 0.005911/0.9407, allocations: 3.168 MB / 1.022 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.9407, allocations: 77.41 kB / 1.022 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/0.9428, allocations: 1.46 MB / 1.023 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.943, allocations: 61.7 kB / 1.023 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.9441, allocations: 1.115 MB / 1.024 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007113/0.9449, allocations: 0.7354 MB / 1.025 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000573/0.9454, allocations: 359.5 kB / 1.025 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.9456, allocations: 301.1 kB / 1.026 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/0.9472, allocations: 0.9175 MB / 1.027 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.949, allocations: 1.247 MB / 1.028 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003559/0.9526, allocations: 2.329 MB / 1.03 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.9526, allocations: 4 kB / 1.03 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004446/0.9571, allocations: 2.598 MB / 1.033 GB, free: 15.71 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.9571, allocations: 41.64 kB / 1.033 GB, free: 15.67 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.9571, allocations: 8 kB / 1.033 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/0.9572, allocations: 20.03 kB / 1.033 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/0.9592, allocations: 467.4 kB / 1.033 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.675e-05/0.9592, allocations: 23.98 kB / 1.033 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.9612, allocations: 193.9 kB / 1.033 GB, free: 14.97 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.9614, allocations: 72 kB / 1.033 GB, free: 14.9 MB / 0.795 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.001118/0.9625, allocations: 0.6885 MB / 1.034 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004566/0.963, allocations: 213.5 kB / 1.034 GB, free: 13.99 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004415/0.9674, allocations: 2.526 MB / 1.037 GB, free: 11.45 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-05/0.9674, allocations: 20 kB / 1.037 GB, free: 11.43 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.9674, allocations: 0 / 1.037 GB, free: 11.43 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003468/0.9709, allocations: 2.339 MB / 1.039 GB, free: 9.023 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008929/0.9799, allocations: 5.604 MB / 1.045 GB, free: 3.309 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.9799, allocations: 0 / 1.045 GB, free: 3.309 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002218/0.9821, allocations: 475.6 kB / 1.045 GB, free: 2.844 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-05/0.9822, allocations: 12 kB / 1.045 GB, free: 2.832 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/0.9823, allocations: 55.92 kB / 1.045 GB, free: 2.777 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.397e-05/0.9823, allocations: 8 kB / 1.045 GB, free: 2.77 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.9823, allocations: 4 kB / 1.045 GB, free: 2.766 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.285/1.267, allocations: 3.808 MB / 1.049 GB, free: 321.6 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.269, allocations: 0.5329 MB / 1.049 GB, free: 321.5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/1.269, allocations: 44.56 kB / 1.049 GB, free: 321.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/1.27, allocations: 66.39 kB / 1.049 GB, free: 321.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003365/1.271, allocations: 152.1 kB / 1.05 GB, free: 321.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.271, allocations: 69.58 kB / 1.05 GB, free: 321.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001359/1.272, allocations: 0.9869 MB / 1.051 GB, free: 321.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/1.272, allocations: 1.125 kB / 1.051 GB, free: 321.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002119/1.274, allocations: 0.9379 MB / 1.052 GB, free: 321.1 MB / 0.795 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.0007129/1.275, allocations: 377.3 kB / 1.052 GB, free: 320.9 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003993/1.279, allocations: 2.341 MB / 1.054 GB, free: 320.1 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.279, allocations: 1.281 kB / 1.054 GB, free: 320.1 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/1.281, allocations: 1.226 MB / 1.055 GB, free: 319.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005156/1.286, allocations: 1.294 MB / 1.057 GB, free: 319.4 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008588/1.295, allocations: 5.77 MB / 1.062 GB, free: 316.8 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/1.296, allocations: 1.969 MB / 1.064 GB, free: 315.9 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002914/1.299, allocations: 0.7292 MB / 1.065 GB, free: 315.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007181/1.3, allocations: 199.2 kB / 1.065 GB, free: 315.8 MB / 0.795 GB Notification: Performance of SimCode: time 9.21e-07/1.3, allocations: 1.656 kB / 1.065 GB, free: 315.8 MB / 0.795 GB Notification: Performance of Templates: time 0.06254/1.363, allocations: 47.78 MB / 1.112 GB, free: 279.7 MB / 0.795 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)