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.874/1.874, allocations: 285.6 MB / 293.1 MB, free: 10.14 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.001213/0.001214, allocations: 176.9 kB / 361.4 MB, free: 6.793 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.761/2.761, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.00119/0.00119, allocations: 102.8 kB / 0.733 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.1e-05/2.102e-05, allocations: 0 / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9139/0.914, allocations: 115.3 MB / 0.9644 GB, free: 78.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.611/9.525, allocations: 2.136 GB / 3.1 GB, free: 287.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/9.526, allocations: 90.94 kB / 3.1 GB, free: 287.9 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 10.79/20.32, allocations: 2.075 GB / 5.175 GB, free: 94.43 MB / 0.9948 GB Notification: Performance of FrontEnd: time 4.539e-06/20.32, allocations: 0 / 5.175 GB, free: 94.43 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000442/20.32, allocations: 73.83 kB / 5.176 GB, free: 94.42 MB / 0.9948 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.02325/20.34, allocations: 3.611 MB / 5.179 GB, free: 91.99 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 8.953e-05/20.34, allocations: 7 kB / 5.179 GB, free: 91.99 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0126/20.36, allocations: 0.8275 MB / 5.18 GB, free: 91.61 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/20.37, allocations: 2.15 MB / 5.182 GB, free: 90.23 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003511/20.37, allocations: 90.81 kB / 5.182 GB, free: 90.23 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001858/20.37, allocations: 172.8 kB / 5.182 GB, free: 90.18 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01093/20.38, allocations: 2.69 MB / 5.185 GB, free: 87.48 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01429/20.39, allocations: 3.031 MB / 5.188 GB, free: 84.32 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001544/20.39, allocations: 15.44 kB / 5.188 GB, free: 84.31 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007233/20.39, allocations: 4 kB / 5.188 GB, free: 84.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001987/20.39, allocations: 125.3 kB / 5.188 GB, free: 84.18 MB / 0.9948 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.03373/20.43, allocations: 14.14 MB / 5.202 GB, free: 69.01 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007272/20.44, allocations: 2.777 MB / 5.204 GB, free: 66.07 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003774/20.44, allocations: 1.251 MB / 5.206 GB, free: 64.82 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001959/20.44, allocations: 1.391 MB / 5.207 GB, free: 63.15 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00406/20.45, allocations: 1.16 MB / 5.208 GB, free: 61.98 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=213): time 1.042e-05/20.45, allocations: 0 / 5.208 GB, free: 61.98 MB / 0.9948 GB Notification: Performance of matching and sorting (n=213): time 0.008816/20.45, allocations: 2.194 MB / 5.21 GB, free: 59.77 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/20.45, allocations: 77.39 kB / 5.21 GB, free: 59.68 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002827/20.46, allocations: 0.9619 MB / 5.211 GB, free: 58.71 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007051/20.46, allocations: 29.7 kB / 5.211 GB, free: 58.68 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001648/20.46, allocations: 1.118 MB / 5.212 GB, free: 57.55 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001788/20.46, allocations: 0.7024 MB / 5.213 GB, free: 56.84 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/20.46, allocations: 8 kB / 5.213 GB, free: 56.83 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003142/20.46, allocations: 381.9 kB / 5.213 GB, free: 56.45 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002296/20.46, allocations: 0.8709 MB / 5.214 GB, free: 55.57 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002687/20.47, allocations: 1.274 MB / 5.216 GB, free: 54.14 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003874/20.47, allocations: 1.097 MB / 5.217 GB, free: 53.04 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.278e-05/20.47, allocations: 7.953 kB / 5.217 GB, free: 53.04 MB / 0.9948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01089/20.48, allocations: 2.432 MB / 5.219 GB, free: 50.59 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/20.48, allocations: 38.48 kB / 5.219 GB, free: 50.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.975e-05/20.48, allocations: 8 kB / 5.219 GB, free: 50.54 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/20.48, allocations: 16 kB / 5.219 GB, free: 50.53 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004386/20.49, allocations: 467.3 kB / 5.22 GB, free: 50.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.569e-05/20.49, allocations: 19.98 kB / 5.22 GB, free: 50.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005535/20.49, allocations: 298.3 kB / 5.22 GB, free: 49.76 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007067/20.49, allocations: 87.97 kB / 5.22 GB, free: 49.67 MB / 0.9948 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.0007571/20.49, allocations: 160.5 kB / 5.22 GB, free: 49.51 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006306/20.5, allocations: 2.161 MB / 5.222 GB, free: 47.34 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/20.5, allocations: 199.5 kB / 5.222 GB, free: 47.14 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007583/20.51, allocations: 2.38 MB / 5.225 GB, free: 44.75 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-05/20.51, allocations: 20 kB / 5.225 GB, free: 44.73 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/20.51, allocations: 0 / 5.225 GB, free: 44.73 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004927/20.51, allocations: 2.253 MB / 5.227 GB, free: 42.4 MB / 0.9948 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 postOpt removeSimpleEquations (simulation): time 0.01677/20.53, allocations: 5.52 MB / 5.232 GB, free: 36.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/20.53, allocations: 0 / 5.232 GB, free: 36.79 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003715/20.54, allocations: 483.7 kB / 5.233 GB, free: 36.32 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.882e-05/20.54, allocations: 8 kB / 5.233 GB, free: 36.31 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003042/20.54, allocations: 47.95 kB / 5.233 GB, free: 36.26 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.045e-05/20.54, allocations: 11.94 kB / 5.233 GB, free: 36.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.268e-05/20.54, allocations: 7.656 kB / 5.233 GB, free: 36.25 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008704/20.54, allocations: 4.025 MB / 5.237 GB, free: 32.1 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002927/20.55, allocations: 0.5295 MB / 5.237 GB, free: 31.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/20.55, allocations: 8 kB / 5.237 GB, free: 31.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004621/20.55, allocations: 215.5 kB / 5.238 GB, free: 31.33 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004562/20.55, allocations: 149.7 kB / 5.238 GB, free: 31.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002725/20.55, allocations: 71.95 kB / 5.238 GB, free: 31.11 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001891/20.56, allocations: 0.7352 MB / 5.238 GB, free: 30.38 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.2e-07/20.56, allocations: 0 / 5.238 GB, free: 30.38 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.007249/20.56, allocations: 1.185 MB / 5.24 GB, free: 29.19 MB / 0.9948 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.02043/20.58, allocations: 10.42 MB / 5.25 GB, free: 18.76 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005603/20.59, allocations: 2.24 MB / 5.252 GB, free: 16.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/20.59, allocations: 4.062 kB / 5.252 GB, free: 16.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002506/20.59, allocations: 1.163 MB / 5.253 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009626/20.6, allocations: 1.025 MB / 5.254 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/20.62, allocations: 5.469 MB / 5.259 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002156/20.62, allocations: 2.021 MB / 5.261 GB, free: 6.789 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005427/20.63, allocations: 0.7107 MB / 5.262 GB, free: 6.102 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003371/20.63, allocations: 1.093 MB / 5.263 GB, free: 5.008 MB / 0.9948 GB Notification: Performance of SimCode: time 1.973e-06/20.63, allocations: 3.938 kB / 5.263 GB, free: 5.004 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.467/22.1, allocations: 89.38 MB / 5.35 GB, free: 137.1 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/22.1, allocations: 186.3 kB / 5.351 GB, free: 136.9 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/30.06, allocations: 0.6562 kB / 5.351 GB, free: 136.9 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)