Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.659/2.659, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001477/0.001477, allocations: 176.8 kB / 360.6 MB, free: 7.316 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.072/2.072, allocations: 205.2 MB / 0.6191 GB, free: 12.25 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.001179/0.001178, allocations: 88.39 kB / 0.7321 GB, free: 44.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.562e-05/2.561e-05, allocations: 4 kB / 0.8509 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8659/0.8659, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.851/7.717, allocations: 2.136 GB / 3.099 GB, free: 289.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/7.717, allocations: 83.17 kB / 3.099 GB, free: 289.6 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.99/18.7, allocations: 2.075 GB / 5.174 GB, free: 97.41 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.565e-06/18.7, allocations: 0 / 5.174 GB, free: 97.41 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004113/18.7, allocations: 73.88 kB / 5.174 GB, free: 97.4 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.02707/18.73, allocations: 3.599 MB / 5.178 GB, free: 95.27 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/18.73, allocations: 11.09 kB / 5.178 GB, free: 95.27 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/18.74, allocations: 0.8416 MB / 5.179 GB, free: 94.88 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007877/18.75, allocations: 2.14 MB / 5.181 GB, free: 93.51 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/18.75, allocations: 85.59 kB / 5.181 GB, free: 93.51 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008789/18.75, allocations: 177.3 kB / 5.181 GB, free: 93.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008237/18.76, allocations: 2.689 MB / 5.184 GB, free: 92.27 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009247/18.77, allocations: 3.034 MB / 5.187 GB, free: 89.98 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001/18.77, allocations: 3.938 kB / 5.187 GB, free: 89.98 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004104/18.77, allocations: 11.55 kB / 5.187 GB, free: 89.97 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001809/18.77, allocations: 125.3 kB / 5.187 GB, free: 89.84 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.02664/18.8, allocations: 14.13 MB / 5.201 GB, free: 74.71 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005733/18.8, allocations: 2.775 MB / 5.203 GB, free: 71.76 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00321/18.81, allocations: 1.258 MB / 5.204 GB, free: 70.51 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/18.81, allocations: 1.385 MB / 5.206 GB, free: 68.84 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003138/18.81, allocations: 1.171 MB / 5.207 GB, free: 67.66 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=213): time 5.31e-06/18.81, allocations: 0 / 5.207 GB, free: 67.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=213): time 0.007364/18.82, allocations: 2.198 MB / 5.209 GB, free: 65.45 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/18.82, allocations: 73.41 kB / 5.209 GB, free: 65.37 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/18.82, allocations: 0.9658 MB / 5.21 GB, free: 64.39 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006001/18.82, allocations: 29.7 kB / 5.21 GB, free: 64.36 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/18.82, allocations: 1.114 MB / 5.211 GB, free: 63.23 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001273/18.82, allocations: 0.7042 MB / 5.212 GB, free: 62.52 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/18.82, allocations: 0 / 5.212 GB, free: 62.52 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002018/18.82, allocations: 393.9 kB / 5.212 GB, free: 62.12 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/18.83, allocations: 0.867 MB / 5.213 GB, free: 61.25 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002716/18.83, allocations: 1.286 MB / 5.214 GB, free: 59.8 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003328/18.83, allocations: 1.093 MB / 5.215 GB, free: 58.71 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.002e-05/18.83, allocations: 4 kB / 5.215 GB, free: 58.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.007442/18.84, allocations: 2.432 MB / 5.218 GB, free: 56.26 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/18.84, allocations: 33.7 kB / 5.218 GB, free: 56.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/18.84, allocations: 8 kB / 5.218 GB, free: 56.21 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.486e-05/18.84, allocations: 16 kB / 5.218 GB, free: 56.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004075/18.84, allocations: 467.3 kB / 5.218 GB, free: 55.74 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-05/18.85, allocations: 27.91 kB / 5.218 GB, free: 55.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004775/18.85, allocations: 298.2 kB / 5.219 GB, free: 55.42 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003711/18.85, allocations: 91.95 kB / 5.219 GB, free: 55.33 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.0005833/18.85, allocations: 156.4 kB / 5.219 GB, free: 55.17 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005789/18.86, allocations: 2.159 MB / 5.221 GB, free: 53.01 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006937/18.86, allocations: 193.8 kB / 5.221 GB, free: 52.82 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006425/18.86, allocations: 2.381 MB / 5.224 GB, free: 50.42 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/18.86, allocations: 24 kB / 5.224 GB, free: 50.39 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/18.86, allocations: 4 kB / 5.224 GB, free: 50.39 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00497/18.87, allocations: 2.258 MB / 5.226 GB, free: 48.06 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.01499/18.88, allocations: 5.509 MB / 5.231 GB, free: 42.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/18.88, allocations: 0 / 5.231 GB, free: 42.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004588/18.89, allocations: 491.6 kB / 5.232 GB, free: 41.97 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.728e-05/18.89, allocations: 12 kB / 5.232 GB, free: 41.96 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002836/18.89, allocations: 35.97 kB / 5.232 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-05/18.89, allocations: 11.98 kB / 5.232 GB, free: 41.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/18.89, allocations: 7.953 kB / 5.232 GB, free: 41.91 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008383/18.9, allocations: 4.01 MB / 5.236 GB, free: 37.77 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002196/18.9, allocations: 0.5333 MB / 5.236 GB, free: 37.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005552/18.9, allocations: 15.98 kB / 5.236 GB, free: 37.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003854/18.9, allocations: 211.5 kB / 5.236 GB, free: 37 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003723/18.9, allocations: 141.7 kB / 5.236 GB, free: 36.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/18.9, allocations: 79.95 kB / 5.237 GB, free: 36.78 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001473/18.91, allocations: 0.7274 MB / 5.237 GB, free: 36.05 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.21e-07/18.91, allocations: 8 kB / 5.237 GB, free: 36.05 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004612/18.91, allocations: 1.185 MB / 5.238 GB, free: 34.86 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.01729/18.93, allocations: 10.42 MB / 5.249 GB, free: 24.48 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005084/18.93, allocations: 2.237 MB / 5.251 GB, free: 22.23 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/18.93, allocations: 4.125 kB / 5.251 GB, free: 22.23 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00246/18.94, allocations: 1.171 MB / 5.252 GB, free: 21.06 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008559/18.94, allocations: 1.009 MB / 5.253 GB, free: 20.08 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/18.96, allocations: 5.476 MB / 5.258 GB, free: 14.58 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002678/18.96, allocations: 2.021 MB / 5.26 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00535/18.97, allocations: 0.7142 MB / 5.261 GB, free: 11.83 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002819/18.97, allocations: 1.089 MB / 5.262 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of SimCode: time 1.112e-06/18.97, allocations: 0 / 5.262 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.058/20.03, allocations: 89.38 MB / 5.349 GB, free: 140.5 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/20.03, allocations: 172.2 kB / 5.349 GB, free: 140.3 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.595/26.62, allocations: 0 / 5.349 GB, free: 140.3 MB / 1.026 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)