Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001052/0.001052, allocations: 180.8 kB / 371.6 MB, free: 3.387 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.63/1.63, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009644/0.0009645, allocations: 92.83 kB / 0.745 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.181e-05/5.185e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4064, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.2/6.606, allocations: 2.137 GB / 3.117 GB, free: 102.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003797/6.607, allocations: 89.7 kB / 3.117 GB, free: 102.4 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.884/15.49, allocations: 2.097 GB / 5.215 GB, free: 76.98 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.435e-06/15.49, allocations: 1.203 kB / 5.215 GB, free: 76.98 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0002109/15.49, allocations: 76 kB / 5.215 GB, free: 76.98 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.01424/15.51, allocations: 3.607 MB / 5.218 GB, free: 75.73 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/15.51, allocations: 11.72 kB / 5.218 GB, free: 75.73 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00144/15.51, allocations: 391.5 kB / 5.219 GB, free: 75.68 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006791/15.51, allocations: 0.8286 MB / 5.219 GB, free: 75.51 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006056/15.52, allocations: 2.15 MB / 5.222 GB, free: 75.05 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/15.52, allocations: 212 kB / 5.222 GB, free: 75.04 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007246/15.52, allocations: 286.4 kB / 5.222 GB, free: 75.04 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005986/15.53, allocations: 3.418 MB / 5.225 GB, free: 74.65 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-05/15.53, allocations: 10.47 kB / 5.225 GB, free: 74.65 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003022/15.53, allocations: 118.6 kB / 5.225 GB, free: 74.65 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/15.53, allocations: 125.4 kB / 5.226 GB, free: 74.64 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005125/15.53, allocations: 3.033 MB / 5.229 GB, free: 74.61 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.01694/15.55, allocations: 14.44 MB / 5.243 GB, free: 66.06 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/15.55, allocations: 2.225 MB / 5.245 GB, free: 65.64 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/15.55, allocations: 1.295 MB / 5.246 GB, free: 65.62 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/15.56, allocations: 1.381 MB / 5.247 GB, free: 64.12 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001784/15.56, allocations: 1.168 MB / 5.249 GB, free: 64.04 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 3.978e-06/15.56, allocations: 0 / 5.249 GB, free: 64.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.004019/15.56, allocations: 2.178 MB / 5.251 GB, free: 63.86 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/15.56, allocations: 79.22 kB / 5.251 GB, free: 63.79 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/15.56, allocations: 1.229 MB / 5.252 GB, free: 63.63 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002154/15.56, allocations: 75.17 kB / 5.252 GB, free: 63.6 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009327/15.56, allocations: 1.107 MB / 5.253 GB, free: 63.13 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006306/15.56, allocations: 0.7372 MB / 5.254 GB, free: 62.65 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/15.56, allocations: 42.69 kB / 5.254 GB, free: 62.65 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001241/15.57, allocations: 390.6 kB / 5.254 GB, free: 62.34 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/15.57, allocations: 0.8565 MB / 5.255 GB, free: 62.34 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/15.57, allocations: 1.287 MB / 5.256 GB, free: 61.9 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/15.57, allocations: 1.092 MB / 5.257 GB, free: 61.84 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/15.57, allocations: 2.812 kB / 5.257 GB, free: 61.84 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003797/15.57, allocations: 2.497 MB / 5.26 GB, free: 61.62 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/15.57, allocations: 41.62 kB / 5.26 GB, free: 61.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/15.57, allocations: 10.88 kB / 5.26 GB, free: 61.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/15.57, allocations: 14.59 kB / 5.26 GB, free: 61.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/15.57, allocations: 452.8 kB / 5.26 GB, free: 61.59 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.711e-05/15.58, allocations: 22 kB / 5.26 GB, free: 61.59 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/15.58, allocations: 361.6 kB / 5.261 GB, free: 61.49 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/15.58, allocations: 82.41 kB / 5.261 GB, free: 61.49 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.0003939/15.58, allocations: 228.8 kB / 5.261 GB, free: 61.38 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003829/15.58, allocations: 214.2 kB / 5.261 GB, free: 61.27 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00379/15.58, allocations: 2.421 MB / 5.264 GB, free: 61.16 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/15.58, allocations: 18.19 kB / 5.264 GB, free: 61.16 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/15.58, allocations: 3.531 kB / 5.264 GB, free: 61.16 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002658/15.59, allocations: 2.229 MB / 5.266 GB, free: 60.77 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009166/15.59, allocations: 5.488 MB / 5.271 GB, free: 60.13 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/15.59, allocations: 5.906 kB / 5.271 GB, free: 60.13 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002057/15.6, allocations: 471.3 kB / 5.272 GB, free: 60.13 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.149e-05/15.6, allocations: 15.8 kB / 5.272 GB, free: 60.12 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/15.6, allocations: 54.84 kB / 5.272 GB, free: 60.12 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/15.6, allocations: 15.48 kB / 5.272 GB, free: 60.12 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/15.6, allocations: 3.625 kB / 5.272 GB, free: 60.12 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00498/15.6, allocations: 3.987 MB / 5.276 GB, free: 59.52 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001853/15.6, allocations: 0.5459 MB / 5.276 GB, free: 59.29 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004773/15.6, allocations: 44.58 kB / 5.276 GB, free: 59.29 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/15.61, allocations: 242.1 kB / 5.276 GB, free: 59.27 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/15.61, allocations: 140.8 kB / 5.277 GB, free: 59.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/15.61, allocations: 69.88 kB / 5.277 GB, free: 59.27 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001312/15.61, allocations: 0.9561 MB / 5.278 GB, free: 59.15 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.01e-07/15.61, allocations: 2.125 kB / 5.278 GB, free: 59.15 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004288/15.61, allocations: 1.372 MB / 5.279 GB, free: 59.01 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.01227/15.62, allocations: 9.945 MB / 5.289 GB, free: 54.94 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003902/15.63, allocations: 2.238 MB / 5.291 GB, free: 54.84 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/15.63, allocations: 3.062 kB / 5.291 GB, free: 54.84 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001644/15.63, allocations: 1.156 MB / 5.292 GB, free: 54.83 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006456/15.64, allocations: 1.213 MB / 5.293 GB, free: 54.78 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/15.65, allocations: 5.601 MB / 5.299 GB, free: 53.59 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/15.65, allocations: 2.026 MB / 5.301 GB, free: 52.84 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002965/15.65, allocations: 0.7167 MB / 5.301 GB, free: 52.82 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/15.65, allocations: 1.106 MB / 5.302 GB, free: 52.82 MB / 1.01 GB Notification: Performance of SimCode: time 6.62e-07/15.65, allocations: 0 / 5.302 GB, free: 52.82 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2158/15.87, allocations: 135.9 MB / 5.435 GB, free: 11.03 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003055/15.87, allocations: 196.4 kB / 5.435 GB, free: 10.8 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.319/23.19, allocations: 0 / 5.435 GB, free: 10.8 MB / 1.042 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)