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.621/2.621, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001546/0.001546, allocations: 179.5 kB / 370.8 MB, free: 10.82 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.188/2.188, allocations: 205.4 MB / 0.6295 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 95.97 kB / 0.7428 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004893, allocations: 12.3 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2257, allocations: 115.3 MB / 0.9783 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.591/6.816, allocations: 2.136 GB / 3.115 GB, free: 134.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/6.817, allocations: 96.08 kB / 3.115 GB, free: 134.2 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 11.94/18.76, allocations: 2.099 GB / 5.214 GB, free: 95.24 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.936e-06/18.76, allocations: 0 / 5.214 GB, free: 95.24 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0003184/18.76, allocations: 74.78 kB / 5.214 GB, free: 95.23 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.02274/18.78, allocations: 3.956 MB / 5.218 GB, free: 93.87 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/18.78, allocations: 9.906 kB / 5.218 GB, free: 93.87 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001953/18.78, allocations: 387.6 kB / 5.218 GB, free: 93.82 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009474/18.79, allocations: 0.8388 MB / 5.219 GB, free: 93.65 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00858/18.8, allocations: 2.161 MB / 5.221 GB, free: 93.3 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003739/18.8, allocations: 220.5 kB / 5.221 GB, free: 93.29 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00159/18.8, allocations: 287.8 kB / 5.222 GB, free: 93.29 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/18.82, allocations: 3.495 MB / 5.225 GB, free: 92.89 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001467/18.82, allocations: 11.2 kB / 5.225 GB, free: 92.89 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000612/18.82, allocations: 116.1 kB / 5.225 GB, free: 92.89 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001831/18.82, allocations: 129.3 kB / 5.225 GB, free: 92.88 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/18.83, allocations: 3.142 MB / 5.228 GB, free: 92.85 MB / 1.01 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.02861/18.86, allocations: 14.44 MB / 5.243 GB, free: 84.3 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005983/18.86, allocations: 2.291 MB / 5.245 GB, free: 83.88 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00167/18.87, allocations: 1.385 MB / 5.246 GB, free: 82.38 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00377/18.87, allocations: 1.211 MB / 5.247 GB, free: 82.3 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 6.993e-06/18.87, allocations: 0 / 5.247 GB, free: 82.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.01049/18.88, allocations: 3.143 MB / 5.25 GB, free: 82.11 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/18.88, allocations: 73.31 kB / 5.25 GB, free: 82.05 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003045/18.88, allocations: 1.25 MB / 5.252 GB, free: 81.89 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0006779/18.88, allocations: 69.36 kB / 5.252 GB, free: 81.86 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001339/18.89, allocations: 1.115 MB / 5.253 GB, free: 81.39 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001388/18.89, allocations: 0.7324 MB / 5.254 GB, free: 80.92 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/18.89, allocations: 42.38 kB / 5.254 GB, free: 80.92 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002126/18.89, allocations: 386.6 kB / 5.254 GB, free: 80.61 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002793/18.89, allocations: 0.8978 MB / 5.255 GB, free: 80.61 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00348/18.89, allocations: 1.328 MB / 5.256 GB, free: 80.16 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003516/18.9, allocations: 1.12 MB / 5.257 GB, free: 80.11 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-05/18.9, allocations: 0 / 5.257 GB, free: 80.11 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.008397/18.91, allocations: 2.582 MB / 5.26 GB, free: 79.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/18.91, allocations: 34.95 kB / 5.26 GB, free: 79.87 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/18.91, allocations: 7.812 kB / 5.26 GB, free: 79.87 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.442e-05/18.91, allocations: 21.03 kB / 5.26 GB, free: 79.87 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004121/18.91, allocations: 455.9 kB / 5.26 GB, free: 79.87 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-05/18.91, allocations: 15.38 kB / 5.26 GB, free: 79.87 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005277/18.92, allocations: 365.1 kB / 5.261 GB, free: 79.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005646/18.92, allocations: 84.92 kB / 5.261 GB, free: 79.77 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 () * Number of clocked 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.002509/18.92, allocations: 0.6848 MB / 5.261 GB, free: 79.65 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008667/18.92, allocations: 219.8 kB / 5.262 GB, free: 79.54 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007887/18.93, allocations: 2.509 MB / 5.264 GB, free: 79.41 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.389e-05/18.93, allocations: 22.25 kB / 5.264 GB, free: 79.41 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/18.93, allocations: 0 / 5.264 GB, free: 79.41 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006338/18.93, allocations: 2.304 MB / 5.266 GB, free: 79.02 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01791/18.95, allocations: 5.576 MB / 5.272 GB, free: 78.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/18.95, allocations: 3.875 kB / 5.272 GB, free: 78.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004727/18.96, allocations: 470 kB / 5.272 GB, free: 78.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-05/18.96, allocations: 11.72 kB / 5.272 GB, free: 78.39 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004439/18.96, allocations: 56.02 kB / 5.272 GB, free: 78.39 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.28e-05/18.96, allocations: 14.36 kB / 5.272 GB, free: 78.39 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/18.96, allocations: 3.719 kB / 5.272 GB, free: 78.39 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/18.97, allocations: 4.103 MB / 5.276 GB, free: 77.77 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00277/18.97, allocations: 0.5375 MB / 5.277 GB, free: 77.55 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008776/18.97, allocations: 41.78 kB / 5.277 GB, free: 77.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004667/18.98, allocations: 248.6 kB / 5.277 GB, free: 77.53 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006374/18.98, allocations: 142.5 kB / 5.277 GB, free: 77.53 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002544/18.98, allocations: 72.28 kB / 5.277 GB, free: 77.53 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00232/18.98, allocations: 0.9725 MB / 5.278 GB, free: 77.42 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.475e-06/18.98, allocations: 0 / 5.278 GB, free: 77.42 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006517/18.99, allocations: 1.365 MB / 5.28 GB, free: 77.29 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) * Number of clocked states: 0 () * 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.02126/19.01, allocations: 10.06 MB / 5.289 GB, free: 73.23 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006892/19.02, allocations: 2.322 MB / 5.292 GB, free: 73.12 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/19.02, allocations: 0 / 5.292 GB, free: 73.12 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003311/19.02, allocations: 1.197 MB / 5.293 GB, free: 73.12 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01038/19.03, allocations: 1.211 MB / 5.294 GB, free: 73.07 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04432/19.07, allocations: 21.09 MB / 5.315 GB, free: 62.53 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002777/19.08, allocations: 2.016 MB / 5.317 GB, free: 61.78 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.005025/19.08, allocations: 0.7202 MB / 5.317 GB, free: 61.76 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003038/19.08, allocations: 1.103 MB / 5.318 GB, free: 61.75 MB / 1.01 GB Notification: Performance of SimCode: time 1.543e-06/19.08, allocations: 0 / 5.318 GB, free: 61.75 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3337/19.42, allocations: 125.3 MB / 5.441 GB, free: 6.109 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/19.42, allocations: 218.6 kB / 5.441 GB, free: 5.871 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/27.57, allocations: 0 / 5.441 GB, free: 5.871 MB / 1.01 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)