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.001066/0.001066, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00135/0.00135, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.336/1.336, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001982/0.001982, allocations: 286.4 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.921/0.921, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 96.33 kB / 0.5945 GB, free: 28.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1882, allocations: 86.98 MB / 0.6794 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.7272/0.9155, allocations: 292.1 MB / 0.9647 GB, free: 3.648 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03611/0.9516, allocations: 23.27 MB / 0.9874 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005228/0.9569, allocations: 67.62 kB / 0.9875 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.006189/0.9632, allocations: 1.559 MB / 0.989 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01919/0.9824, allocations: 5.77 MB / 0.9946 GB, free: 4.898 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009608/0.992, allocations: 2.633 MB / 0.9972 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01475/1.007, allocations: 10.72 MB / 1.008 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00604/1.013, allocations: 2.526 MB / 1.01 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009224/1.022, allocations: 2.533 MB / 1.013 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006827/1.029, allocations: 2.822 MB / 1.015 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001627/1.031, allocations: 204 kB / 1.016 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0175/1.048, allocations: 6.9 MB / 1.022 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003444/1.052, allocations: 1.336 MB / 1.024 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.005565/1.057, allocations: 1.761 MB / 1.025 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01772/1.075, allocations: 7.183 MB / 1.032 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.075, allocations: 3.938 kB / 1.032 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.164e-06/1.075, allocations: 0 / 1.032 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002349/1.075, allocations: 0 / 1.032 GB, free: 14.16 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.01411/1.089, allocations: 4.092 MB / 1.036 GB, free: 10 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/1.089, allocations: 8.031 kB / 1.036 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006181/1.096, allocations: 0.8353 MB / 1.037 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004356/1.1, allocations: 1.798 MB / 1.039 GB, free: 7.297 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/1.1, allocations: 209.4 kB / 1.039 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005334/1.101, allocations: 275.9 kB / 1.039 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007382/1.108, allocations: 3.601 MB / 1.043 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.669e-05/1.108, allocations: 7.938 kB / 1.043 GB, free: 3.086 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004064/1.109, allocations: 112 kB / 1.043 GB, free: 2.977 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001739/1.109, allocations: 145.3 kB / 1.043 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006438/1.115, allocations: 3.292 MB / 1.046 GB, free: 15.53 MB / 0.7637 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.01947/1.135, allocations: 14.15 MB / 1.06 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3201/1.455, allocations: 2.47 MB / 1.063 GB, free: 293.4 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002352/1.457, allocations: 1.353 MB / 1.064 GB, free: 293 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/1.458, allocations: 1.375 MB / 1.065 GB, free: 291.5 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002471/1.461, allocations: 1.229 MB / 1.066 GB, free: 291 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 4.398e-06/1.461, allocations: 3.969 kB / 1.066 GB, free: 291 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.005904/1.467, allocations: 3.168 MB / 1.07 GB, free: 289.9 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/1.467, allocations: 75.53 kB / 1.07 GB, free: 289.8 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/1.469, allocations: 1.454 MB / 1.071 GB, free: 289.3 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000226/1.469, allocations: 67.64 kB / 1.071 GB, free: 289.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007917/1.47, allocations: 1.115 MB / 1.072 GB, free: 288.6 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005884/1.47, allocations: 0.7306 MB / 1.073 GB, free: 288 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004974/1.471, allocations: 366 kB / 1.073 GB, free: 287.9 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 4.931e-05/1.471, allocations: 305.3 kB / 1.074 GB, free: 287.6 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/1.472, allocations: 0.9107 MB / 1.074 GB, free: 287.2 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/1.474, allocations: 1.259 MB / 1.076 GB, free: 286.6 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/1.477, allocations: 2.317 MB / 1.078 GB, free: 285.4 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/1.477, allocations: 3.375 kB / 1.078 GB, free: 285.4 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00443/1.482, allocations: 2.6 MB / 1.08 GB, free: 284.3 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/1.482, allocations: 36.11 kB / 1.08 GB, free: 284.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/1.482, allocations: 5.75 kB / 1.081 GB, free: 284.3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/1.482, allocations: 18.53 kB / 1.081 GB, free: 284.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/1.484, allocations: 467.4 kB / 1.081 GB, free: 284.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-05/1.484, allocations: 22.55 kB / 1.081 GB, free: 284.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/1.487, allocations: 396.7 kB / 1.081 GB, free: 284.1 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/1.487, allocations: 79.08 kB / 1.081 GB, free: 284.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.001448/1.488, allocations: 0.6908 MB / 1.082 GB, free: 283.7 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006801/1.489, allocations: 219.4 kB / 1.082 GB, free: 283.6 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005094/1.494, allocations: 2.514 MB / 1.085 GB, free: 282.6 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/1.494, allocations: 21.48 kB / 1.085 GB, free: 282.6 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.494, allocations: 0 / 1.085 GB, free: 282.6 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004121/1.498, allocations: 2.33 MB / 1.087 GB, free: 281.5 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/1.511, allocations: 5.615 MB / 1.093 GB, free: 279.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/1.512, allocations: 2.719 kB / 1.093 GB, free: 279.1 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002225/1.514, allocations: 476.9 kB / 1.093 GB, free: 279 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-05/1.514, allocations: 9.812 kB / 1.093 GB, free: 279 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/1.514, allocations: 51.62 kB / 1.093 GB, free: 279 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.6e-05/1.514, allocations: 13.72 kB / 1.093 GB, free: 279 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/1.514, allocations: 6.188 kB / 1.093 GB, free: 279 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005333/1.519, allocations: 3.807 MB / 1.097 GB, free: 277.4 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/1.521, allocations: 0.5336 MB / 1.097 GB, free: 277 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004407/1.521, allocations: 51.16 kB / 1.097 GB, free: 277 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/1.523, allocations: 248.7 kB / 1.098 GB, free: 276.9 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002991/1.524, allocations: 146.3 kB / 1.098 GB, free: 276.9 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.524, allocations: 69.86 kB / 1.098 GB, free: 276.9 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001277/1.525, allocations: 0.9979 MB / 1.099 GB, free: 276.5 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/1.525, allocations: 0 / 1.099 GB, free: 276.5 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003644/1.529, allocations: 0.936 MB / 1.1 GB, free: 276.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.001282/1.53, allocations: 377 kB / 1.1 GB, free: 276.2 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004506/1.535, allocations: 2.333 MB / 1.102 GB, free: 275.1 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.766e-05/1.535, allocations: 3.562 kB / 1.102 GB, free: 275.1 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002418/1.537, allocations: 1.226 MB / 1.104 GB, free: 274.6 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006816/1.544, allocations: 1.226 MB / 1.105 GB, free: 274 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00906/1.553, allocations: 7.013 MB / 1.112 GB, free: 268.3 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.554, allocations: 1.972 MB / 1.114 GB, free: 266.3 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00291/1.557, allocations: 0.7256 MB / 1.114 GB, free: 265.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006339/1.558, allocations: 191.4 kB / 1.114 GB, free: 265.4 MB / 0.7637 GB Notification: Performance of SimCode: time 9.42e-07/1.558, allocations: 0 / 1.114 GB, free: 265.4 MB / 0.7637 GB Notification: Performance of Templates: time 0.06038/1.618, allocations: 45.43 MB / 1.159 GB, free: 220.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)