Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") translateModel(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8774/0.8774, allocations: 140.1 MB / 156 MB, free: 5.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 179.7 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.282/2.282, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 98.3 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001922/0.001922, allocations: 273.1 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005705/0.0005705, allocations: 16 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5997/0.6003, allocations: 79.3 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.387/6.987, allocations: 2.106 GB / 2.846 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/6.988, allocations: 95.95 kB / 2.846 GB, free: 177.6 MB / 0.6823 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 10.07/17.06, allocations: 2.095 GB / 4.941 GB, free: 59.83 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.405e-06/17.06, allocations: 3.375 kB / 4.941 GB, free: 59.83 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0005852/17.06, allocations: 82.55 kB / 4.941 GB, free: 59.83 MB / 0.7605 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.01947/17.08, allocations: 3.912 MB / 4.945 GB, free: 58.89 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.824e-05/17.08, allocations: 8.594 kB / 4.945 GB, free: 58.89 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007739/17.08, allocations: 0.8322 MB / 4.945 GB, free: 58.72 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007097/17.09, allocations: 2.096 MB / 4.947 GB, free: 58.33 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/17.09, allocations: 214.8 kB / 4.948 GB, free: 58.32 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008683/17.09, allocations: 284 kB / 4.948 GB, free: 58.32 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007231/17.1, allocations: 3.529 MB / 4.951 GB, free: 57.93 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.994e-05/17.1, allocations: 16.41 kB / 4.951 GB, free: 57.93 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003064/17.1, allocations: 114.6 kB / 4.952 GB, free: 57.93 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/17.1, allocations: 127 kB / 4.952 GB, free: 57.92 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006217/17.11, allocations: 3.158 MB / 4.955 GB, free: 57.89 MB / 0.7605 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.02171/17.13, allocations: 14.46 MB / 4.969 GB, free: 49.45 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/17.13, allocations: 2.306 MB / 4.971 GB, free: 49.04 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/17.13, allocations: 1.346 MB / 4.972 GB, free: 49.01 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/17.14, allocations: 1.388 MB / 4.974 GB, free: 47.51 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002102/17.14, allocations: 1.22 MB / 4.975 GB, free: 47.44 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=216): time 5.75e-06/17.14, allocations: 3.281 kB / 4.975 GB, free: 47.44 MB / 0.7605 GB Notification: Performance of matching and sorting (n=216): time 0.006434/17.14, allocations: 3.173 MB / 4.978 GB, free: 47.24 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/17.14, allocations: 78.78 kB / 4.978 GB, free: 47.18 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/17.15, allocations: 1.434 MB / 4.98 GB, free: 47.01 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003235/17.15, allocations: 70.48 kB / 4.98 GB, free: 46.98 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/17.15, allocations: 1.111 MB / 4.981 GB, free: 46.63 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009068/17.15, allocations: 0.7442 MB / 4.981 GB, free: 46.15 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/17.15, allocations: 41 kB / 4.981 GB, free: 46.15 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000177/17.15, allocations: 383.1 kB / 4.982 GB, free: 45.85 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/17.15, allocations: 0.9131 MB / 4.983 GB, free: 45.84 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/17.15, allocations: 1.337 MB / 4.984 GB, free: 45.41 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003681/17.16, allocations: 2.317 MB / 4.986 GB, free: 45.09 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/17.16, allocations: 3.719 kB / 4.986 GB, free: 45.09 MB / 0.7605 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005073/17.16, allocations: 2.596 MB / 4.989 GB, free: 44.87 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.723e-05/17.16, allocations: 39.11 kB / 4.989 GB, free: 44.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/17.16, allocations: 9.938 kB / 4.989 GB, free: 44.84 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.885e-05/17.16, allocations: 17.03 kB / 4.989 GB, free: 44.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/17.16, allocations: 459.8 kB / 4.989 GB, free: 44.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.171e-05/17.16, allocations: 23.34 kB / 4.989 GB, free: 44.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003522/17.17, allocations: 366.7 kB / 4.99 GB, free: 44.74 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/17.17, allocations: 84.98 kB / 4.99 GB, free: 44.74 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 260 * 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.001864/17.17, allocations: 0.69 MB / 4.99 GB, free: 44.62 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007/17.17, allocations: 216.4 kB / 4.991 GB, free: 44.51 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004721/17.18, allocations: 2.537 MB / 4.993 GB, free: 44.39 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/17.18, allocations: 23.38 kB / 4.993 GB, free: 44.39 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.567e-06/17.18, allocations: 0 / 4.993 GB, free: 44.39 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003317/17.18, allocations: 2.334 MB / 4.995 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/17.19, allocations: 5.602 MB / 5.001 GB, free: 43.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/17.19, allocations: 0 / 5.001 GB, free: 43.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002295/17.19, allocations: 478.6 kB / 5.001 GB, free: 43.36 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.523e-05/17.19, allocations: 11.78 kB / 5.001 GB, free: 43.36 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/17.19, allocations: 62.31 kB / 5.001 GB, free: 43.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.145e-05/17.19, allocations: 15.28 kB / 5.001 GB, free: 43.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/17.19, allocations: 9.344 kB / 5.001 GB, free: 43.36 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007407/17.2, allocations: 3.976 MB / 5.005 GB, free: 42.95 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002691/17.2, allocations: 0.5485 MB / 5.006 GB, free: 42.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005074/17.2, allocations: 46.53 kB / 5.006 GB, free: 42.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002074/17.21, allocations: 245.7 kB / 5.006 GB, free: 42.7 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/17.21, allocations: 144.9 kB / 5.006 GB, free: 42.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/17.21, allocations: 72.72 kB / 5.006 GB, free: 42.7 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001555/17.21, allocations: 0.9672 MB / 5.007 GB, free: 42.59 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.31e-07/17.21, allocations: 1.219 kB / 5.007 GB, free: 42.59 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005124/17.21, allocations: 1.381 MB / 5.009 GB, free: 42.46 MB / 0.7605 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 (220): * Single equations (assignments): 218 * 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.00895/17.22, allocations: 4.874 MB / 5.013 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004962/17.23, allocations: 2.345 MB / 5.016 GB, free: 39.97 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/17.23, allocations: 0 / 5.016 GB, free: 39.97 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002043/17.23, allocations: 1.206 MB / 5.017 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006873/17.24, allocations: 1.228 MB / 5.018 GB, free: 39.92 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/17.25, allocations: 7.044 MB / 5.025 GB, free: 37.21 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/17.25, allocations: 1.965 MB / 5.027 GB, free: 36.46 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003824/17.25, allocations: 0.7308 MB / 5.028 GB, free: 36.44 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000775/17.25, allocations: 216.4 kB / 5.028 GB, free: 36.43 MB / 0.7605 GB Notification: Performance of SimCode: time 1.513e-06/17.25, allocations: 0 / 5.028 GB, free: 36.43 MB / 0.7605 GB Notification: Performance of Templates: time 0.1413/17.4, allocations: 92.55 MB / 5.118 GB, free: 31.3 MB / 0.7605 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)