Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.327/2.327, allocations: 393.5 MB / 408.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001275, allocations: 180 kB / 0.4901 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 223.1 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009005/0.0009004, allocations: 100.1 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003653, allocations: 7.094 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3036, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.317/5.621, allocations: 1.983 GB / 3.212 GB, free: 437.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/5.621, allocations: 95.8 kB / 3.213 GB, free: 437.2 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 8.613/14.23, allocations: 2.138 GB / 5.35 GB, free: 95.55 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.957e-06/14.23, allocations: 0 / 5.35 GB, free: 95.55 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0004225/14.23, allocations: 75.19 kB / 5.35 GB, free: 95.48 MB / 1.214 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.01837/14.25, allocations: 3.96 MB / 5.354 GB, free: 91.48 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/14.25, allocations: 8.031 kB / 5.354 GB, free: 91.47 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002141/14.25, allocations: 396 kB / 5.355 GB, free: 91.08 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00742/14.26, allocations: 0.8391 MB / 5.355 GB, free: 90.23 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008558/14.27, allocations: 2.207 MB / 5.358 GB, free: 87.98 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003533/14.27, allocations: 217.4 kB / 5.358 GB, free: 87.77 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001736/14.27, allocations: 283.9 kB / 5.358 GB, free: 87.49 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01165/14.28, allocations: 3.507 MB / 5.362 GB, free: 83.84 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001418/14.28, allocations: 3.938 kB / 5.362 GB, free: 83.84 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007917/14.29, allocations: 116 kB / 5.362 GB, free: 83.73 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/14.29, allocations: 125.3 kB / 5.362 GB, free: 83.6 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007721/14.29, allocations: 3.155 MB / 5.365 GB, free: 80.43 MB / 1.214 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.02312/14.32, allocations: 14.46 MB / 5.379 GB, free: 64.77 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004373/14.32, allocations: 2.309 MB / 5.381 GB, free: 62.39 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/14.32, allocations: 1.386 MB / 5.383 GB, free: 60.71 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002641/14.33, allocations: 1.214 MB / 5.384 GB, free: 59.49 MB / 1.214 GB Notification: Performance of pre-optimization done (n=213): time 7.284e-06/14.33, allocations: 0 / 5.384 GB, free: 59.49 MB / 1.214 GB Notification: Performance of matching and sorting (n=213): time 0.006493/14.33, allocations: 3.152 MB / 5.387 GB, free: 56.34 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/14.33, allocations: 73.41 kB / 5.387 GB, free: 56.25 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/14.33, allocations: 1.264 MB / 5.388 GB, free: 54.99 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.000294/14.33, allocations: 69.7 kB / 5.388 GB, free: 54.91 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/14.34, allocations: 1.119 MB / 5.389 GB, free: 53.78 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007979/14.34, allocations: 0.7354 MB / 5.39 GB, free: 53.04 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/14.34, allocations: 40 kB / 5.39 GB, free: 53 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001829/14.34, allocations: 381.9 kB / 5.39 GB, free: 52.62 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/14.34, allocations: 0.9019 MB / 5.391 GB, free: 51.71 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/14.34, allocations: 1.315 MB / 5.393 GB, free: 50.23 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/14.34, allocations: 1.118 MB / 5.394 GB, free: 49.11 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/14.34, allocations: 0 / 5.394 GB, free: 49.11 MB / 1.214 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00444/14.35, allocations: 2.586 MB / 5.396 GB, free: 46.51 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/14.35, allocations: 37.7 kB / 5.396 GB, free: 46.47 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/14.35, allocations: 11.95 kB / 5.396 GB, free: 46.46 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-05/14.35, allocations: 16 kB / 5.396 GB, free: 46.44 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/14.35, allocations: 451.3 kB / 5.397 GB, free: 46 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.744e-05/14.35, allocations: 20.25 kB / 5.397 GB, free: 45.98 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/14.35, allocations: 405.8 kB / 5.397 GB, free: 45.58 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/14.35, allocations: 91.91 kB / 5.397 GB, free: 45.49 MB / 1.214 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.001654/14.35, allocations: 0.6846 MB / 5.398 GB, free: 44.8 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005985/14.35, allocations: 213.5 kB / 5.398 GB, free: 44.59 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003996/14.36, allocations: 2.511 MB / 5.401 GB, free: 42.06 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/14.36, allocations: 27.95 kB / 5.401 GB, free: 42.03 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/14.36, allocations: 4 kB / 5.401 GB, free: 42.03 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002923/14.36, allocations: 2.318 MB / 5.403 GB, free: 39.64 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/14.37, allocations: 5.583 MB / 5.408 GB, free: 33.95 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/14.37, allocations: 4 kB / 5.408 GB, free: 33.94 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00218/14.37, allocations: 467.7 kB / 5.409 GB, free: 33.48 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.378e-05/14.37, allocations: 12 kB / 5.409 GB, free: 33.47 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/14.37, allocations: 59.97 kB / 5.409 GB, free: 33.41 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/14.37, allocations: 8 kB / 5.409 GB, free: 33.41 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/14.37, allocations: 7.938 kB / 5.409 GB, free: 33.4 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005599/14.38, allocations: 3.916 MB / 5.413 GB, free: 29.37 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002079/14.38, allocations: 0.5603 MB / 5.413 GB, free: 28.79 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004697/14.38, allocations: 44 kB / 5.413 GB, free: 28.75 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002517/14.39, allocations: 235.5 kB / 5.413 GB, free: 28.52 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/14.39, allocations: 145.8 kB / 5.414 GB, free: 28.38 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/14.39, allocations: 71.97 kB / 5.414 GB, free: 28.3 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001514/14.39, allocations: 0.9749 MB / 5.415 GB, free: 27.34 MB / 1.214 GB Notification: Performance of sort global known variables: time 2.5e-07/14.39, allocations: 0 / 5.415 GB, free: 27.34 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.004961/14.39, allocations: 1.369 MB / 5.416 GB, free: 25.96 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,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.01233/14.4, allocations: 9.874 MB / 5.426 GB, free: 15.65 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.00398/14.41, allocations: 2.314 MB / 5.428 GB, free: 13.32 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/14.41, allocations: 4.125 kB / 5.428 GB, free: 13.32 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/14.41, allocations: 1.194 MB / 5.429 GB, free: 12.13 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005745/14.42, allocations: 1.199 MB / 5.43 GB, free: 10.96 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03145/14.45, allocations: 21.21 MB / 5.451 GB, free: 4.742 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002434/14.45, allocations: 2.019 MB / 5.453 GB, free: 2.688 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.003934/14.45, allocations: 0.7301 MB / 5.454 GB, free: 1.98 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001816/14.46, allocations: 1.108 MB / 5.455 GB, free: 0.8711 MB / 1.229 GB Notification: Performance of SimCode: time 1.353e-06/14.46, allocations: 0 / 5.455 GB, free: 0.8711 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9964/15.45, allocations: 125.4 MB / 5.577 GB, free: 151.9 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/15.45, allocations: 223.5 kB / 5.577 GB, free: 151.6 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.413/21.87, allocations: 0 / 5.577 GB, free: 151.6 MB / 1.245 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat does not exist to compare? outputFormat=mat