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.001089/0.001089, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001405/0.001405, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001859/0.001858, allocations: 282.4 kB / 291.4 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9679/0.9679, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005008, allocations: 14.28 kB / 0.598 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1976, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.7138/0.9115, allocations: 268.8 MB / 0.947 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03376/0.9453, allocations: 21.52 MB / 0.968 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005195/0.9506, allocations: 63.62 kB / 0.968 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.005589/0.9562, allocations: 1.173 MB / 0.9692 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01548/0.9717, allocations: 4.454 MB / 0.9735 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008025/0.9798, allocations: 2.066 MB / 0.9756 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01264/0.9924, allocations: 8.945 MB / 0.9843 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00448/0.997, allocations: 2.251 MB / 0.9865 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00629/1.003, allocations: 2.358 MB / 0.9888 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006563/1.01, allocations: 2.62 MB / 0.9914 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0008975/1.011, allocations: 168 kB / 0.9915 GB, free: 5.574 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01185/1.023, allocations: 3.122 MB / 0.9946 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003034/1.026, allocations: 1.293 MB / 0.9958 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002246/1.028, allocations: 0.6681 MB / 0.9965 GB, free: 484 kB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.009137/1.037, allocations: 4.665 MB / 1.001 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.037, allocations: 0 / 1.001 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.375e-06/1.037, allocations: 0 / 1.001 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001377/1.037, allocations: 0 / 1.001 GB, free: 11.8 MB / 0.7169 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.00922/1.047, allocations: 3.527 MB / 1.004 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.047, allocations: 8.031 kB / 1.004 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005503/1.052, allocations: 0.843 MB / 1.005 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003828/1.056, allocations: 1.855 MB / 1.007 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/1.056, allocations: 209.4 kB / 1.007 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004047/1.057, allocations: 279.9 kB / 1.008 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005934/1.063, allocations: 3.59 MB / 1.011 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.678e-05/1.063, allocations: 7.938 kB / 1.011 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002478/1.063, allocations: 112 kB / 1.011 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001454/1.063, allocations: 145.3 kB / 1.011 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005579/1.069, allocations: 3.284 MB / 1.015 GB, free: 13.68 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.01775/1.086, allocations: 14.19 MB / 1.028 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003826/1.09, allocations: 2.512 MB / 1.031 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002005/1.092, allocations: 1.364 MB / 1.032 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/1.094, allocations: 1.382 MB / 1.034 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002068/1.096, allocations: 1.234 MB / 1.035 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=216): time 4.849e-06/1.096, allocations: 0 / 1.035 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of matching and sorting (n=216): time 0.00593/1.102, allocations: 3.207 MB / 1.038 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/1.102, allocations: 77.41 kB / 1.038 GB, free: 4.094 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/1.104, allocations: 1.437 MB / 1.039 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/1.104, allocations: 73.64 kB / 1.039 GB, free: 2.574 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/1.105, allocations: 1.111 MB / 1.041 GB, free: 1.449 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007944/1.106, allocations: 0.7431 MB / 1.041 GB, free: 0.6953 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/1.106, allocations: 44 kB / 1.041 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001954/1.106, allocations: 386 kB / 1.042 GB, free: 276 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3778/1.484, allocations: 0.9122 MB / 1.043 GB, free: 275.2 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/1.486, allocations: 1.282 MB / 1.044 GB, free: 274.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/1.488, allocations: 1.131 MB / 1.045 GB, free: 274.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/1.488, allocations: 3.156 kB / 1.045 GB, free: 274.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004319/1.493, allocations: 2.616 MB / 1.047 GB, free: 274.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/1.493, allocations: 39.8 kB / 1.047 GB, free: 274.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/1.493, allocations: 6.781 kB / 1.047 GB, free: 274.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-05/1.493, allocations: 19.83 kB / 1.048 GB, free: 274.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/1.495, allocations: 483.8 kB / 1.048 GB, free: 274.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.972e-05/1.495, allocations: 23.59 kB / 1.048 GB, free: 274.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/1.497, allocations: 406.3 kB / 1.048 GB, free: 274.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/1.497, allocations: 77.39 kB / 1.048 GB, free: 274 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001128/1.498, allocations: 0.6896 MB / 1.049 GB, free: 273.7 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003048/1.499, allocations: 217.9 kB / 1.049 GB, free: 273.6 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003694/1.502, allocations: 2.555 MB / 1.052 GB, free: 272.6 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/1.502, allocations: 27.31 kB / 1.052 GB, free: 272.6 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.502, allocations: 0 / 1.052 GB, free: 272.6 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002864/1.505, allocations: 2.35 MB / 1.054 GB, free: 271.5 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008553/1.514, allocations: 5.651 MB / 1.06 GB, free: 269.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/1.514, allocations: 3.75 kB / 1.06 GB, free: 269.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/1.516, allocations: 487.9 kB / 1.06 GB, free: 269.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.135e-05/1.516, allocations: 13.5 kB / 1.06 GB, free: 269.1 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/1.516, allocations: 55.8 kB / 1.06 GB, free: 269 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.257e-05/1.516, allocations: 10.12 kB / 1.06 GB, free: 269 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.516, allocations: 7.453 kB / 1.06 GB, free: 269 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006264/1.522, allocations: 3.834 MB / 1.064 GB, free: 267.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/1.524, allocations: 0.5511 MB / 1.065 GB, free: 267.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002867/1.524, allocations: 43.59 kB / 1.065 GB, free: 267 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/1.526, allocations: 247.2 kB / 1.065 GB, free: 267 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/1.526, allocations: 148.8 kB / 1.065 GB, free: 267 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.526, allocations: 70.42 kB / 1.065 GB, free: 267 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001384/1.528, allocations: 0.9797 MB / 1.066 GB, free: 266.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.528, allocations: 0 / 1.066 GB, free: 266.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002608/1.53, allocations: 0.9419 MB / 1.067 GB, free: 266.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 (220): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008504/1.531, allocations: 427.7 kB / 1.067 GB, free: 266.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00398/1.535, allocations: 2.353 MB / 1.07 GB, free: 265.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.535, allocations: 1.375 kB / 1.07 GB, free: 265.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/1.537, allocations: 1.234 MB / 1.071 GB, free: 265 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00541/1.542, allocations: 1.257 MB / 1.072 GB, free: 264.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008805/1.551, allocations: 7.099 MB / 1.079 GB, free: 260.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/1.552, allocations: 1.969 MB / 1.081 GB, free: 260 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002844/1.555, allocations: 0.7372 MB / 1.082 GB, free: 259.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005962/1.556, allocations: 200.2 kB / 1.082 GB, free: 259.6 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/1.556, allocations: 0 / 1.082 GB, free: 259.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.05964/1.615, allocations: 44.55 MB / 1.125 GB, free: 218.8 MB / 0.7481 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)