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.001443/0.001443, allocations: 106.4 kB / 16.41 MB, free: 6.5 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.001365/0.001365, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.522/1.522, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.005255/0.005255, allocations: 283.6 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.42/1.42, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002769/0.002769, allocations: 95.84 kB / 0.6822 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5292/0.532, allocations: 86.98 MB / 0.7671 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.9506/1.483, allocations: 294.9 MB / 1.055 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0317/1.514, allocations: 23.09 MB / 1.078 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004344/1.519, allocations: 79.5 kB / 1.078 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005593/1.524, allocations: 1.882 MB / 1.08 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02227/1.547, allocations: 6.319 MB / 1.086 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009313/1.556, allocations: 2.922 MB / 1.089 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01128/1.567, allocations: 7.297 MB / 1.096 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004849/1.572, allocations: 2.462 MB / 1.098 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008528/1.58, allocations: 2.953 MB / 1.101 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005955/1.586, allocations: 2.707 MB / 1.104 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001214/1.588, allocations: 348 kB / 1.104 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0152/1.603, allocations: 6.015 MB / 1.11 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002934/1.606, allocations: 1.498 MB / 1.111 GB, free: 4.551 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004792/1.611, allocations: 1.9 MB / 1.113 GB, free: 2.66 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01868/1.629, allocations: 6.968 MB / 1.12 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.629, allocations: 0 / 1.12 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.705e-06/1.629, allocations: 0 / 1.12 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001506/1.629, allocations: 0 / 1.12 GB, free: 12.02 MB / 0.7637 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.01446/1.644, allocations: 4.198 MB / 1.124 GB, free: 7.773 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/1.644, allocations: 8.031 kB / 1.124 GB, free: 7.766 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006329/1.65, allocations: 0.863 MB / 1.125 GB, free: 6.906 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004901/1.655, allocations: 1.867 MB / 1.127 GB, free: 5.016 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/1.655, allocations: 208.1 kB / 1.127 GB, free: 4.812 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007897/1.656, allocations: 283.3 kB / 1.127 GB, free: 4.539 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007184/1.663, allocations: 3.592 MB / 1.131 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.354e-05/1.663, allocations: 11.92 kB / 1.131 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002933/1.664, allocations: 114.3 kB / 1.131 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001876/1.664, allocations: 141.3 kB / 1.131 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008032/1.672, allocations: 3.3 MB / 1.134 GB, free: 13.26 MB / 0.7794 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.03019/1.702, allocations: 14.23 MB / 1.148 GB, free: 13.95 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006189/1.708, allocations: 2.38 MB / 1.15 GB, free: 11.49 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003136/1.711, allocations: 1.243 MB / 1.152 GB, free: 10.25 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001887/1.713, allocations: 1.374 MB / 1.153 GB, free: 8.594 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003282/1.717, allocations: 1.23 MB / 1.154 GB, free: 7.348 MB / 0.795 GB Notification: Performance of pre-optimization done (n=213): time 6.132e-06/1.717, allocations: 0 / 1.154 GB, free: 7.348 MB / 0.795 GB Notification: Performance of matching and sorting (n=213): time 0.009224/1.726, allocations: 3.184 MB / 1.157 GB, free: 4.16 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/1.726, allocations: 77.39 kB / 1.157 GB, free: 4.074 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003319/1.729, allocations: 1.452 MB / 1.159 GB, free: 2.617 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004488/1.73, allocations: 65.7 kB / 1.159 GB, free: 2.547 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/1.731, allocations: 1.144 MB / 1.16 GB, free: 1.395 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001397/1.733, allocations: 0.7691 MB / 1.161 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009134/1.734, allocations: 363.5 kB / 1.161 GB, free: 280 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001787/1.734, allocations: 301.1 kB / 1.161 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002588/1.736, allocations: 0.9175 MB / 1.162 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/1.739, allocations: 1.254 MB / 1.163 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003952/1.743, allocations: 2.321 MB / 1.166 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/1.743, allocations: 4 kB / 1.166 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005099/1.748, allocations: 2.607 MB / 1.168 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/1.748, allocations: 33.83 kB / 1.168 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/1.748, allocations: 12 kB / 1.168 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.453e-05/1.748, allocations: 16 kB / 1.168 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/1.75, allocations: 467.3 kB / 1.169 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.481e-05/1.75, allocations: 19.94 kB / 1.169 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/1.752, allocations: 198.5 kB / 1.169 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/1.752, allocations: 79.98 kB / 1.169 GB, free: 7.809 MB / 0.8106 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.001438/1.754, allocations: 0.6884 MB / 1.17 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005647/1.754, allocations: 226.6 kB / 1.17 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004896/1.759, allocations: 2.519 MB / 1.172 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/1.759, allocations: 24 kB / 1.172 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.759, allocations: 0 / 1.172 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003835/1.763, allocations: 2.331 MB / 1.175 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/1.773, allocations: 5.611 MB / 1.18 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.773, allocations: 3.938 kB / 1.18 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002421/1.776, allocations: 483.7 kB / 1.181 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.446e-05/1.776, allocations: 12 kB / 1.181 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/1.776, allocations: 55.98 kB / 1.181 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.454e-05/1.776, allocations: 8 kB / 1.181 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.776, allocations: 4 kB / 1.181 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006639/1.783, allocations: 3.815 MB / 1.184 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/1.784, allocations: 0.546 MB / 1.185 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003364/1.784, allocations: 44 kB / 1.185 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/1.786, allocations: 67.41 kB / 1.185 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000327/1.786, allocations: 149.7 kB / 1.185 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/1.786, allocations: 67.98 kB / 1.185 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001502/1.788, allocations: 0.9944 MB / 1.186 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/1.788, allocations: 0 / 1.186 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002431/1.79, allocations: 0.9435 MB / 1.187 GB, free: 5.023 MB / 0.8262 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.0008517/1.791, allocations: 390 kB / 1.188 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004529/1.796, allocations: 2.226 MB / 1.19 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.796, allocations: 1.75 kB / 1.19 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002223/1.798, allocations: 1.152 MB / 1.191 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006985/1.805, allocations: 1.285 MB / 1.192 GB, free: 8 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/1.816, allocations: 5.857 MB / 1.198 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002112/1.818, allocations: 1.968 MB / 1.2 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002879/1.821, allocations: 0.7288 MB / 1.201 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007043/1.822, allocations: 195.4 kB / 1.201 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of SimCode: time 1.553e-06/1.822, allocations: 0 / 1.201 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of Templates: time 0.08968/1.911, allocations: 48.15 MB / 1.248 GB, free: 7.711 MB / 0.8887 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)