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: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 289.7 MB / 302.3 MB, free: 2.172 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.001012/0.001012, allocations: 181.2 kB / 371.6 MB, free: 3.422 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.559/1.559, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009442/0.0009442, allocations: 94.27 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.576e-05/4.576e-05, allocations: 4 kB / 0.8662 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2977, allocations: 116.3 MB / 0.9798 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.637/5.934, allocations: 2.137 GB / 3.117 GB, free: 102.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/5.935, allocations: 89.69 kB / 3.117 GB, free: 102.1 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 8.962/14.9, allocations: 2.097 GB / 5.215 GB, free: 76.66 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.462e-06/14.9, allocations: 6.875 kB / 5.215 GB, free: 76.66 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0002678/14.9, allocations: 66.56 kB / 5.215 GB, free: 76.66 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.01488/14.91, allocations: 3.603 MB / 5.218 GB, free: 75.41 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/14.91, allocations: 9.469 kB / 5.218 GB, free: 75.41 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006871/14.92, allocations: 0.8251 MB / 5.219 GB, free: 75.24 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00623/14.93, allocations: 2.156 MB / 5.221 GB, free: 74.79 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/14.93, allocations: 214.5 kB / 5.221 GB, free: 74.78 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008077/14.93, allocations: 281.2 kB / 5.222 GB, free: 74.78 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007091/14.93, allocations: 3.417 MB / 5.225 GB, free: 74.39 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.401e-05/14.93, allocations: 4.125 kB / 5.225 GB, free: 74.39 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003496/14.93, allocations: 122.1 kB / 5.225 GB, free: 74.39 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001386/14.93, allocations: 130.1 kB / 5.225 GB, free: 74.38 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006313/14.94, allocations: 3.029 MB / 5.228 GB, free: 74.35 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.01979/14.96, allocations: 14.44 MB / 5.242 GB, free: 65.8 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/14.96, allocations: 2.221 MB / 5.244 GB, free: 65.38 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/14.97, allocations: 1.291 MB / 5.246 GB, free: 65.36 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/14.97, allocations: 1.385 MB / 5.247 GB, free: 63.85 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001857/14.97, allocations: 1.162 MB / 5.248 GB, free: 63.78 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 4.408e-06/14.97, allocations: 3.656 kB / 5.248 GB, free: 63.78 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.004183/14.97, allocations: 2.179 MB / 5.25 GB, free: 63.59 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/14.97, allocations: 77.3 kB / 5.25 GB, free: 63.53 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/14.98, allocations: 1.235 MB / 5.252 GB, free: 63.36 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003458/14.98, allocations: 73.27 kB / 5.252 GB, free: 63.33 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/14.98, allocations: 1.108 MB / 5.253 GB, free: 62.87 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008077/14.98, allocations: 0.7337 MB / 5.253 GB, free: 62.39 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/14.98, allocations: 40.69 kB / 5.253 GB, free: 62.39 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001305/14.98, allocations: 385.5 kB / 5.254 GB, free: 62.09 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/14.98, allocations: 0.8585 MB / 5.255 GB, free: 62.08 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/14.98, allocations: 1.286 MB / 5.256 GB, free: 61.64 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/14.98, allocations: 1.09 MB / 5.257 GB, free: 61.58 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/14.98, allocations: 3.953 kB / 5.257 GB, free: 61.58 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003962/14.99, allocations: 2.501 MB / 5.259 GB, free: 61.36 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/14.99, allocations: 32.95 kB / 5.259 GB, free: 61.33 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/14.99, allocations: 6.781 kB / 5.259 GB, free: 61.33 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.266e-05/14.99, allocations: 26.05 kB / 5.259 GB, free: 61.33 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/14.99, allocations: 453.5 kB / 5.26 GB, free: 61.33 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.749e-05/14.99, allocations: 17.59 kB / 5.26 GB, free: 61.33 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003235/14.99, allocations: 363.1 kB / 5.26 GB, free: 61.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/14.99, allocations: 81.03 kB / 5.26 GB, free: 61.23 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.000454/14.99, allocations: 238.8 kB / 5.261 GB, free: 61.12 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004906/14.99, allocations: 216.2 kB / 5.261 GB, free: 61.01 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004166/15, allocations: 2.423 MB / 5.263 GB, free: 60.89 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/15, allocations: 20.47 kB / 5.263 GB, free: 60.89 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/15, allocations: 0 / 5.263 GB, free: 60.89 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002933/15, allocations: 2.233 MB / 5.265 GB, free: 60.5 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009555/15.01, allocations: 5.49 MB / 5.271 GB, free: 59.86 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/15.01, allocations: 3.75 kB / 5.271 GB, free: 59.86 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002072/15.01, allocations: 471.9 kB / 5.271 GB, free: 59.86 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.081e-05/15.01, allocations: 14.98 kB / 5.271 GB, free: 59.86 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/15.01, allocations: 58.95 kB / 5.271 GB, free: 59.86 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/15.01, allocations: 10.22 kB / 5.271 GB, free: 59.86 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/15.01, allocations: 7.438 kB / 5.271 GB, free: 59.86 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005239/15.02, allocations: 3.986 MB / 5.275 GB, free: 59.25 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/15.02, allocations: 0.5435 MB / 5.276 GB, free: 59.02 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003804/15.02, allocations: 43.67 kB / 5.276 GB, free: 59.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/15.02, allocations: 248.2 kB / 5.276 GB, free: 59.01 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/15.02, allocations: 133.9 kB / 5.276 GB, free: 59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/15.02, allocations: 77.88 kB / 5.276 GB, free: 59 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00146/15.02, allocations: 0.9508 MB / 5.277 GB, free: 58.88 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.533e-06/15.02, allocations: 0 / 5.277 GB, free: 58.88 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004715/15.03, allocations: 1.37 MB / 5.278 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) * 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.006916/15.04, allocations: 4.853 MB / 5.283 GB, free: 56.35 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003766/15.04, allocations: 2.235 MB / 5.285 GB, free: 56.25 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/15.04, allocations: 1.969 kB / 5.285 GB, free: 56.25 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001595/15.04, allocations: 1.158 MB / 5.286 GB, free: 56.24 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006112/15.05, allocations: 1.208 MB / 5.288 GB, free: 56.19 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008527/15.06, allocations: 4.884 MB / 5.292 GB, free: 55.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/15.06, allocations: 2.017 MB / 5.294 GB, free: 54.35 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003222/15.06, allocations: 0.7224 MB / 5.295 GB, free: 54.33 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007315/15.06, allocations: 203.8 kB / 5.295 GB, free: 54.32 MB / 1.01 GB Notification: Performance of SimCode: time 1.563e-06/15.06, allocations: 0 / 5.295 GB, free: 54.32 MB / 1.01 GB Notification: Performance of Templates: time 0.1346/15.2, allocations: 101.1 MB / 5.394 GB, free: 18.54 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (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 & ./Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)