Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.573/1.573, allocations: 285.4 MB / 298 MB, free: 5.992 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 176.8 kB / 366.4 MB, free: 2.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.1 MB / 0.6248 GB, free: 7.707 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 85.62 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.4e-05/4.413e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7733/0.7734, allocations: 115.3 MB / 0.971 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.338/6.112, allocations: 2.136 GB / 3.107 GB, free: 348.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/6.112, allocations: 91.22 kB / 3.107 GB, free: 348.1 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4975:5-4976:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4977:5-4978:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4981:5-4982:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4983:5-4984:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 8.039/14.15, allocations: 2.097 GB / 5.205 GB, free: 110.8 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.883e-06/14.15, allocations: 0 / 5.205 GB, free: 110.8 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0002143/14.15, allocations: 72.33 kB / 5.205 GB, free: 110.8 MB / 1.01 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.0144/14.17, allocations: 3.606 MB / 5.208 GB, free: 108.6 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/14.17, allocations: 7.188 kB / 5.208 GB, free: 108.6 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001106/14.17, allocations: 394.9 kB / 5.209 GB, free: 108.4 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00606/14.17, allocations: 0.8405 MB / 5.21 GB, free: 108.1 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004991/14.18, allocations: 2.148 MB / 5.212 GB, free: 106.8 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/14.18, allocations: 214 kB / 5.212 GB, free: 106.7 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005117/14.18, allocations: 295.8 kB / 5.212 GB, free: 106.6 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00733/14.19, allocations: 3.413 MB / 5.216 GB, free: 104.6 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.735e-05/14.19, allocations: 7.812 kB / 5.216 GB, free: 104.6 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003486/14.19, allocations: 113.7 kB / 5.216 GB, free: 104.5 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001505/14.19, allocations: 126.1 kB / 5.216 GB, free: 104.5 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006525/14.19, allocations: 3.033 MB / 5.219 GB, free: 101.8 MB / 1.01 GB Warning: The model contains alias variables with conflicting start and/or 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.016/14.21, allocations: 14.44 MB / 5.233 GB, free: 86.22 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/14.21, allocations: 2.221 MB / 5.235 GB, free: 83.94 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/14.21, allocations: 1.298 MB / 5.236 GB, free: 82.64 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/14.21, allocations: 1.382 MB / 5.238 GB, free: 80.96 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00156/14.22, allocations: 1.163 MB / 5.239 GB, free: 79.79 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 4.469e-06/14.22, allocations: 0 / 5.239 GB, free: 79.79 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.003625/14.22, allocations: 2.19 MB / 5.241 GB, free: 77.59 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/14.22, allocations: 73.41 kB / 5.241 GB, free: 77.5 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/14.22, allocations: 1.236 MB / 5.242 GB, free: 76.27 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/14.22, allocations: 69.7 kB / 5.242 GB, free: 76.19 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008598/14.22, allocations: 1.111 MB / 5.243 GB, free: 75.06 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005525/14.22, allocations: 0.7354 MB / 5.244 GB, free: 74.32 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/14.22, allocations: 44 kB / 5.244 GB, free: 74.27 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001053/14.22, allocations: 385.9 kB / 5.244 GB, free: 73.89 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/14.22, allocations: 0.8592 MB / 5.245 GB, free: 73.03 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/14.23, allocations: 1.283 MB / 5.247 GB, free: 71.58 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/14.23, allocations: 1.094 MB / 5.248 GB, free: 70.48 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/14.23, allocations: 4 kB / 5.248 GB, free: 70.48 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003534/14.23, allocations: 2.492 MB / 5.25 GB, free: 67.97 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/14.23, allocations: 33.7 kB / 5.25 GB, free: 67.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/14.23, allocations: 8.844 kB / 5.25 GB, free: 67.92 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/14.23, allocations: 20 kB / 5.25 GB, free: 67.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/14.23, allocations: 459.3 kB / 5.251 GB, free: 67.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.58e-05/14.23, allocations: 19.94 kB / 5.251 GB, free: 67.43 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/14.24, allocations: 369.7 kB / 5.251 GB, free: 67.07 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/14.24, allocations: 83.98 kB / 5.251 GB, free: 66.99 MB / 1.01 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003718/14.24, allocations: 220.7 kB / 5.251 GB, free: 66.77 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004747/14.24, allocations: 213.5 kB / 5.251 GB, free: 66.55 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003695/14.24, allocations: 2.424 MB / 5.254 GB, free: 64.12 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/14.24, allocations: 24 kB / 5.254 GB, free: 64.1 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/14.24, allocations: 0 / 5.254 GB, free: 64.1 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002602/14.24, allocations: 2.237 MB / 5.256 GB, free: 61.79 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008403/14.25, allocations: 5.482 MB / 5.261 GB, free: 56.19 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/14.25, allocations: 0 / 5.261 GB, free: 56.19 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/14.25, allocations: 475.7 kB / 5.262 GB, free: 55.73 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.85e-05/14.25, allocations: 12 kB / 5.262 GB, free: 55.71 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/14.25, allocations: 59.97 kB / 5.262 GB, free: 55.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/14.25, allocations: 8 kB / 5.262 GB, free: 55.65 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/14.25, allocations: 4 kB / 5.262 GB, free: 55.64 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004698/14.26, allocations: 3.982 MB / 5.266 GB, free: 51.55 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/14.26, allocations: 0.5448 MB / 5.266 GB, free: 50.99 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004245/14.26, allocations: 47.94 kB / 5.266 GB, free: 50.94 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/14.26, allocations: 243.5 kB / 5.267 GB, free: 50.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/14.26, allocations: 137.7 kB / 5.267 GB, free: 50.57 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/14.26, allocations: 71.97 kB / 5.267 GB, free: 50.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001298/14.26, allocations: 0.9543 MB / 5.268 GB, free: 49.55 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/14.26, allocations: 0 / 5.268 GB, free: 49.55 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003688/14.27, allocations: 1.372 MB / 5.269 GB, free: 48.17 MB / 1.01 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) * 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 (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.01107/14.28, allocations: 9.956 MB / 5.279 GB, free: 37.75 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003436/14.28, allocations: 2.24 MB / 5.281 GB, free: 35.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/14.28, allocations: 0 / 5.281 GB, free: 35.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/14.28, allocations: 1.155 MB / 5.282 GB, free: 34.35 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00605/14.29, allocations: 1.217 MB / 5.283 GB, free: 33.16 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/14.3, allocations: 5.588 MB / 5.289 GB, free: 27.55 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/14.3, allocations: 2.014 MB / 5.291 GB, free: 25.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003446/14.31, allocations: 0.7225 MB / 5.291 GB, free: 24.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/14.31, allocations: 1.108 MB / 5.292 GB, free: 23.69 MB / 1.01 GB Notification: Performance of SimCode: time 1.322e-06/14.31, allocations: 0 / 5.292 GB, free: 23.69 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8328/15.14, allocations: 135.9 MB / 5.425 GB, free: 126.8 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/15.14, allocations: 202.3 kB / 5.425 GB, free: 126.6 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.276/22.42, allocations: 0 / 5.425 GB, free: 126.6 MB / 1.026 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)