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.001273/0.001273, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001527/0.001528, allocations: 190.6 kB / 16.25 MB, free: 6.617 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.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00227/0.00227, allocations: 294.4 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9426/0.9426, allocations: 169.2 MB / 0.4978 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 93.53 kB / 0.5947 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1692, allocations: 86.99 MB / 0.6796 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.6356/0.8049, allocations: 290.8 MB / 0.9636 GB, free: 4.793 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02841/0.8333, allocations: 22.93 MB / 0.986 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003524/0.8369, allocations: 67.62 kB / 0.9861 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004678/0.8416, allocations: 1.602 MB / 0.9877 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01562/0.8573, allocations: 5.764 MB / 0.9933 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008391/0.8657, allocations: 2.66 MB / 0.9959 GB, free: 3.688 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01005/0.8757, allocations: 7.311 MB / 1.003 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004734/0.8805, allocations: 2.859 MB / 1.006 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007783/0.8883, allocations: 2.924 MB / 1.009 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005133/0.8935, allocations: 2.888 MB / 1.011 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001099/0.8946, allocations: 344 kB / 1.012 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/0.9065, allocations: 6.211 MB / 1.018 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002216/0.9087, allocations: 1.481 MB / 1.019 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003946/0.9127, allocations: 1.902 MB / 1.021 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01808/0.9308, allocations: 7.3 MB / 1.028 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9308, allocations: 3.938 kB / 1.028 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9308, allocations: 0 / 1.028 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001872/0.931, allocations: 0 / 1.028 GB, free: 2.379 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.01231/0.9434, allocations: 4.089 MB / 1.032 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.9434, allocations: 12.03 kB / 1.032 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006183/0.9496, allocations: 0.843 MB / 1.033 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00371/0.9534, allocations: 1.79 MB / 1.035 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.9536, allocations: 209.4 kB / 1.035 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008318/0.9544, allocations: 283.9 kB / 1.035 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007473/0.9619, allocations: 3.6 MB / 1.039 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-05/0.962, allocations: 3.938 kB / 1.039 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003261/0.9623, allocations: 116 kB / 1.039 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/0.9625, allocations: 141.3 kB / 1.039 GB, free: 7.047 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006031/0.9685, allocations: 3.296 MB / 1.042 GB, free: 3.738 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.01704/0.9856, allocations: 14.14 MB / 1.056 GB, free: 4.367 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/0.9895, allocations: 2.485 MB / 1.059 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001998/0.9915, allocations: 1.352 MB / 1.06 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3027/1.294, allocations: 1.369 MB / 1.061 GB, free: 292.7 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002716/1.297, allocations: 1.226 MB / 1.062 GB, free: 292.6 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 5.47e-06/1.297, allocations: 0 / 1.062 GB, free: 292.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.006106/1.303, allocations: 3.167 MB / 1.066 GB, free: 291.9 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/1.303, allocations: 76.45 kB / 1.066 GB, free: 291.9 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/1.305, allocations: 1.457 MB / 1.067 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002051/1.306, allocations: 63.92 kB / 1.067 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007987/1.306, allocations: 1.116 MB / 1.068 GB, free: 290.6 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005742/1.307, allocations: 0.7379 MB / 1.069 GB, free: 290.1 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005672/1.307, allocations: 361.9 kB / 1.069 GB, free: 289.9 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 5.354e-05/1.308, allocations: 305.5 kB / 1.07 GB, free: 289.6 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/1.309, allocations: 0.919 MB / 1.07 GB, free: 289.3 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/1.31, allocations: 1.256 MB / 1.072 GB, free: 288.6 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002864/1.313, allocations: 2.32 MB / 1.074 GB, free: 287.4 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/1.313, allocations: 3.031 kB / 1.074 GB, free: 287.4 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004073/1.317, allocations: 2.599 MB / 1.076 GB, free: 286.4 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/1.317, allocations: 39.41 kB / 1.077 GB, free: 286.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.317, allocations: 8.172 kB / 1.077 GB, free: 286.3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.957e-05/1.317, allocations: 21.16 kB / 1.077 GB, free: 286.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/1.319, allocations: 464.1 kB / 1.077 GB, free: 286.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.821e-05/1.319, allocations: 20.78 kB / 1.077 GB, free: 286.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/1.322, allocations: 394.3 kB / 1.077 GB, free: 286.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/1.322, allocations: 79.06 kB / 1.077 GB, free: 286.1 MB / 0.7637 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.001151/1.323, allocations: 0.6877 MB / 1.078 GB, free: 285.8 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/1.324, allocations: 213.6 kB / 1.078 GB, free: 285.7 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/1.328, allocations: 2.517 MB / 1.081 GB, free: 284.6 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/1.328, allocations: 19.88 kB / 1.081 GB, free: 284.6 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.328, allocations: 4.625 kB / 1.081 GB, free: 284.6 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003865/1.332, allocations: 2.327 MB / 1.083 GB, free: 283.5 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009511/1.341, allocations: 5.612 MB / 1.089 GB, free: 281.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/1.341, allocations: 2.344 kB / 1.089 GB, free: 281.1 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/1.344, allocations: 474.9 kB / 1.089 GB, free: 281.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/1.344, allocations: 14.28 kB / 1.089 GB, free: 281.1 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/1.344, allocations: 57.94 kB / 1.089 GB, free: 281 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.57e-05/1.344, allocations: 10.06 kB / 1.089 GB, free: 281 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.344, allocations: 2.5 kB / 1.089 GB, free: 281 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005419/1.349, allocations: 3.805 MB / 1.093 GB, free: 279.4 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.35, allocations: 0.5364 MB / 1.093 GB, free: 279.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003123/1.351, allocations: 48.36 kB / 1.093 GB, free: 279 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/1.353, allocations: 235.5 kB / 1.094 GB, free: 279 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/1.353, allocations: 156.2 kB / 1.094 GB, free: 279 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/1.353, allocations: 71.27 kB / 1.094 GB, free: 278.9 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001092/1.354, allocations: 0.9884 MB / 1.095 GB, free: 278.6 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.81e-07/1.354, allocations: 0 / 1.095 GB, free: 278.6 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001978/1.356, allocations: 0.9448 MB / 1.096 GB, free: 278.4 MB / 0.7637 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.0006782/1.357, allocations: 380.5 kB / 1.096 GB, free: 278.2 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.007015/1.364, allocations: 3.876 MB / 1.1 GB, free: 277.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.364, allocations: 4.797 kB / 1.1 GB, free: 277.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/1.366, allocations: 1.226 MB / 1.101 GB, free: 276.9 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00498/1.371, allocations: 1.3 MB / 1.102 GB, free: 276.4 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007715/1.378, allocations: 7.016 MB / 1.109 GB, free: 270.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.379, allocations: 1.971 MB / 1.111 GB, free: 268.8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002704/1.382, allocations: 0.7238 MB / 1.112 GB, free: 268.1 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006572/1.383, allocations: 195.3 kB / 1.112 GB, free: 268 MB / 0.7637 GB Notification: Performance of SimCode: time 2.024e-06/1.383, allocations: 0 / 1.112 GB, free: 268 MB / 0.7637 GB Notification: Performance of Templates: time 0.05743/1.44, allocations: 47 MB / 1.158 GB, free: 221.7 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)