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.973/1.973, allocations: 289.9 MB / 297.4 MB, free: 6.434 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.001568/0.001568, allocations: 180.8 kB / 366.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.2 MB / 0.626 GB, free: 7.145 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.0009557/0.0009554, allocations: 80.05 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.974e-05, allocations: 3.984 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7877/0.7877, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.802/6.59, allocations: 2.137 GB / 3.11 GB, free: 275.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/6.59, allocations: 89.47 kB / 3.11 GB, free: 275.4 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 7.555/14.15, allocations: 2.075 GB / 5.185 GB, free: 88.41 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.562e-06/14.15, allocations: 3.5 kB / 5.185 GB, free: 88.41 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.000187/14.15, allocations: 71.75 kB / 5.185 GB, free: 88.34 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.01285/14.16, allocations: 3.595 MB / 5.189 GB, free: 84.69 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/14.16, allocations: 8.031 kB / 5.189 GB, free: 84.68 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00659/14.17, allocations: 0.8356 MB / 5.19 GB, free: 83.84 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005816/14.17, allocations: 2.143 MB / 5.192 GB, free: 81.7 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/14.17, allocations: 88 kB / 5.192 GB, free: 81.61 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005759/14.17, allocations: 171.9 kB / 5.192 GB, free: 81.45 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005645/14.18, allocations: 2.693 MB / 5.195 GB, free: 78.75 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00607/14.18, allocations: 3.036 MB / 5.198 GB, free: 75.58 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.123e-05/14.18, allocations: 4 kB / 5.198 GB, free: 75.57 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/14.18, allocations: 4 kB / 5.198 GB, free: 75.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/14.18, allocations: 129.2 kB / 5.198 GB, free: 75.44 MB / 1.01 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.01681/14.2, allocations: 14.14 MB / 5.212 GB, free: 60.27 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/14.2, allocations: 2.781 MB / 5.214 GB, free: 57.32 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/14.21, allocations: 1.257 MB / 5.216 GB, free: 56.07 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009589/14.21, allocations: 1.388 MB / 5.217 GB, free: 54.41 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001514/14.21, allocations: 1.163 MB / 5.218 GB, free: 53.23 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 3.988e-06/14.21, allocations: 0 / 5.218 GB, free: 53.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.00386/14.21, allocations: 2.198 MB / 5.22 GB, free: 51.02 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/14.21, allocations: 73.41 kB / 5.22 GB, free: 50.94 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/14.21, allocations: 0.9658 MB / 5.221 GB, free: 49.96 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/14.21, allocations: 29.7 kB / 5.221 GB, free: 49.93 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008398/14.21, allocations: 1.114 MB / 5.222 GB, free: 48.8 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005319/14.21, allocations: 0.7043 MB / 5.223 GB, free: 48.09 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/14.21, allocations: 0 / 5.223 GB, free: 48.09 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000104/14.21, allocations: 385.9 kB / 5.223 GB, free: 47.7 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/14.22, allocations: 0.867 MB / 5.224 GB, free: 46.83 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/14.22, allocations: 1.282 MB / 5.225 GB, free: 45.39 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/14.22, allocations: 1.093 MB / 5.227 GB, free: 44.29 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/14.22, allocations: 4 kB / 5.227 GB, free: 44.29 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003631/14.22, allocations: 2.432 MB / 5.229 GB, free: 41.85 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/14.22, allocations: 34.64 kB / 5.229 GB, free: 41.81 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/14.22, allocations: 11.94 kB / 5.229 GB, free: 41.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/14.22, allocations: 20 kB / 5.229 GB, free: 41.78 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/14.22, allocations: 467.2 kB / 5.229 GB, free: 41.32 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/14.22, allocations: 23.92 kB / 5.229 GB, free: 41.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/14.23, allocations: 302.2 kB / 5.23 GB, free: 41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/14.23, allocations: 87.95 kB / 5.23 GB, free: 40.91 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 () * 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.0003612/14.23, allocations: 156.6 kB / 5.23 GB, free: 40.75 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00326/14.23, allocations: 2.159 MB / 5.232 GB, free: 38.59 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/14.23, allocations: 193.8 kB / 5.232 GB, free: 38.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003716/14.24, allocations: 2.388 MB / 5.235 GB, free: 35.99 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/14.24, allocations: 20 kB / 5.235 GB, free: 35.97 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/14.24, allocations: 0 / 5.235 GB, free: 35.97 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002689/14.24, allocations: 2.257 MB / 5.237 GB, free: 33.64 MB / 1.01 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 postOpt removeSimpleEquations (simulation): time 0.00921/14.25, allocations: 5.507 MB / 5.242 GB, free: 28.04 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/14.25, allocations: 0 / 5.242 GB, free: 28.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002181/14.25, allocations: 495.6 kB / 5.243 GB, free: 27.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.845e-05/14.25, allocations: 8 kB / 5.243 GB, free: 27.54 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/14.25, allocations: 35.97 kB / 5.243 GB, free: 27.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/14.25, allocations: 11.98 kB / 5.243 GB, free: 27.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/14.25, allocations: 4 kB / 5.243 GB, free: 27.49 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004909/14.25, allocations: 4.017 MB / 5.247 GB, free: 23.35 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/14.26, allocations: 0.5295 MB / 5.247 GB, free: 22.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004092/14.26, allocations: 15.98 kB / 5.247 GB, free: 22.79 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/14.26, allocations: 211.5 kB / 5.247 GB, free: 22.58 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/14.26, allocations: 149.1 kB / 5.247 GB, free: 22.44 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/14.26, allocations: 75.95 kB / 5.248 GB, free: 22.36 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001016/14.26, allocations: 0.7313 MB / 5.248 GB, free: 21.63 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.41e-07/14.26, allocations: 4 kB / 5.248 GB, free: 21.63 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00355/14.26, allocations: 1.189 MB / 5.249 GB, free: 20.44 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) * 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.01111/14.27, allocations: 10.42 MB / 5.26 GB, free: 9.699 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003219/14.28, allocations: 2.237 MB / 5.262 GB, free: 7.449 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/14.28, allocations: 4.188 kB / 5.262 GB, free: 7.445 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/14.28, allocations: 1.167 MB / 5.263 GB, free: 6.281 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005427/14.28, allocations: 1.004 MB / 5.264 GB, free: 5.301 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009413/14.29, allocations: 5.485 MB / 5.269 GB, free: 15.79 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/14.3, allocations: 2.021 MB / 5.271 GB, free: 13.73 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.00291/14.3, allocations: 0.7113 MB / 5.272 GB, free: 13.02 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/14.3, allocations: 1.093 MB / 5.273 GB, free: 11.93 MB / 1.026 GB Notification: Performance of SimCode: time 1.042e-06/14.3, allocations: 0 / 5.273 GB, free: 11.93 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8511/15.15, allocations: 89.39 MB / 5.36 GB, free: 121.9 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/15.15, allocations: 163.7 kB / 5.36 GB, free: 121.7 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.013/20.16, allocations: 3.938 kB / 5.36 GB, free: 121.7 MB / 1.026 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)