Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 180.1 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000875/0.000875, allocations: 96.34 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002982, allocations: 16.91 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1714, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.5699/0.7414, allocations: 239.4 MB / 1.134 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02327/0.7647, allocations: 19.87 MB / 1.153 GB, free: 2.207 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003226/0.7679, allocations: 55.44 kB / 1.153 GB, free: 2.207 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004443/0.7724, allocations: 1.574 MB / 1.155 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01314/0.7856, allocations: 4.481 MB / 1.159 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006793/0.7924, allocations: 2.277 MB / 1.162 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006794/0.7992, allocations: 4.534 MB / 1.166 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003342/0.8025, allocations: 2.462 MB / 1.168 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004554/0.8071, allocations: 2.4 MB / 1.171 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002961/0.8101, allocations: 1.932 MB / 1.173 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004799/0.8106, allocations: 190.3 kB / 1.173 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005933/0.8165, allocations: 2.315 MB / 1.175 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001489/0.8181, allocations: 1.353 MB / 1.176 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001715/0.8198, allocations: 0.7445 MB / 1.177 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007078/0.8269, allocations: 4.592 MB / 1.182 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8269, allocations: 3.938 kB / 1.182 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8269, allocations: 4 kB / 1.182 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002094/0.8271, allocations: 0 / 1.182 GB, free: 8.715 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.01152/0.8387, allocations: 3.784 MB / 1.185 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.8387, allocations: 9.625 kB / 1.185 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001507/0.8402, allocations: 447.9 kB / 1.186 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006168/0.8464, allocations: 0.9016 MB / 1.187 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00543/0.8519, allocations: 1.896 MB / 1.188 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.8521, allocations: 237.9 kB / 1.189 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008072/0.8529, allocations: 324.3 kB / 1.189 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007739/0.8607, allocations: 4.12 MB / 1.193 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.42e-05/0.8608, allocations: 2.625 kB / 1.193 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.8612, allocations: 131.9 kB / 1.193 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.8613, allocations: 159.9 kB / 1.193 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007598/0.8689, allocations: 4.188 MB / 1.197 GB, free: 12.7 MB / 0.7292 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.02055/0.8895, allocations: 15.34 MB / 1.212 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005616/0.8952, allocations: 3.497 MB / 1.216 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001459/0.8967, allocations: 1.52 MB / 1.217 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002652/0.8993, allocations: 1.682 MB / 1.219 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=304): time 4.609e-06/0.8994, allocations: 0 / 1.219 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=304): time 0.007222/0.9066, allocations: 4.397 MB / 1.223 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.9067, allocations: 85.8 kB / 1.223 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.9087, allocations: 1.542 MB / 1.225 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002508/0.909, allocations: 85.69 kB / 1.225 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009135/0.9099, allocations: 1.152 MB / 1.226 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009287/0.9108, allocations: 1.032 MB / 1.227 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.911, allocations: 56 kB / 1.227 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002114/0.9112, allocations: 419.7 kB / 1.227 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.9133, allocations: 1.266 MB / 1.229 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/0.9157, allocations: 1.675 MB / 1.23 GB, free: 9.312 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/0.9182, allocations: 1.545 MB / 1.232 GB, free: 7.754 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.9182, allocations: 0 / 1.232 GB, free: 7.754 MB / 0.7605 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.005806/0.924, allocations: 3.493 MB / 1.235 GB, free: 4.258 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.9241, allocations: 33.7 kB / 1.235 GB, free: 4.219 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.9241, allocations: 8 kB / 1.235 GB, free: 4.211 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/0.9241, allocations: 24 kB / 1.235 GB, free: 4.188 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002528/0.9267, allocations: 0.6143 MB / 1.236 GB, free: 3.609 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-05/0.9267, allocations: 27.64 kB / 1.236 GB, free: 3.586 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003057/0.9298, allocations: 424.8 kB / 1.236 GB, free: 3.172 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/0.93, allocations: 107.9 kB / 1.236 GB, free: 3.066 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (354): * Single equations (assignments): 353 * 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.00142/0.9314, allocations: 0.7842 MB / 1.237 GB, free: 2.309 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004834/0.9319, allocations: 253 kB / 1.237 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005945/0.9379, allocations: 3.488 MB / 1.241 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/0.9379, allocations: 31.94 kB / 1.241 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.9379, allocations: 0 / 1.241 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004529/0.9425, allocations: 3.11 MB / 1.244 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.9549, allocations: 7.162 MB / 1.251 GB, free: 3.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.9549, allocations: 4 kB / 1.251 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002888/0.9578, allocations: 0.6223 MB / 1.252 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.817e-05/0.9579, allocations: 15.95 kB / 1.252 GB, free: 3.355 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/0.9581, allocations: 71.97 kB / 1.252 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.506e-05/0.9581, allocations: 16 kB / 1.252 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.9581, allocations: 6.531 kB / 1.252 GB, free: 3.266 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008073/0.9662, allocations: 5.572 MB / 1.257 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002117/0.9684, allocations: 0.6809 MB / 1.258 GB, free: 12.81 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006194/0.969, allocations: 56 kB / 1.258 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00277/0.9718, allocations: 275.1 kB / 1.258 GB, free: 12.49 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003794/0.9722, allocations: 196.6 kB / 1.258 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/0.9724, allocations: 95.95 kB / 1.258 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001608/0.974, allocations: 1.051 MB / 1.259 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.1e-07/0.974, allocations: 4 kB / 1.259 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00287/0.9769, allocations: 1.103 MB / 1.26 GB, free: 10.05 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,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 (304): * Single equations (assignments): 302 * 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.008974/0.9859, allocations: 7.103 MB / 1.267 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.005016/0.9909, allocations: 3.212 MB / 1.271 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.952e-05/0.991, allocations: 0 / 1.271 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002513/0.9935, allocations: 1.702 MB / 1.272 GB, free: 14 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005991/0.9995, allocations: 1.284 MB / 1.273 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/1.016, allocations: 15.64 MB / 1.289 GB, free: 12.45 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001932/1.018, allocations: 2.199 MB / 1.291 GB, free: 10.22 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003824/1.022, allocations: 0.9937 MB / 1.292 GB, free: 9.219 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001984/1.024, allocations: 1.241 MB / 1.293 GB, free: 7.98 MB / 0.823 GB Notification: Performance of SimCode: time 7.81e-07/1.024, allocations: 0 / 1.293 GB, free: 7.98 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/1.135, allocations: 73.56 MB / 1.365 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/1.135, allocations: 228.9 kB / 1.365 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.348/5.483, allocations: 2.672 kB / 1.365 GB, free: 14.8 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)