Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003921/0.003927, allocations: 357.3 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.487/1.487, allocations: 165.8 MB / 183.1 MB, free: 5.504 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.855/3.855, allocations: 410.7 MB / 0.6001 GB, free: 15.15 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001815/0.001815, allocations: 187.6 kB / 0.6668 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004593, allocations: 15.98 kB / 0.7429 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4185, allocations: 67.43 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.566/6.984, allocations: 2.098 GB / 2.906 GB, free: 150.2 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003983/6.985, allocations: 94.97 kB / 2.906 GB, free: 150.2 MB / 0.573 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 11.38/18.37, allocations: 2.093 GB / 4.999 GB, free: 58.71 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.134e-06/18.37, allocations: 0 / 4.999 GB, free: 58.71 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002826/18.37, allocations: 77.36 kB / 4.999 GB, free: 58.71 MB / 0.6667 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.02137/18.39, allocations: 3.95 MB / 5.003 GB, free: 57.64 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/18.39, allocations: 8.5 kB / 5.003 GB, free: 57.64 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009587/18.4, allocations: 0.8366 MB / 5.004 GB, free: 57.47 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007276/18.41, allocations: 1.937 MB / 5.006 GB, free: 57.15 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/18.41, allocations: 209.7 kB / 5.006 GB, free: 57.14 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/18.41, allocations: 289.9 kB / 5.006 GB, free: 57.14 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/18.42, allocations: 3.521 MB / 5.01 GB, free: 56.75 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/18.42, allocations: 9.844 kB / 5.01 GB, free: 56.75 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000458/18.42, allocations: 120.9 kB / 5.01 GB, free: 56.75 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001822/18.42, allocations: 123 kB / 5.01 GB, free: 56.74 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/18.43, allocations: 3.154 MB / 5.013 GB, free: 56.71 MB / 0.6667 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.02573/18.46, allocations: 14.44 MB / 5.027 GB, free: 48.24 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005905/18.46, allocations: 2.283 MB / 5.029 GB, free: 47.82 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00361/18.47, allocations: 1.337 MB / 5.03 GB, free: 47.8 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001656/18.47, allocations: 1.385 MB / 5.032 GB, free: 46.3 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003787/18.47, allocations: 1.215 MB / 5.033 GB, free: 46.22 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=213): time 6.833e-06/18.47, allocations: 2.625 kB / 5.033 GB, free: 46.22 MB / 0.6667 GB Notification: Performance of matching and sorting (n=213): time 0.0103/18.48, allocations: 3.138 MB / 5.036 GB, free: 46.03 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/18.48, allocations: 74.66 kB / 5.036 GB, free: 45.96 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/18.48, allocations: 1.43 MB / 5.038 GB, free: 45.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0005959/18.49, allocations: 71.89 kB / 5.038 GB, free: 45.77 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/18.49, allocations: 1.107 MB / 5.039 GB, free: 45.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001252/18.49, allocations: 0.7328 MB / 5.039 GB, free: 44.82 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/18.49, allocations: 40 kB / 5.039 GB, free: 44.82 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000209/18.49, allocations: 387.7 kB / 5.04 GB, free: 44.52 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/18.49, allocations: 0.8972 MB / 5.041 GB, free: 44.51 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003262/18.49, allocations: 1.337 MB / 5.042 GB, free: 44.07 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003305/18.5, allocations: 1.124 MB / 5.043 GB, free: 44.02 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.637e-05/18.5, allocations: 2.219 kB / 5.043 GB, free: 44.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.008028/18.51, allocations: 2.581 MB / 5.046 GB, free: 43.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.886e-05/18.51, allocations: 37.19 kB / 5.046 GB, free: 43.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/18.51, allocations: 7.125 kB / 5.046 GB, free: 43.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.11e-05/18.51, allocations: 20.67 kB / 5.046 GB, free: 43.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004011/18.51, allocations: 454.1 kB / 5.046 GB, free: 43.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.071e-05/18.51, allocations: 18.69 kB / 5.046 GB, free: 43.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00508/18.52, allocations: 365.6 kB / 5.046 GB, free: 43.67 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003894/18.52, allocations: 85.33 kB / 5.047 GB, free: 43.67 MB / 0.6667 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.002309/18.52, allocations: 0.6857 MB / 5.047 GB, free: 43.55 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008371/18.52, allocations: 217.8 kB / 5.047 GB, free: 43.44 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007514/18.53, allocations: 2.495 MB / 5.05 GB, free: 43.32 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/18.53, allocations: 23.97 kB / 5.05 GB, free: 43.32 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/18.53, allocations: 0 / 5.05 GB, free: 43.32 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006/18.53, allocations: 2.31 MB / 5.052 GB, free: 42.93 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/18.55, allocations: 5.575 MB / 5.058 GB, free: 42.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/18.55, allocations: 3.75 kB / 5.058 GB, free: 42.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004378/18.55, allocations: 469.5 kB / 5.058 GB, free: 42.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.558e-05/18.55, allocations: 10 kB / 5.058 GB, free: 42.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000299/18.55, allocations: 65.81 kB / 5.058 GB, free: 42.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.769e-05/18.55, allocations: 10.81 kB / 5.058 GB, free: 42.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/18.55, allocations: 6.031 kB / 5.058 GB, free: 42.29 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/18.56, allocations: 3.945 MB / 5.062 GB, free: 41.89 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00238/18.57, allocations: 0.5432 MB / 5.063 GB, free: 41.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007883/18.57, allocations: 45.94 kB / 5.063 GB, free: 41.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004374/18.57, allocations: 244.5 kB / 5.063 GB, free: 41.64 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005691/18.57, allocations: 143.5 kB / 5.063 GB, free: 41.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003058/18.57, allocations: 70.77 kB / 5.063 GB, free: 41.64 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002247/18.57, allocations: 0.9667 MB / 5.064 GB, free: 41.53 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.31e-07/18.57, allocations: 5.375 kB / 5.064 GB, free: 41.53 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005875/18.58, allocations: 1.366 MB / 5.065 GB, free: 41.39 MB / 0.6667 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.009164/18.59, allocations: 4.843 MB / 5.07 GB, free: 39.05 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006824/18.6, allocations: 2.318 MB / 5.072 GB, free: 38.95 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/18.6, allocations: 4.719 kB / 5.072 GB, free: 38.95 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003232/18.6, allocations: 1.197 MB / 5.073 GB, free: 38.94 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/18.61, allocations: 1.238 MB / 5.075 GB, free: 38.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/18.63, allocations: 6.995 MB / 5.082 GB, free: 36.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002473/18.63, allocations: 2.019 MB / 5.083 GB, free: 35.45 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.005073/18.63, allocations: 0.7232 MB / 5.084 GB, free: 35.43 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/18.64, allocations: 200.9 kB / 5.084 GB, free: 35.42 MB / 0.6667 GB Notification: Performance of SimCode: time 1.743e-06/18.64, allocations: 0 / 5.084 GB, free: 35.42 MB / 0.6667 GB Notification: Performance of Templates: time 0.2248/18.86, allocations: 90.89 MB / 5.173 GB, free: 29.8 MB / 0.6667 GB