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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002238/0.002238, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.844/1.844, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002496/0.002496, allocations: 286.4 kB / 290.7 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.462/1.462, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001734, allocations: 97.75 kB / 0.5952 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2598, allocations: 86.98 MB / 0.6802 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.9733/1.233, allocations: 294.2 MB / 0.9675 GB, free: 1.113 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03868/1.272, allocations: 23.05 MB / 0.99 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006255/1.278, allocations: 79.62 kB / 0.9901 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.007424/1.286, allocations: 1.787 MB / 0.9918 GB, free: 8.121 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02372/1.31, allocations: 6.13 MB / 0.9978 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01225/1.322, allocations: 2.881 MB / 1.001 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01526/1.337, allocations: 7.296 MB / 1.008 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006456/1.344, allocations: 2.977 MB / 1.011 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009195/1.353, allocations: 2.863 MB / 1.013 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006791/1.36, allocations: 2.714 MB / 1.016 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001549/1.361, allocations: 344 kB / 1.016 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01718/1.378, allocations: 5.982 MB / 1.022 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003248/1.382, allocations: 1.465 MB / 1.024 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.005796/1.387, allocations: 1.906 MB / 1.026 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01993/1.407, allocations: 6.888 MB / 1.032 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/1.407, allocations: 0 / 1.032 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.475e-06/1.407, allocations: 0 / 1.032 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001967/1.408, allocations: 4 kB / 1.032 GB, free: 14.57 MB / 0.7481 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.01401/1.422, allocations: 4.09 MB / 1.036 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.865e-05/1.422, allocations: 11.97 kB / 1.036 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006283/1.428, allocations: 0.843 MB / 1.037 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005017/1.433, allocations: 1.79 MB / 1.039 GB, free: 7.703 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/1.433, allocations: 209.4 kB / 1.039 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009488/1.434, allocations: 279.9 kB / 1.039 GB, free: 7.223 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008182/1.443, allocations: 3.601 MB / 1.043 GB, free: 3.496 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.912e-05/1.443, allocations: 7.938 kB / 1.043 GB, free: 3.488 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003184/1.443, allocations: 112 kB / 1.043 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/1.443, allocations: 149.3 kB / 1.043 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007069/1.45, allocations: 3.284 MB / 1.046 GB, free: 15.93 MB / 0.7637 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.02323/1.473, allocations: 14.3 MB / 1.06 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4584/1.932, allocations: 2.479 MB / 1.063 GB, free: 293.2 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002982/1.935, allocations: 1.351 MB / 1.064 GB, free: 292.7 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/1.936, allocations: 1.374 MB / 1.065 GB, free: 291.2 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002507/1.939, allocations: 1.222 MB / 1.067 GB, free: 290.8 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 5.581e-06/1.939, allocations: 0 / 1.067 GB, free: 290.8 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.006806/1.946, allocations: 3.175 MB / 1.07 GB, free: 289.7 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/1.946, allocations: 75.39 kB / 1.07 GB, free: 289.6 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/1.948, allocations: 1.453 MB / 1.071 GB, free: 289.1 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002514/1.948, allocations: 66.02 kB / 1.071 GB, free: 289 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009699/1.949, allocations: 1.113 MB / 1.072 GB, free: 288.4 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007363/1.95, allocations: 0.7348 MB / 1.073 GB, free: 287.8 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005843/1.951, allocations: 361.6 kB / 1.073 GB, free: 287.6 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/1.951, allocations: 305.4 kB / 1.074 GB, free: 287.3 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/1.952, allocations: 0.9181 MB / 1.075 GB, free: 287 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/1.954, allocations: 1.254 MB / 1.076 GB, free: 286.3 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003413/1.958, allocations: 2.321 MB / 1.078 GB, free: 285.1 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/1.958, allocations: 3.609 kB / 1.078 GB, free: 285.1 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004744/1.963, allocations: 2.597 MB / 1.081 GB, free: 284.1 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.261e-05/1.963, allocations: 40.12 kB / 1.081 GB, free: 284.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/1.963, allocations: 8.672 kB / 1.081 GB, free: 284.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.869e-05/1.963, allocations: 16.12 kB / 1.081 GB, free: 284.1 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/1.965, allocations: 470.8 kB / 1.081 GB, free: 284 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.455e-05/1.965, allocations: 23.06 kB / 1.081 GB, free: 284 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/1.967, allocations: 190.5 kB / 1.081 GB, free: 283.9 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/1.967, allocations: 79.64 kB / 1.081 GB, free: 283.9 MB / 0.7637 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001537/1.969, allocations: 0.6872 MB / 1.082 GB, free: 283.5 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006518/1.969, allocations: 213.5 kB / 1.082 GB, free: 283.4 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005423/1.975, allocations: 2.522 MB / 1.085 GB, free: 282.4 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/1.975, allocations: 20.75 kB / 1.085 GB, free: 282.4 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/1.975, allocations: 1.625 kB / 1.085 GB, free: 282.4 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003772/1.979, allocations: 2.328 MB / 1.087 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/1.989, allocations: 5.613 MB / 1.093 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/1.989, allocations: 6.469 kB / 1.093 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002161/1.991, allocations: 476.9 kB / 1.093 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.576e-05/1.991, allocations: 9.625 kB / 1.093 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/1.991, allocations: 54.88 kB / 1.093 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.458e-05/1.991, allocations: 10.66 kB / 1.093 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.991, allocations: 2.438 kB / 1.093 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005753/1.997, allocations: 3.809 MB / 1.097 GB, free: 277.1 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/1.998, allocations: 0.5312 MB / 1.097 GB, free: 276.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/1.999, allocations: 47.58 kB / 1.097 GB, free: 276.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/2, allocations: 61.86 kB / 1.097 GB, free: 276.7 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002961/2, allocations: 153.6 kB / 1.098 GB, free: 276.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/2.001, allocations: 70.56 kB / 1.098 GB, free: 276.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00127/2.002, allocations: 0.9877 MB / 1.099 GB, free: 276.3 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/2.002, allocations: 3.969 kB / 1.099 GB, free: 276.3 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002377/2.004, allocations: 0.9394 MB / 1.099 GB, free: 276.1 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007663/2.005, allocations: 380.3 kB / 1.1 GB, free: 276 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.007999/2.013, allocations: 3.881 MB / 1.104 GB, free: 275 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/2.013, allocations: 3.938 kB / 1.104 GB, free: 275 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/2.015, allocations: 1.223 MB / 1.105 GB, free: 274.5 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006009/2.021, allocations: 1.297 MB / 1.106 GB, free: 273.9 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008581/2.03, allocations: 5.842 MB / 1.112 GB, free: 268.7 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/2.031, allocations: 1.968 MB / 1.114 GB, free: 266.7 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002836/2.034, allocations: 0.7285 MB / 1.114 GB, free: 266 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006323/2.034, allocations: 191.4 kB / 1.115 GB, free: 265.9 MB / 0.7637 GB Notification: Performance of SimCode: time 1.854e-06/2.034, allocations: 0 / 1.115 GB, free: 265.9 MB / 0.7637 GB Notification: Performance of Templates: time 0.0702/2.104, allocations: 47.37 MB / 1.161 GB, free: 219.2 MB / 0.7637 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)