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.489/2.489, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001089/0.001089, allocations: 176 kB / 492.3 MB, free: 0.6133 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.48/1.48, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008832/0.000883, allocations: 87.91 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.476e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.284, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.349/5.633, allocations: 1.982 GB / 3.195 GB, free: 289 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/5.634, allocations: 82.02 kB / 3.195 GB, free: 289 MB / 1.151 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 9.957/15.59, allocations: 2.136 GB / 5.331 GB, free: 138.8 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.374e-06/15.59, allocations: 1.531 kB / 5.331 GB, free: 138.8 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0005561/15.59, allocations: 78.59 kB / 5.331 GB, free: 138.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.017/15.61, allocations: 3.6 MB / 5.335 GB, free: 137.8 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/15.61, allocations: 8.656 kB / 5.335 GB, free: 137.8 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001901/15.61, allocations: 395 kB / 5.335 GB, free: 137.7 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007347/15.62, allocations: 0.8295 MB / 5.336 GB, free: 137.5 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007381/15.63, allocations: 2.19 MB / 5.338 GB, free: 137.2 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/15.63, allocations: 211.4 kB / 5.338 GB, free: 137.2 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001333/15.63, allocations: 289.5 kB / 5.338 GB, free: 137.2 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008717/15.64, allocations: 3.428 MB / 5.342 GB, free: 136.8 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.119e-05/15.64, allocations: 6.969 kB / 5.342 GB, free: 136.8 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003039/15.64, allocations: 109.4 kB / 5.342 GB, free: 136.8 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/15.64, allocations: 130.8 kB / 5.342 GB, free: 136.8 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005657/15.64, allocations: 3.034 MB / 5.345 GB, free: 136.8 MB / 1.214 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.01752/15.66, allocations: 14.46 MB / 5.359 GB, free: 128.3 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/15.66, allocations: 2.246 MB / 5.361 GB, free: 127.9 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/15.66, allocations: 1.293 MB / 5.362 GB, free: 127.9 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/15.67, allocations: 1.386 MB / 5.364 GB, free: 126.4 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001893/15.67, allocations: 1.163 MB / 5.365 GB, free: 126.3 MB / 1.214 GB Notification: Performance of pre-optimization done (n=213): time 5.25e-06/15.67, allocations: 2.844 kB / 5.365 GB, free: 126.3 MB / 1.214 GB Notification: Performance of matching and sorting (n=213): time 0.004633/15.67, allocations: 2.199 MB / 5.367 GB, free: 126.1 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/15.67, allocations: 75.28 kB / 5.367 GB, free: 126.1 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/15.67, allocations: 1.246 MB / 5.368 GB, free: 125.9 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/15.67, allocations: 68.64 kB / 5.368 GB, free: 125.9 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.000983/15.68, allocations: 1.117 MB / 5.37 GB, free: 125.5 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006463/15.68, allocations: 0.733 MB / 5.37 GB, free: 125.2 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/15.68, allocations: 47.16 kB / 5.37 GB, free: 125.2 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001156/15.68, allocations: 376.5 kB / 5.371 GB, free: 124.9 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/15.68, allocations: 0.8628 MB / 5.372 GB, free: 124.9 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/15.68, allocations: 1.271 MB / 5.373 GB, free: 124.4 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/15.68, allocations: 1.091 MB / 5.374 GB, free: 124.4 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/15.68, allocations: 3.25 kB / 5.374 GB, free: 124.4 MB / 1.214 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003807/15.68, allocations: 2.506 MB / 5.376 GB, free: 124.2 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/15.68, allocations: 34.36 kB / 5.376 GB, free: 124.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/15.68, allocations: 6.5 kB / 5.376 GB, free: 124.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.212e-05/15.68, allocations: 20.91 kB / 5.376 GB, free: 124.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/15.69, allocations: 456.2 kB / 5.377 GB, free: 124.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.983e-05/15.69, allocations: 21.66 kB / 5.377 GB, free: 124.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003274/15.69, allocations: 399.2 kB / 5.377 GB, free: 124.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/15.69, allocations: 87.73 kB / 5.377 GB, free: 124.1 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 () * 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.0004079/15.69, allocations: 230.2 kB / 5.377 GB, free: 124 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000411/15.69, allocations: 218.8 kB / 5.378 GB, free: 123.9 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004071/15.69, allocations: 2.442 MB / 5.38 GB, free: 123.7 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/15.69, allocations: 22.53 kB / 5.38 GB, free: 123.7 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/15.69, allocations: 3.953 kB / 5.38 GB, free: 123.7 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002976/15.7, allocations: 2.244 MB / 5.382 GB, free: 123.3 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009852/15.71, allocations: 5.508 MB / 5.388 GB, free: 122.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/15.71, allocations: 0 / 5.388 GB, free: 122.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/15.71, allocations: 469.6 kB / 5.388 GB, free: 122.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.945e-05/15.71, allocations: 11.34 kB / 5.388 GB, free: 122.7 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/15.71, allocations: 60.69 kB / 5.388 GB, free: 122.7 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.321e-05/15.71, allocations: 13.02 kB / 5.388 GB, free: 122.7 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/15.71, allocations: 3.562 kB / 5.388 GB, free: 122.7 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005193/15.72, allocations: 3.8 MB / 5.392 GB, free: 122.1 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002319/15.72, allocations: 0.5377 MB / 5.392 GB, free: 121.9 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004823/15.72, allocations: 49.86 kB / 5.392 GB, free: 121.9 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002394/15.72, allocations: 241.1 kB / 5.393 GB, free: 121.9 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003795/15.72, allocations: 138.3 kB / 5.393 GB, free: 121.9 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/15.72, allocations: 71.33 kB / 5.393 GB, free: 121.9 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001951/15.72, allocations: 0.9641 MB / 5.394 GB, free: 121.8 MB / 1.214 GB Notification: Performance of sort global known variables: time 2.8e-07/15.72, allocations: 1.406 kB / 5.394 GB, free: 121.8 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.006655/15.73, allocations: 1.379 MB / 5.395 GB, free: 121.7 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) * 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.01319/15.74, allocations: 9.758 MB / 5.405 GB, free: 117.7 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.00439/15.75, allocations: 2.237 MB / 5.407 GB, free: 117.6 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/15.75, allocations: 3.594 kB / 5.407 GB, free: 117.6 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/15.75, allocations: 1.152 MB / 5.408 GB, free: 117.6 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006219/15.76, allocations: 1.201 MB / 5.409 GB, free: 117.6 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/15.77, allocations: 5.641 MB / 5.415 GB, free: 116.4 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00188/15.77, allocations: 2.026 MB / 5.417 GB, free: 115.6 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.003954/15.77, allocations: 0.7245 MB / 5.417 GB, free: 115.6 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001886/15.77, allocations: 1.103 MB / 5.418 GB, free: 115.6 MB / 1.214 GB Notification: Performance of SimCode: time 2.114e-06/15.77, allocations: 0 / 5.418 GB, free: 115.6 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2131/15.99, allocations: 136 MB / 5.551 GB, free: 110.6 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/15.99, allocations: 194.2 kB / 5.551 GB, free: 110.4 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.158/23.15, allocations: 0 / 5.551 GB, free: 110.4 MB / 1.214 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