Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001393/0.001392, allocations: 193 kB / 377.1 MB, free: 1.523 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.007/2.007, allocations: 205.4 MB / 0.6366 GB, free: 9.559 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 93.86 kB / 0.7509 GB, free: 62.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.000416, allocations: 12 kB / 0.8749 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3477, allocations: 116.3 MB / 0.9884 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.49/5.838, allocations: 2.137 GB / 3.126 GB, free: 43.59 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/5.838, allocations: 95.95 kB / 3.126 GB, free: 43.49 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.564/15.4, allocations: 2.099 GB / 5.225 GB, free: 79.8 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.755e-06/15.4, allocations: 1.781 kB / 5.225 GB, free: 79.8 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0005/15.4, allocations: 74.52 kB / 5.225 GB, free: 79.79 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.02169/15.42, allocations: 3.961 MB / 5.229 GB, free: 78.15 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/15.42, allocations: 11.41 kB / 5.229 GB, free: 78.15 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002475/15.43, allocations: 389.7 kB / 5.23 GB, free: 78.1 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00836/15.44, allocations: 0.8342 MB / 5.23 GB, free: 77.93 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009483/15.45, allocations: 2.164 MB / 5.232 GB, free: 77.4 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004076/15.45, allocations: 217.5 kB / 5.233 GB, free: 77.39 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001743/15.45, allocations: 282.5 kB / 5.233 GB, free: 77.39 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/15.46, allocations: 3.5 MB / 5.236 GB, free: 76.99 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002095/15.46, allocations: 6.969 kB / 5.236 GB, free: 76.98 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001192/15.46, allocations: 123.5 kB / 5.236 GB, free: 76.98 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002319/15.46, allocations: 130.6 kB / 5.237 GB, free: 76.97 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009448/15.47, allocations: 3.142 MB / 5.24 GB, free: 76.92 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.02403/15.5, allocations: 14.44 MB / 5.254 GB, free: 68.22 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003456/15.5, allocations: 2.298 MB / 5.256 GB, free: 67.79 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/15.5, allocations: 1.382 MB / 5.257 GB, free: 66.29 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002081/15.5, allocations: 1.206 MB / 5.259 GB, free: 66.22 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 5.33e-06/15.5, allocations: 0 / 5.259 GB, free: 66.22 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.006259/15.51, allocations: 3.138 MB / 5.262 GB, free: 66.03 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/15.51, allocations: 73.75 kB / 5.262 GB, free: 65.96 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002449/15.51, allocations: 1.258 MB / 5.263 GB, free: 65.8 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002749/15.51, allocations: 69.55 kB / 5.263 GB, free: 65.77 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001286/15.51, allocations: 1.106 MB / 5.264 GB, free: 65.3 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008574/15.51, allocations: 0.733 MB / 5.265 GB, free: 64.83 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/15.51, allocations: 37.91 kB / 5.265 GB, free: 64.83 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001566/15.51, allocations: 390.8 kB / 5.265 GB, free: 64.52 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/15.52, allocations: 0.9005 MB / 5.266 GB, free: 64.52 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/15.52, allocations: 1.325 MB / 5.267 GB, free: 64.07 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/15.52, allocations: 1.124 MB / 5.268 GB, free: 64 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/15.52, allocations: 7.359 kB / 5.268 GB, free: 64 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004621/15.52, allocations: 2.578 MB / 5.271 GB, free: 63.74 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/15.52, allocations: 39.75 kB / 5.271 GB, free: 63.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/15.52, allocations: 6.156 kB / 5.271 GB, free: 63.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.783e-05/15.52, allocations: 19.12 kB / 5.271 GB, free: 63.71 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/15.53, allocations: 447.8 kB / 5.271 GB, free: 63.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.204e-05/15.53, allocations: 28.14 kB / 5.271 GB, free: 63.68 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003664/15.53, allocations: 358.5 kB / 5.272 GB, free: 63.58 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/15.53, allocations: 85.16 kB / 5.272 GB, free: 63.58 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.002089/15.53, allocations: 0.6911 MB / 5.273 GB, free: 63.43 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007121/15.53, allocations: 208.9 kB / 5.273 GB, free: 63.33 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004469/15.54, allocations: 2.498 MB / 5.275 GB, free: 63.21 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/15.54, allocations: 22.16 kB / 5.275 GB, free: 63.21 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/15.54, allocations: 7.172 kB / 5.275 GB, free: 63.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003266/15.54, allocations: 2.314 MB / 5.278 GB, free: 62.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/15.55, allocations: 5.568 MB / 5.283 GB, free: 62.01 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/15.55, allocations: 3.25 kB / 5.283 GB, free: 62.01 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/15.55, allocations: 469 kB / 5.283 GB, free: 61.97 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.191e-05/15.55, allocations: 14.52 kB / 5.283 GB, free: 61.97 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/15.55, allocations: 56.89 kB / 5.283 GB, free: 61.94 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.421e-05/15.55, allocations: 10.78 kB / 5.283 GB, free: 61.94 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/15.55, allocations: 7.719 kB / 5.283 GB, free: 61.94 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006395/15.56, allocations: 4.111 MB / 5.287 GB, free: 60 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002427/15.56, allocations: 0.5346 MB / 5.288 GB, free: 59.66 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000524/15.56, allocations: 41.27 kB / 5.288 GB, free: 59.63 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002406/15.57, allocations: 244.7 kB / 5.288 GB, free: 59.59 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/15.57, allocations: 147.5 kB / 5.288 GB, free: 59.56 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/15.57, allocations: 68.77 kB / 5.288 GB, free: 59.55 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001631/15.57, allocations: 0.9693 MB / 5.289 GB, free: 59.18 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.81e-07/15.57, allocations: 0 / 5.289 GB, free: 59.18 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005838/15.57, allocations: 1.369 MB / 5.291 GB, free: 58.75 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.01522/15.59, allocations: 10.05 MB / 5.301 GB, free: 53.23 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005001/15.59, allocations: 2.323 MB / 5.303 GB, free: 52.39 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/15.59, allocations: 0 / 5.303 GB, free: 52.39 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002031/15.6, allocations: 1.195 MB / 5.304 GB, free: 51.97 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006526/15.6, allocations: 1.204 MB / 5.305 GB, free: 51.72 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03357/15.64, allocations: 21.08 MB / 5.326 GB, free: 37.98 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001938/15.64, allocations: 2.03 MB / 5.328 GB, free: 37.08 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003947/15.64, allocations: 0.7256 MB / 5.328 GB, free: 36.98 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/15.64, allocations: 1.103 MB / 5.33 GB, free: 36.13 MB / 1.01 GB Notification: Performance of SimCode: time 2.394e-06/15.64, allocations: 0 / 5.33 GB, free: 36.13 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.14/16.78, allocations: 125.3 MB / 5.452 GB, free: 133.7 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/16.79, allocations: 219.2 kB / 5.452 GB, free: 133.4 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/23.77, allocations: 6.906 kB / 5.452 GB, free: 133.4 MB / 1.042 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)