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.001719/0.001719, allocations: 106.9 kB / 16.36 MB, free: 6.289 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.001926/0.001926, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.736/1.736, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004344/0.004344, allocations: 290 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.547/1.547, allocations: 169.2 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 98.94 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3077, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 1.844/2.151, allocations: 294.2 MB / 0.9689 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.04923/2.201, allocations: 23.05 MB / 0.9914 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008011/2.209, allocations: 79.19 kB / 0.9915 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.008937/2.218, allocations: 1.795 MB / 0.9933 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02796/2.246, allocations: 6.12 MB / 0.9992 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01341/2.259, allocations: 2.896 MB / 1.002 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02103/2.28, allocations: 7.306 MB / 1.009 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007831/2.288, allocations: 2.975 MB / 1.012 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01162/2.3, allocations: 2.877 MB / 1.015 GB, free: 17 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00962/2.31, allocations: 2.717 MB / 1.018 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002443/2.312, allocations: 341.2 kB / 1.018 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02486/2.337, allocations: 5.981 MB / 1.024 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.005915/2.343, allocations: 1.466 MB / 1.025 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01198/2.355, allocations: 1.907 MB / 1.027 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02957/2.385, allocations: 6.935 MB / 1.034 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.28e-05/2.385, allocations: 3.5 kB / 1.034 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.186e-06/2.385, allocations: 2.438 kB / 1.034 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003281/2.385, allocations: 4 kB / 1.034 GB, free: 15.8 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.02171/2.407, allocations: 4.087 MB / 1.038 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/2.407, allocations: 9.594 kB / 1.038 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008131/2.415, allocations: 0.8446 MB / 1.039 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008359/2.423, allocations: 1.86 MB / 1.04 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005067/2.424, allocations: 211.2 kB / 1.041 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/2.426, allocations: 280.6 kB / 1.041 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01429/2.44, allocations: 3.596 MB / 1.044 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002464/2.44, allocations: 5.25 kB / 1.044 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001156/2.441, allocations: 110.5 kB / 1.045 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003394/2.442, allocations: 150 kB / 1.045 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/2.452, allocations: 3.293 MB / 1.048 GB, free: 11.76 MB / 0.7325 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.03082/2.483, allocations: 14.21 MB / 1.062 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005707/2.489, allocations: 2.482 MB / 1.064 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00295/2.492, allocations: 1.356 MB / 1.066 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002/2.494, allocations: 1.38 MB / 1.067 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003195/2.497, allocations: 1.221 MB / 1.068 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=213): time 8.476e-06/2.497, allocations: 0 / 1.068 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=213): time 0.008737/2.506, allocations: 3.17 MB / 1.071 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/2.506, allocations: 75.22 kB / 1.071 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004224/2.51, allocations: 1.451 MB / 1.073 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003226/2.51, allocations: 69.7 kB / 1.073 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001837/2.512, allocations: 1.113 MB / 1.074 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001271/2.513, allocations: 0.733 MB / 1.075 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/2.515, allocations: 359.5 kB / 1.075 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001784/2.515, allocations: 309.1 kB / 1.075 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/2.517, allocations: 0.9097 MB / 1.076 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002725/2.52, allocations: 1.262 MB / 1.077 GB, free: 5.84 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004999/2.525, allocations: 2.324 MB / 1.08 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/2.525, allocations: 0 / 1.08 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.006508/2.531, allocations: 2.598 MB / 1.082 GB, free: 0.8711 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.689e-05/2.531, allocations: 45.62 kB / 1.082 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.778e-05/2.531, allocations: 4 kB / 1.082 GB, free: 0.8164 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.19e-05/2.531, allocations: 20 kB / 1.082 GB, free: 0.7969 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/2.534, allocations: 459.9 kB / 1.083 GB, free: 384 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.427e-05/2.534, allocations: 22.52 kB / 1.083 GB, free: 364 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003033/2.537, allocations: 198 kB / 1.083 GB, free: 164 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000311/2.537, allocations: 79.98 kB / 1.083 GB, free: 84 kB / 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.002479/2.54, allocations: 0.6811 MB / 1.084 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/2.541, allocations: 213.5 kB / 1.084 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006215/2.547, allocations: 2.521 MB / 1.086 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/2.547, allocations: 22.53 kB / 1.086 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/2.547, allocations: 4 kB / 1.086 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004379/2.551, allocations: 2.323 MB / 1.088 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/2.567, allocations: 5.607 MB / 1.094 GB, free: 4.605 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/2.567, allocations: 6.531 kB / 1.094 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002425/2.569, allocations: 476.5 kB / 1.094 GB, free: 4.156 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.878e-05/2.569, allocations: 12 kB / 1.094 GB, free: 4.145 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002583/2.569, allocations: 63.91 kB / 1.095 GB, free: 4.082 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-05/2.57, allocations: 8 kB / 1.095 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/2.57, allocations: 6.531 kB / 1.095 GB, free: 4.07 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00821/2.578, allocations: 3.802 MB / 1.098 GB, free: 232 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002561/2.58, allocations: 0.5386 MB / 1.099 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008991/2.581, allocations: 43.98 kB / 1.099 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/2.584, allocations: 61.59 kB / 1.099 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004489/2.584, allocations: 156.3 kB / 1.099 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002404/2.584, allocations: 67.97 kB / 1.099 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002711/2.587, allocations: 0.9906 MB / 1.1 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 7.32e-07/2.587, allocations: 0 / 1.1 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004325/2.591, allocations: 0.935 MB / 1.101 GB, free: 13.43 MB / 0.7794 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.00134/2.593, allocations: 389.1 kB / 1.101 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005483/2.598, allocations: 2.345 MB / 1.104 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/2.598, allocations: 4 kB / 1.104 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002555/2.601, allocations: 1.229 MB / 1.105 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007657/2.608, allocations: 1.285 MB / 1.106 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/2.624, allocations: 5.769 MB / 1.112 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003764/2.627, allocations: 1.975 MB / 1.114 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004499/2.632, allocations: 0.7248 MB / 1.114 GB, free: 15.79 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001474/2.633, allocations: 197.9 kB / 1.115 GB, free: 15.6 MB / 0.795 GB Notification: Performance of SimCode: time 1.132e-06/2.633, allocations: 0 / 1.115 GB, free: 15.6 MB / 0.795 GB Notification: Performance of Templates: time 0.1014/2.735, allocations: 47.32 MB / 1.161 GB, free: 1.066 MB / 0.8262 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)