Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.564/1.564, allocations: 297.8 MB / 313.7 MB, free: 104 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009356/0.0009356, allocations: 172.5 kB / 384.6 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 223.2 MB / 0.6626 GB, free: 4.203 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008563/0.0008563, allocations: 98.22 kB / 0.7808 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003478, allocations: 12.5 kB / 0.9088 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6561/0.6565, allocations: 120.3 MB / 1.026 GB, free: 55.69 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.502/4.158, allocations: 1.973 GB / 2.999 GB, free: 255.4 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/4.159, allocations: 90.78 kB / 2.999 GB, free: 255.4 MB / 0.9792 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 6.227/10.39, allocations: 2.12 GB / 5.12 GB, free: 37.2 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.533e-06/10.39, allocations: 0 / 5.12 GB, free: 37.2 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0002382/10.39, allocations: 75.92 kB / 5.12 GB, free: 37.13 MB / 1.042 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.01379/10.4, allocations: 3.92 MB / 5.123 GB, free: 33.13 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/10.4, allocations: 11.97 kB / 5.123 GB, free: 33.12 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006071/10.41, allocations: 0.8362 MB / 5.124 GB, free: 32.28 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005091/10.41, allocations: 2.088 MB / 5.126 GB, free: 30.13 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/10.41, allocations: 213.8 kB / 5.127 GB, free: 29.92 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009716/10.41, allocations: 280.4 kB / 5.127 GB, free: 29.65 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007735/10.42, allocations: 3.523 MB / 5.13 GB, free: 25.99 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/10.42, allocations: 19.83 kB / 5.13 GB, free: 25.97 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007646/10.42, allocations: 112 kB / 5.13 GB, free: 25.86 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000163/10.42, allocations: 129.2 kB / 5.131 GB, free: 25.73 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006771/10.43, allocations: 3.155 MB / 5.134 GB, free: 22.56 MB / 1.042 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.01629/10.44, allocations: 14.46 MB / 5.148 GB, free: 6.863 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/10.45, allocations: 2.316 MB / 5.15 GB, free: 4.469 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/10.45, allocations: 1.352 MB / 5.151 GB, free: 3.113 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008728/10.45, allocations: 1.382 MB / 5.153 GB, free: 1.438 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001784/10.45, allocations: 1.222 MB / 5.154 GB, free: 204 kB / 1.042 GB Notification: Performance of pre-optimization done (n=216): time 5.03e-06/10.45, allocations: 0 / 5.154 GB, free: 204 kB / 1.042 GB Notification: Performance of matching and sorting (n=216): time 0.006002/10.46, allocations: 3.178 MB / 5.157 GB, free: 13.02 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/10.46, allocations: 77.39 kB / 5.157 GB, free: 12.93 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/10.46, allocations: 1.436 MB / 5.158 GB, free: 11.49 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0002217/10.46, allocations: 69.7 kB / 5.158 GB, free: 11.42 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001146/10.46, allocations: 1.096 MB / 5.16 GB, free: 10.31 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.000736/10.46, allocations: 0.7431 MB / 5.16 GB, free: 9.555 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/10.46, allocations: 40 kB / 5.16 GB, free: 9.516 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001802/10.46, allocations: 390 kB / 5.161 GB, free: 9.129 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/10.46, allocations: 0.9098 MB / 5.162 GB, free: 8.215 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/10.47, allocations: 1.332 MB / 5.163 GB, free: 6.715 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003525/10.47, allocations: 2.325 MB / 5.165 GB, free: 4.289 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/10.47, allocations: 0 / 5.165 GB, free: 4.289 MB / 1.057 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00463/10.47, allocations: 2.601 MB / 5.168 GB, free: 1.672 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 5.238e-05/10.47, allocations: 41.7 kB / 5.168 GB, free: 1.625 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/10.47, allocations: 7.938 kB / 5.168 GB, free: 1.617 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-05/10.47, allocations: 20 kB / 5.168 GB, free: 1.598 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/10.48, allocations: 455.8 kB / 5.168 GB, free: 1.152 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.961e-05/10.48, allocations: 23.94 kB / 5.168 GB, free: 1.129 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/10.48, allocations: 369.8 kB / 5.169 GB, free: 0.7656 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/10.48, allocations: 79.98 kB / 5.169 GB, free: 0.6875 MB / 1.057 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.5974/11.08, allocations: 0.6912 MB / 5.169 GB, free: 106.5 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/11.08, allocations: 221 kB / 5.17 GB, free: 106.5 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004737/11.08, allocations: 2.52 MB / 5.172 GB, free: 106.4 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/11.08, allocations: 22.03 kB / 5.172 GB, free: 106.4 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/11.08, allocations: 0 / 5.172 GB, free: 106.4 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003069/11.09, allocations: 2.329 MB / 5.174 GB, free: 106 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00931/11.1, allocations: 5.602 MB / 5.18 GB, free: 105.4 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/11.1, allocations: 2.312 kB / 5.18 GB, free: 105.4 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002004/11.1, allocations: 481.6 kB / 5.18 GB, free: 105.4 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/11.1, allocations: 9.031 kB / 5.18 GB, free: 105.4 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/11.1, allocations: 59.36 kB / 5.18 GB, free: 105.4 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/11.1, allocations: 9 kB / 5.18 GB, free: 105.4 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/11.1, allocations: 2.969 kB / 5.18 GB, free: 105.4 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005385/11.1, allocations: 3.987 MB / 5.184 GB, free: 105.1 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/11.1, allocations: 0.5469 MB / 5.185 GB, free: 104.9 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/11.1, allocations: 49.2 kB / 5.185 GB, free: 104.9 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/11.11, allocations: 246 kB / 5.185 GB, free: 104.9 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/11.11, allocations: 140.1 kB / 5.185 GB, free: 104.9 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/11.11, allocations: 70.66 kB / 5.185 GB, free: 104.9 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.00142/11.11, allocations: 0.9746 MB / 5.186 GB, free: 104.8 MB / 1.057 GB Notification: Performance of sort global known variables: time 9.92e-07/11.11, allocations: 0 / 5.186 GB, free: 104.8 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.004293/11.11, allocations: 1.384 MB / 5.188 GB, free: 104.7 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],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.009125/11.12, allocations: 4.863 MB / 5.192 GB, free: 102.4 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.004851/11.13, allocations: 2.344 MB / 5.195 GB, free: 102.3 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/11.13, allocations: 1.375 kB / 5.195 GB, free: 102.3 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.002101/11.13, allocations: 1.208 MB / 5.196 GB, free: 102.3 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007063/11.14, allocations: 1.221 MB / 5.197 GB, free: 102.3 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/11.15, allocations: 7.043 MB / 5.204 GB, free: 99.63 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/11.15, allocations: 1.965 MB / 5.206 GB, free: 98.88 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.003301/11.15, allocations: 0.7357 MB / 5.206 GB, free: 98.86 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006301/11.15, allocations: 214.7 kB / 5.207 GB, free: 98.86 MB / 1.057 GB Notification: Performance of SimCode: time 8.42e-07/11.15, allocations: 0 / 5.207 GB, free: 98.86 MB / 1.057 GB Notification: Performance of Templates: time 0.1347/11.29, allocations: 92.53 MB / 5.297 GB, free: 95.38 MB / 1.057 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)