Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001092/0.001092, allocations: 181.1 kB / 498.1 MB, free: 5.746 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.454/1.454, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0009471/0.0009472, allocations: 99.98 kB / 0.9346 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 14.28 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2539, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.634/3.888, allocations: 1.982 GB / 3.205 GB, free: 6.277 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/3.888, allocations: 103.5 kB / 3.205 GB, free: 6.223 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 7.765/11.65, allocations: 2.138 GB / 5.343 GB, free: 116.9 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.685e-06/11.65, allocations: 0 / 5.343 GB, free: 116.9 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0002886/11.65, allocations: 74.89 kB / 5.343 GB, free: 116.8 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.0154/11.67, allocations: 3.96 MB / 5.347 GB, free: 112.8 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/11.67, allocations: 15.98 kB / 5.347 GB, free: 112.8 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001618/11.67, allocations: 392 kB / 5.348 GB, free: 112.4 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006531/11.68, allocations: 0.8334 MB / 5.348 GB, free: 111.6 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00697/11.68, allocations: 2.2 MB / 5.351 GB, free: 109.3 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/11.68, allocations: 213.5 kB / 5.351 GB, free: 109.1 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/11.69, allocations: 291.8 kB / 5.351 GB, free: 108.8 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009278/11.69, allocations: 3.498 MB / 5.354 GB, free: 105.2 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/11.7, allocations: 7.938 kB / 5.354 GB, free: 105.2 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007532/11.7, allocations: 120 kB / 5.355 GB, free: 105.1 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/11.7, allocations: 125.3 kB / 5.355 GB, free: 105 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006638/11.7, allocations: 3.158 MB / 5.358 GB, free: 101.8 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.02297/11.73, allocations: 14.45 MB / 5.372 GB, free: 86.2 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003788/11.73, allocations: 2.316 MB / 5.374 GB, free: 83.83 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/11.73, allocations: 1.384 MB / 5.375 GB, free: 82.16 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002353/11.73, allocations: 1.209 MB / 5.377 GB, free: 80.94 MB / 1.214 GB Notification: Performance of pre-optimization done (n=213): time 4.609e-06/11.73, allocations: 0 / 5.377 GB, free: 80.94 MB / 1.214 GB Notification: Performance of matching and sorting (n=213): time 0.006252/11.74, allocations: 3.151 MB / 5.38 GB, free: 77.79 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/11.74, allocations: 77.41 kB / 5.38 GB, free: 77.7 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/11.74, allocations: 1.26 MB / 5.381 GB, free: 76.44 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0002877/11.74, allocations: 69.7 kB / 5.381 GB, free: 76.36 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.001218/11.74, allocations: 1.123 MB / 5.382 GB, free: 75.23 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.00074/11.74, allocations: 0.7354 MB / 5.383 GB, free: 74.48 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/11.74, allocations: 44 kB / 5.383 GB, free: 74.44 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001617/11.74, allocations: 381.9 kB / 5.383 GB, free: 74.06 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/11.75, allocations: 0.9019 MB / 5.384 GB, free: 73.15 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/11.75, allocations: 1.31 MB / 5.385 GB, free: 71.68 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/11.75, allocations: 1.126 MB / 5.387 GB, free: 70.55 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/11.75, allocations: 0 / 5.387 GB, free: 70.55 MB / 1.214 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004597/11.75, allocations: 2.582 MB / 5.389 GB, free: 67.96 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 6.827e-05/11.75, allocations: 37.7 kB / 5.389 GB, free: 67.91 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/11.75, allocations: 8 kB / 5.389 GB, free: 67.91 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.213e-05/11.75, allocations: 24.45 kB / 5.389 GB, free: 67.88 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/11.76, allocations: 455.3 kB / 5.39 GB, free: 67.44 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.591e-05/11.76, allocations: 16 kB / 5.39 GB, free: 67.42 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003456/11.76, allocations: 401.8 kB / 5.39 GB, free: 67.03 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/11.76, allocations: 83.92 kB / 5.39 GB, free: 66.95 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.001764/11.76, allocations: 0.6847 MB / 5.391 GB, free: 66.25 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007722/11.76, allocations: 221.3 kB / 5.391 GB, free: 66.03 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004622/11.77, allocations: 2.515 MB / 5.393 GB, free: 63.5 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/11.77, allocations: 23.95 kB / 5.393 GB, free: 63.48 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/11.77, allocations: 4 kB / 5.393 GB, free: 63.47 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003208/11.77, allocations: 2.326 MB / 5.396 GB, free: 61.08 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/11.78, allocations: 5.58 MB / 5.401 GB, free: 55.38 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/11.78, allocations: 3.938 kB / 5.401 GB, free: 55.38 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002231/11.78, allocations: 463.4 kB / 5.402 GB, free: 54.93 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.278e-05/11.78, allocations: 12.12 kB / 5.402 GB, free: 54.91 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/11.78, allocations: 63.97 kB / 5.402 GB, free: 54.85 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-05/11.78, allocations: 8 kB / 5.402 GB, free: 54.84 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/11.78, allocations: 4 kB / 5.402 GB, free: 54.84 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005477/11.79, allocations: 3.928 MB / 5.406 GB, free: 50.8 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001893/11.79, allocations: 0.541 MB / 5.406 GB, free: 50.24 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006374/11.79, allocations: 44 kB / 5.406 GB, free: 50.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/11.8, allocations: 243.5 kB / 5.406 GB, free: 49.96 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/11.8, allocations: 141.7 kB / 5.406 GB, free: 49.82 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/11.8, allocations: 75.95 kB / 5.407 GB, free: 49.75 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001696/11.8, allocations: 0.9788 MB / 5.407 GB, free: 48.77 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.5e-07/11.8, allocations: 4 kB / 5.407 GB, free: 48.77 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.004541/11.8, allocations: 1.365 MB / 5.409 GB, free: 47.4 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.01217/11.81, allocations: 9.858 MB / 5.418 GB, free: 37.11 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.004752/11.82, allocations: 2.317 MB / 5.421 GB, free: 34.78 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/11.82, allocations: 0 / 5.421 GB, free: 34.78 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.002074/11.82, allocations: 1.199 MB / 5.422 GB, free: 33.58 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006201/11.83, allocations: 1.204 MB / 5.423 GB, free: 32.4 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02999/11.86, allocations: 21.2 MB / 5.444 GB, free: 10.2 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/11.86, allocations: 2.026 MB / 5.446 GB, free: 8.133 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.003502/11.86, allocations: 0.7306 MB / 5.446 GB, free: 7.426 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001833/11.87, allocations: 1.108 MB / 5.448 GB, free: 6.316 MB / 1.214 GB Notification: Performance of SimCode: time 1.833e-06/11.87, allocations: 0 / 5.448 GB, free: 6.316 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8888/12.75, allocations: 125.4 MB / 5.57 GB, free: 143.3 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/12.75, allocations: 220.2 kB / 5.57 GB, free: 143.1 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.965/18.72, allocations: 0 / 5.57 GB, free: 143.1 MB / 1.229 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat does not exist to compare? outputFormat=mat