Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") translateModel(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008154/0.0008155, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006203/0.006203, allocations: 169 kB / 16.26 MB, free: 6.652 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: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001722/0.001722, allocations: 266.7 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9416/0.9416, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004173, allocations: 14.8 kB / 0.5987 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1794, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.6324/0.8118, allocations: 288.1 MB / 0.9665 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03235/0.8442, allocations: 22.99 MB / 0.9889 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004692/0.849, allocations: 71.56 kB / 0.989 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005412/0.8544, allocations: 1.555 MB / 0.9905 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01701/0.8715, allocations: 5.772 MB / 0.9961 GB, free: 1.062 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008028/0.8795, allocations: 2.631 MB / 0.9987 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01334/0.8929, allocations: 10.72 MB / 1.009 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004288/0.8972, allocations: 2.435 MB / 1.012 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008039/0.9053, allocations: 2.434 MB / 1.014 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00583/0.9111, allocations: 2.713 MB / 1.017 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008553/0.912, allocations: 164 kB / 1.017 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01436/0.9264, allocations: 6.869 MB / 1.023 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002394/0.9288, allocations: 1.278 MB / 1.025 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003246/0.9321, allocations: 1.712 MB / 1.026 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01457/0.9467, allocations: 7.088 MB / 1.033 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.9467, allocations: 0 / 1.033 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.198e-06/0.9467, allocations: 0 / 1.033 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001551/0.9469, allocations: 0 / 1.033 GB, free: 10.91 MB / 0.7481 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.01013/0.957, allocations: 3.475 MB / 1.037 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.9571, allocations: 12.03 kB / 1.037 GB, free: 7.352 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005962/0.9631, allocations: 0.8391 MB / 1.037 GB, free: 6.508 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003991/0.9671, allocations: 1.794 MB / 1.039 GB, free: 4.656 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.9673, allocations: 209.4 kB / 1.039 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005636/0.9679, allocations: 283.9 kB / 1.04 GB, free: 4.172 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006482/0.9744, allocations: 3.605 MB / 1.043 GB, free: 452 kB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/0.9745, allocations: 8 kB / 1.043 GB, free: 444 kB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002613/0.9747, allocations: 112 kB / 1.043 GB, free: 332 kB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001501/0.9749, allocations: 149.2 kB / 1.043 GB, free: 180 kB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5426/1.517, allocations: 3.298 MB / 1.047 GB, free: 40.6 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.02486/1.542, allocations: 14.16 MB / 1.061 GB, free: 32.52 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004798/1.547, allocations: 2.497 MB / 1.063 GB, free: 32.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002981/1.55, allocations: 1.357 MB / 1.064 GB, free: 32.07 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/1.551, allocations: 1.379 MB / 1.066 GB, free: 30.57 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002856/1.554, allocations: 1.234 MB / 1.067 GB, free: 30.49 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=213): time 5.25e-06/1.554, allocations: 0 / 1.067 GB, free: 30.49 MB / 0.7481 GB Notification: Performance of matching and sorting (n=213): time 0.007422/1.562, allocations: 3.183 MB / 1.07 GB, free: 30.29 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/1.562, allocations: 74.06 kB / 1.07 GB, free: 30.23 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/1.565, allocations: 1.459 MB / 1.071 GB, free: 30.06 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003265/1.565, allocations: 72.11 kB / 1.072 GB, free: 30.03 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000944/1.566, allocations: 1.115 MB / 1.073 GB, free: 29.57 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008874/1.567, allocations: 0.7322 MB / 1.073 GB, free: 29.09 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003733/1.567, allocations: 169.2 kB / 1.073 GB, free: 29.07 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.771e-05/1.567, allocations: 303.7 kB / 1.074 GB, free: 28.78 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/1.569, allocations: 0.9157 MB / 1.075 GB, free: 28.77 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/1.571, allocations: 1.261 MB / 1.076 GB, free: 28.45 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004001/1.575, allocations: 2.333 MB / 1.078 GB, free: 28.1 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/1.575, allocations: 4.375 kB / 1.078 GB, free: 28.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005178/1.58, allocations: 2.616 MB / 1.081 GB, free: 27.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.315e-05/1.58, allocations: 35.23 kB / 1.081 GB, free: 27.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/1.58, allocations: 7.312 kB / 1.081 GB, free: 27.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.546e-05/1.581, allocations: 14.72 kB / 1.081 GB, free: 27.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/1.583, allocations: 478.5 kB / 1.081 GB, free: 27.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.969e-05/1.583, allocations: 26.69 kB / 1.081 GB, free: 27.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003268/1.586, allocations: 395.4 kB / 1.082 GB, free: 27.72 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/1.586, allocations: 78.38 kB / 1.082 GB, free: 27.72 MB / 0.7481 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.001681/1.588, allocations: 0.6868 MB / 1.082 GB, free: 27.59 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007839/1.589, allocations: 218.2 kB / 1.083 GB, free: 27.49 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005047/1.594, allocations: 2.527 MB / 1.085 GB, free: 27.36 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/1.594, allocations: 22.53 kB / 1.085 GB, free: 27.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/1.594, allocations: 0 / 1.085 GB, free: 27.36 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003495/1.597, allocations: 2.343 MB / 1.087 GB, free: 26.97 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/1.609, allocations: 5.62 MB / 1.093 GB, free: 26.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/1.609, allocations: 3.375 kB / 1.093 GB, free: 26.33 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002223/1.611, allocations: 494.4 kB / 1.093 GB, free: 26.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.045e-05/1.611, allocations: 12.88 kB / 1.093 GB, free: 26.32 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002315/1.611, allocations: 53.66 kB / 1.093 GB, free: 26.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.581e-05/1.611, allocations: 11.44 kB / 1.093 GB, free: 26.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/1.611, allocations: 1.688 kB / 1.093 GB, free: 26.32 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006318/1.618, allocations: 3.816 MB / 1.097 GB, free: 25.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/1.619, allocations: 0.5368 MB / 1.098 GB, free: 25.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006323/1.62, allocations: 49.81 kB / 1.098 GB, free: 25.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002751/1.623, allocations: 241 kB / 1.098 GB, free: 25.64 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/1.623, allocations: 157.7 kB / 1.098 GB, free: 25.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.623, allocations: 69 kB / 1.098 GB, free: 25.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001635/1.625, allocations: 0.9911 MB / 1.099 GB, free: 25.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.703e-06/1.625, allocations: 0 / 1.099 GB, free: 25.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002721/1.628, allocations: 0.9323 MB / 1.1 GB, free: 25.4 MB / 0.7481 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.000846/1.628, allocations: 381.7 kB / 1.1 GB, free: 25.28 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00382/1.632, allocations: 2.343 MB / 1.103 GB, free: 25.18 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.632, allocations: 4.125 kB / 1.103 GB, free: 25.17 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00187/1.634, allocations: 1.23 MB / 1.104 GB, free: 25.16 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007354/1.642, allocations: 1.233 MB / 1.105 GB, free: 25.08 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/1.652, allocations: 7.285 MB / 1.112 GB, free: 21.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002008/1.654, allocations: 1.969 MB / 1.114 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00301/1.657, allocations: 0.7218 MB / 1.115 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006809/1.658, allocations: 197.7 kB / 1.115 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of SimCode: time 9.82e-07/1.658, allocations: 0 / 1.115 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of Templates: time 0.06684/1.725, allocations: 45.12 MB / 1.159 GB, free: 4.414 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)