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.227/2.227, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001127/0.001127, allocations: 184.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.0009081/0.0009081, allocations: 87.81 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.607e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2775, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.206/5.483, allocations: 1.983 GB / 3.202 GB, free: 329.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/5.484, allocations: 88.48 kB / 3.202 GB, free: 329.1 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 9.304/14.79, allocations: 2.136 GB / 5.338 GB, free: 132.4 MB / 1.229 GB Notification: Performance of FrontEnd: time 4.148e-06/14.79, allocations: 0 / 5.338 GB, free: 132.4 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.0011/14.79, allocations: 75.88 kB / 5.338 GB, free: 132.4 MB / 1.229 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.0272/14.82, allocations: 3.607 MB / 5.342 GB, free: 131.8 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 7.234e-05/14.82, allocations: 12.5 kB / 5.342 GB, free: 131.8 MB / 1.229 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002167/14.82, allocations: 392.6 kB / 5.342 GB, free: 131.8 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007761/14.83, allocations: 0.8339 MB / 5.343 GB, free: 131.6 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009134/14.83, allocations: 2.173 MB / 5.345 GB, free: 131.3 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005716/14.84, allocations: 220 kB / 5.345 GB, free: 131.3 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002118/14.84, allocations: 290 kB / 5.346 GB, free: 131.3 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/14.85, allocations: 3.415 MB / 5.349 GB, free: 130.9 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000263/14.85, allocations: 8.906 kB / 5.349 GB, free: 130.9 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001229/14.85, allocations: 116.1 kB / 5.349 GB, free: 130.9 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000339/14.85, allocations: 124.8 kB / 5.349 GB, free: 130.9 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009882/14.86, allocations: 3.032 MB / 5.352 GB, free: 130.8 MB / 1.229 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.03037/14.89, allocations: 14.46 MB / 5.366 GB, free: 122.4 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004483/14.9, allocations: 2.247 MB / 5.368 GB, free: 122 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003045/14.9, allocations: 1.296 MB / 5.37 GB, free: 122 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/14.9, allocations: 1.382 MB / 5.371 GB, free: 120.5 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002687/14.91, allocations: 1.169 MB / 5.372 GB, free: 120.4 MB / 1.229 GB Notification: Performance of pre-optimization done (n=213): time 5.24e-06/14.91, allocations: 0 / 5.372 GB, free: 120.4 MB / 1.229 GB Notification: Performance of matching and sorting (n=213): time 0.005997/14.91, allocations: 2.194 MB / 5.374 GB, free: 120.2 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.197e-05/14.91, allocations: 78.73 kB / 5.374 GB, free: 120.2 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003037/14.92, allocations: 1.242 MB / 5.376 GB, free: 120 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.0002719/14.92, allocations: 67.48 kB / 5.376 GB, free: 120 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.001518/14.92, allocations: 1.121 MB / 5.377 GB, free: 119.6 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009925/14.92, allocations: 0.7351 MB / 5.377 GB, free: 119.3 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/14.92, allocations: 38.94 kB / 5.377 GB, free: 119.3 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0001901/14.92, allocations: 388.3 kB / 5.378 GB, free: 118.9 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/14.92, allocations: 0.8576 MB / 5.379 GB, free: 118.9 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/14.92, allocations: 1.273 MB / 5.38 GB, free: 118.5 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/14.92, allocations: 1.091 MB / 5.381 GB, free: 118.5 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/14.92, allocations: 2.125 kB / 5.381 GB, free: 118.5 MB / 1.229 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005669/14.93, allocations: 2.5 MB / 5.383 GB, free: 118.3 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/14.93, allocations: 38.23 kB / 5.383 GB, free: 118.2 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/14.93, allocations: 6.625 kB / 5.383 GB, free: 118.2 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.679e-05/14.93, allocations: 18.03 kB / 5.383 GB, free: 118.2 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/14.93, allocations: 454.3 kB / 5.384 GB, free: 118.2 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.351e-05/14.93, allocations: 18.19 kB / 5.384 GB, free: 118.2 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004064/14.94, allocations: 414 kB / 5.384 GB, free: 118.2 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/14.94, allocations: 81.78 kB / 5.384 GB, free: 118.2 MB / 1.229 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.0005102/14.94, allocations: 221.7 kB / 5.385 GB, free: 118.1 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006191/14.94, allocations: 214.9 kB / 5.385 GB, free: 118 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005396/14.94, allocations: 2.441 MB / 5.387 GB, free: 117.8 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.546e-05/14.94, allocations: 20.88 kB / 5.387 GB, free: 117.8 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/14.94, allocations: 0 / 5.387 GB, free: 117.8 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003257/14.95, allocations: 2.252 MB / 5.389 GB, free: 117.4 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/14.96, allocations: 5.506 MB / 5.395 GB, free: 116.8 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/14.96, allocations: 1.438 kB / 5.395 GB, free: 116.8 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/14.96, allocations: 462.3 kB / 5.395 GB, free: 116.8 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.232e-05/14.96, allocations: 12.5 kB / 5.395 GB, free: 116.8 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001599/14.96, allocations: 58.69 kB / 5.395 GB, free: 116.8 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.541e-05/14.96, allocations: 16.41 kB / 5.395 GB, free: 116.8 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/14.96, allocations: 7.219 kB / 5.395 GB, free: 116.8 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005791/14.97, allocations: 3.788 MB / 5.399 GB, free: 116.2 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/14.97, allocations: 0.5525 MB / 5.4 GB, free: 116 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003118/14.97, allocations: 45.03 kB / 5.4 GB, free: 116 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/14.97, allocations: 245.2 kB / 5.4 GB, free: 116 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/14.97, allocations: 141 kB / 5.4 GB, free: 116 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/14.97, allocations: 72.2 kB / 5.4 GB, free: 116 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.001541/14.97, allocations: 0.9556 MB / 5.401 GB, free: 115.9 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.282e-06/14.97, allocations: 1.531 kB / 5.401 GB, free: 115.9 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.004986/14.98, allocations: 1.371 MB / 5.402 GB, free: 115.8 MB / 1.229 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.01346/14.99, allocations: 9.766 MB / 5.412 GB, free: 111.8 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.004468/14.99, allocations: 2.235 MB / 5.414 GB, free: 111.7 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/14.99, allocations: 3.25 kB / 5.414 GB, free: 111.7 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/15, allocations: 1.149 MB / 5.415 GB, free: 111.7 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007113/15, allocations: 1.209 MB / 5.416 GB, free: 111.7 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/15.02, allocations: 5.636 MB / 5.422 GB, free: 110.5 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002718/15.02, allocations: 2.024 MB / 5.424 GB, free: 109.7 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.003937/15.03, allocations: 0.7294 MB / 5.425 GB, free: 109.7 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002166/15.03, allocations: 1.105 MB / 5.426 GB, free: 109.7 MB / 1.229 GB Notification: Performance of SimCode: time 2.265e-06/15.03, allocations: 2.625 kB / 5.426 GB, free: 109.7 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2458/15.27, allocations: 136 MB / 5.558 GB, free: 105.6 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/15.27, allocations: 204.4 kB / 5.559 GB, free: 105.3 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/22.64, allocations: 0 / 5.559 GB, free: 105.3 MB / 1.229 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