Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.725/4.725, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002634/0.002634, allocations: 360 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.068/4.068, allocations: 410.7 MB / 1.113 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001868/0.001867, allocations: 184.7 kB / 1.226 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006205/0.0006209, allocations: 19.98 kB / 1.349 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7076/0.7082, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.443/7.151, allocations: 2.136 GB / 3.598 GB, free: 256.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/7.152, allocations: 96.98 kB / 3.598 GB, free: 256.8 MB / 0.948 GB [/var/lib/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() [/var/lib/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() [/var/lib/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() [/var/lib/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 10.32/17.47, allocations: 2.093 GB / 5.69 GB, free: 15.34 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.204e-06/17.47, allocations: 0 / 5.69 GB, free: 15.34 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0003038/17.47, allocations: 79.86 kB / 5.691 GB, free: 15.26 MB / 1.026 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.02235/17.49, allocations: 3.954 MB / 5.694 GB, free: 11.23 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/17.49, allocations: 8.031 kB / 5.694 GB, free: 11.22 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009496/17.5, allocations: 0.8274 MB / 5.695 GB, free: 10.39 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007404/17.51, allocations: 1.94 MB / 5.697 GB, free: 8.395 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/17.51, allocations: 217.5 kB / 5.697 GB, free: 8.18 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009739/17.51, allocations: 287.9 kB / 5.698 GB, free: 7.898 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01173/17.52, allocations: 3.518 MB / 5.701 GB, free: 4.242 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/17.52, allocations: 7.938 kB / 5.701 GB, free: 4.234 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004851/17.52, allocations: 116 kB / 5.701 GB, free: 4.121 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002282/17.52, allocations: 129.3 kB / 5.701 GB, free: 3.992 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/17.53, allocations: 3.151 MB / 5.704 GB, free: 0.8281 MB / 1.026 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.8598/18.39, allocations: 14.44 MB / 5.718 GB, free: 94.48 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005723/18.4, allocations: 2.296 MB / 5.721 GB, free: 94.07 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00358/18.4, allocations: 1.33 MB / 5.722 GB, free: 94.06 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00159/18.41, allocations: 1.382 MB / 5.723 GB, free: 92.55 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003564/18.41, allocations: 1.209 MB / 5.725 GB, free: 92.48 MB / 1.026 GB Notification: Performance of pre-optimization done (n=213): time 6.843e-06/18.41, allocations: 3.469 kB / 5.725 GB, free: 92.48 MB / 1.026 GB Notification: Performance of matching and sorting (n=213): time 0.009519/18.42, allocations: 3.134 MB / 5.728 GB, free: 92.29 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/18.42, allocations: 79.59 kB / 5.728 GB, free: 92.23 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002888/18.42, allocations: 1.425 MB / 5.729 GB, free: 92.06 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.000548/18.42, allocations: 70.27 kB / 5.729 GB, free: 92.03 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001305/18.42, allocations: 1.118 MB / 5.73 GB, free: 91.69 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.001269/18.42, allocations: 0.7309 MB / 5.731 GB, free: 91.32 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/18.42, allocations: 40.25 kB / 5.731 GB, free: 91.32 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001603/18.43, allocations: 393.8 kB / 5.731 GB, free: 91.01 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00259/18.43, allocations: 0.8961 MB / 5.732 GB, free: 91 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002882/18.43, allocations: 1.335 MB / 5.734 GB, free: 90.56 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003077/18.43, allocations: 1.123 MB / 5.735 GB, free: 90.5 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/18.43, allocations: 0 / 5.735 GB, free: 90.5 MB / 1.026 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.007123/18.44, allocations: 2.58 MB / 5.737 GB, free: 90.29 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 5.605e-05/18.44, allocations: 36.64 kB / 5.737 GB, free: 90.26 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/18.44, allocations: 7.156 kB / 5.737 GB, free: 90.26 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.207e-05/18.44, allocations: 20.06 kB / 5.737 GB, free: 90.26 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003777/18.44, allocations: 450.4 kB / 5.738 GB, free: 90.26 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.854e-05/18.44, allocations: 24.77 kB / 5.738 GB, free: 90.26 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004794/18.45, allocations: 369.9 kB / 5.738 GB, free: 90.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003021/18.45, allocations: 79.56 kB / 5.738 GB, free: 90.2 MB / 1.026 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.002137/18.45, allocations: 0.6888 MB / 5.739 GB, free: 90.09 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007412/18.45, allocations: 215.7 kB / 5.739 GB, free: 89.98 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00692/18.46, allocations: 2.499 MB / 5.741 GB, free: 89.87 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/18.46, allocations: 21.69 kB / 5.741 GB, free: 89.87 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/18.46, allocations: 3.656 kB / 5.741 GB, free: 89.87 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00545/18.47, allocations: 2.313 MB / 5.744 GB, free: 89.47 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/18.48, allocations: 5.561 MB / 5.749 GB, free: 88.88 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/18.48, allocations: 3.719 kB / 5.749 GB, free: 88.88 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004337/18.48, allocations: 470.7 kB / 5.75 GB, free: 88.88 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.171e-05/18.49, allocations: 8.781 kB / 5.75 GB, free: 88.88 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002326/18.49, allocations: 63.5 kB / 5.75 GB, free: 88.88 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.926e-05/18.49, allocations: 14.83 kB / 5.75 GB, free: 88.88 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/18.49, allocations: 2.875 kB / 5.75 GB, free: 88.88 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009428/18.49, allocations: 3.95 MB / 5.754 GB, free: 88.47 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002143/18.5, allocations: 0.5421 MB / 5.754 GB, free: 88.27 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005974/18.5, allocations: 47.3 kB / 5.754 GB, free: 88.27 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003818/18.5, allocations: 245.7 kB / 5.754 GB, free: 88.26 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003669/18.5, allocations: 142.8 kB / 5.754 GB, free: 88.25 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002341/18.5, allocations: 68.16 kB / 5.755 GB, free: 88.25 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.002049/18.5, allocations: 0.9747 MB / 5.755 GB, free: 88.14 MB / 1.026 GB Notification: Performance of sort global known variables: time 4.81e-07/18.5, allocations: 0 / 5.755 GB, free: 88.14 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.005463/18.51, allocations: 1.372 MB / 5.757 GB, free: 88.08 MB / 1.026 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.008633/18.52, allocations: 4.846 MB / 5.762 GB, free: 85.8 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.006332/18.52, allocations: 2.321 MB / 5.764 GB, free: 85.69 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/18.52, allocations: 0 / 5.764 GB, free: 85.69 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.003039/18.53, allocations: 1.194 MB / 5.765 GB, free: 85.68 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01054/18.54, allocations: 1.235 MB / 5.766 GB, free: 85.67 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/18.55, allocations: 6.99 MB / 5.773 GB, free: 82.97 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/18.55, allocations: 2.022 MB / 5.775 GB, free: 82.22 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.004907/18.56, allocations: 0.7173 MB / 5.776 GB, free: 82.2 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/18.56, allocations: 207 kB / 5.776 GB, free: 82.2 MB / 1.026 GB Notification: Performance of SimCode: time 1.302e-06/18.56, allocations: 0 / 5.776 GB, free: 82.2 MB / 1.026 GB Notification: Performance of Templates: time 0.2049/18.77, allocations: 90.88 MB / 5.865 GB, free: 78.92 MB / 1.026 GB