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.821/1.821, allocations: 288.2 MB / 303.2 MB, free: 8.082 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.00124/0.00124, allocations: 185.1 kB / 371.8 MB, free: 10.29 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.311/2.311, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009564/0.0009561, allocations: 85.17 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004309/0.0004309, allocations: 11.16 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3176, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.473/6.791, allocations: 2.136 GB / 3.116 GB, free: 172.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/6.791, allocations: 99.94 kB / 3.116 GB, free: 172.8 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 9.124/15.92, allocations: 2.099 GB / 5.215 GB, free: 87.68 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.166e-06/15.92, allocations: 3.188 kB / 5.215 GB, free: 87.68 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0002609/15.92, allocations: 72.45 kB / 5.215 GB, free: 87.68 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.01824/15.93, allocations: 3.951 MB / 5.219 GB, free: 86.52 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/15.93, allocations: 6.812 kB / 5.219 GB, free: 86.52 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002053/15.94, allocations: 399 kB / 5.22 GB, free: 86.47 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007386/15.94, allocations: 0.8382 MB / 5.22 GB, free: 86.3 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007407/15.95, allocations: 2.169 MB / 5.223 GB, free: 85.97 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/15.95, allocations: 215.6 kB / 5.223 GB, free: 85.96 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/15.95, allocations: 285.7 kB / 5.223 GB, free: 85.96 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008962/15.96, allocations: 3.5 MB / 5.226 GB, free: 85.57 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.663e-05/15.96, allocations: 6.219 kB / 5.226 GB, free: 85.57 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003378/15.96, allocations: 116.8 kB / 5.227 GB, free: 85.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/15.96, allocations: 126.8 kB / 5.227 GB, free: 85.56 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00652/15.97, allocations: 3.149 MB / 5.23 GB, free: 85.53 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.02698/16, allocations: 14.43 MB / 5.244 GB, free: 77.1 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005077/16, allocations: 2.296 MB / 5.246 GB, free: 76.67 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/16, allocations: 1.383 MB / 5.247 GB, free: 75.17 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003678/16.01, allocations: 1.207 MB / 5.249 GB, free: 75.1 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 7.494e-06/16.01, allocations: 0 / 5.249 GB, free: 75.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.008923/16.02, allocations: 3.135 MB / 5.252 GB, free: 74.91 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/16.02, allocations: 81.92 kB / 5.252 GB, free: 74.84 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003926/16.02, allocations: 1.252 MB / 5.253 GB, free: 74.68 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0004829/16.02, allocations: 67.98 kB / 5.253 GB, free: 74.65 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001662/16.02, allocations: 1.113 MB / 5.254 GB, free: 74.23 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/16.02, allocations: 0.7333 MB / 5.255 GB, free: 73.76 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/16.02, allocations: 43.5 kB / 5.255 GB, free: 73.76 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002571/16.02, allocations: 385.8 kB / 5.255 GB, free: 73.45 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/16.03, allocations: 0.8966 MB / 5.256 GB, free: 73.45 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/16.03, allocations: 1.328 MB / 5.257 GB, free: 73.01 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/16.03, allocations: 1.124 MB / 5.259 GB, free: 72.95 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-05/16.03, allocations: 3.875 kB / 5.259 GB, free: 72.95 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.006028/16.04, allocations: 2.577 MB / 5.261 GB, free: 72.74 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-05/16.04, allocations: 38.58 kB / 5.261 GB, free: 72.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/16.04, allocations: 7.312 kB / 5.261 GB, free: 72.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.229e-05/16.04, allocations: 17.69 kB / 5.261 GB, free: 72.71 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/16.04, allocations: 458.2 kB / 5.262 GB, free: 72.71 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.818e-05/16.04, allocations: 18.94 kB / 5.262 GB, free: 72.71 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004221/16.04, allocations: 365.2 kB / 5.262 GB, free: 72.61 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/16.04, allocations: 78.44 kB / 5.262 GB, free: 72.61 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.002751/16.05, allocations: 0.6885 MB / 5.263 GB, free: 72.49 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/16.05, allocations: 211.6 kB / 5.263 GB, free: 72.38 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006315/16.05, allocations: 2.501 MB / 5.265 GB, free: 72.27 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/16.05, allocations: 27.11 kB / 5.265 GB, free: 72.27 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/16.05, allocations: 3.953 kB / 5.265 GB, free: 72.26 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004113/16.06, allocations: 2.311 MB / 5.268 GB, free: 71.87 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0162/16.07, allocations: 5.562 MB / 5.273 GB, free: 71.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/16.07, allocations: 3.594 kB / 5.273 GB, free: 71.24 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002532/16.08, allocations: 472.5 kB / 5.273 GB, free: 71.24 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.76e-05/16.08, allocations: 14.34 kB / 5.274 GB, free: 71.24 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002702/16.08, allocations: 58.38 kB / 5.274 GB, free: 71.24 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.59e-05/16.08, allocations: 10.06 kB / 5.274 GB, free: 71.24 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/16.08, allocations: 6.25 kB / 5.274 GB, free: 71.24 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007796/16.08, allocations: 4.099 MB / 5.278 GB, free: 70.63 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002726/16.09, allocations: 0.5408 MB / 5.278 GB, free: 70.4 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/16.09, allocations: 47.66 kB / 5.278 GB, free: 70.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003605/16.09, allocations: 236.5 kB / 5.278 GB, free: 70.39 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003588/16.09, allocations: 140.8 kB / 5.279 GB, free: 70.39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002418/16.09, allocations: 74.38 kB / 5.279 GB, free: 70.38 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.003089/16.1, allocations: 0.9733 MB / 5.28 GB, free: 70.27 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.1e-07/16.1, allocations: 0 / 5.28 GB, free: 70.27 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.008404/16.1, allocations: 1.376 MB / 5.281 GB, free: 70.14 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.02173/16.13, allocations: 10.04 MB / 5.291 GB, free: 66.12 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.008677/16.14, allocations: 2.322 MB / 5.293 GB, free: 66.02 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.912e-05/16.14, allocations: 3.75 kB / 5.293 GB, free: 66.02 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004279/16.14, allocations: 1.194 MB / 5.294 GB, free: 66.01 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01119/16.15, allocations: 1.205 MB / 5.295 GB, free: 65.98 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05082/16.2, allocations: 21.09 MB / 5.316 GB, free: 55.43 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004545/16.21, allocations: 2.014 MB / 5.318 GB, free: 54.68 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.005756/16.21, allocations: 0.7268 MB / 5.319 GB, free: 54.66 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002902/16.21, allocations: 1.106 MB / 5.32 GB, free: 54.65 MB / 1.01 GB Notification: Performance of SimCode: time 2.445e-06/16.22, allocations: 0 / 5.32 GB, free: 54.65 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2483/16.46, allocations: 125.3 MB / 5.442 GB, free: 30.91 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/16.46, allocations: 233.3 kB / 5.442 GB, free: 30.67 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.995/23.46, allocations: 0 / 5.442 GB, free: 30.67 MB / 1.01 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)