Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9627/0.9627, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003295, allocations: 12 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1481, allocations: 83.41 MB / 0.5974 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.4763/0.6245, allocations: 238.9 MB / 0.8307 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02703/0.6515, allocations: 21.31 MB / 0.8515 GB, free: 7.418 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.6543, allocations: 55.69 kB / 0.8515 GB, free: 7.363 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004448/0.6588, allocations: 1.54 MB / 0.853 GB, free: 5.816 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01264/0.6714, allocations: 4.579 MB / 0.8575 GB, free: 1.227 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.3351/1.007, allocations: 2.127 MB / 0.8596 GB, free: 9.59 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00648/1.013, allocations: 4.158 MB / 0.8636 GB, free: 9.582 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003898/1.017, allocations: 2.286 MB / 0.8659 GB, free: 9.289 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005025/1.022, allocations: 2.235 MB / 0.868 GB, free: 9.281 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003351/1.025, allocations: 1.743 MB / 0.8697 GB, free: 9.27 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007302/1.026, allocations: 166.4 kB / 0.8699 GB, free: 9.27 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006675/1.033, allocations: 2.388 MB / 0.8722 GB, free: 9.27 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001682/1.035, allocations: 1.172 MB / 0.8734 GB, free: 9.266 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001951/1.037, allocations: 0.6769 MB / 0.874 GB, free: 25.23 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006068/1.043, allocations: 4.396 MB / 0.8783 GB, free: 24.92 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.043, allocations: 0 / 0.8783 GB, free: 24.92 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.234e-06/1.043, allocations: 0 / 0.8783 GB, free: 24.92 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001479/1.043, allocations: 0.6562 kB / 0.8783 GB, free: 24.92 MB / 0.6856 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.01061/1.053, allocations: 3.398 MB / 0.8817 GB, free: 23.38 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.053, allocations: 9.688 kB / 0.8817 GB, free: 23.38 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001056/1.055, allocations: 389.9 kB / 0.882 GB, free: 23.33 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006128/1.061, allocations: 0.8578 MB / 0.8829 GB, free: 23.15 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005539/1.066, allocations: 1.765 MB / 0.8846 GB, free: 22.69 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/1.067, allocations: 209.6 kB / 0.8848 GB, free: 22.68 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008071/1.067, allocations: 278.6 kB / 0.8851 GB, free: 22.68 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006792/1.074, allocations: 3.561 MB / 0.8885 GB, free: 22.32 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.749e-05/1.074, allocations: 9.812 kB / 0.8885 GB, free: 22.31 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002938/1.075, allocations: 113.6 kB / 0.8887 GB, free: 22.31 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001993/1.075, allocations: 147.2 kB / 0.8888 GB, free: 22.3 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005922/1.081, allocations: 3.292 MB / 0.892 GB, free: 22.27 MB / 0.6856 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.01641/1.097, allocations: 14.18 MB / 0.9059 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003486/1.101, allocations: 2.507 MB / 0.9083 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/1.102, allocations: 1.293 MB / 0.9096 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001767/1.103, allocations: 1.225 MB / 0.9108 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=216): time 4.008e-06/1.103, allocations: 3.344 kB / 0.9108 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of matching and sorting (n=216): time 0.005194/1.109, allocations: 3.21 MB / 0.9139 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/1.109, allocations: 74.97 kB / 0.914 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/1.11, allocations: 1.441 MB / 0.9154 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002314/1.111, allocations: 67.89 kB / 0.9154 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006962/1.111, allocations: 1.115 MB / 0.9165 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005561/1.112, allocations: 0.7423 MB / 0.9173 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/1.112, allocations: 41.47 kB / 0.9173 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.112, allocations: 394 kB / 0.9177 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/1.114, allocations: 0.9205 MB / 0.9186 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/1.115, allocations: 1.274 MB / 0.9198 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/1.117, allocations: 1.133 MB / 0.9209 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.117, allocations: 4.688 kB / 0.9209 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004132/1.121, allocations: 2.616 MB / 0.9235 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/1.121, allocations: 36 kB / 0.9235 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.121, allocations: 7.281 kB / 0.9235 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/1.121, allocations: 18.83 kB / 0.9235 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/1.123, allocations: 488.3 kB / 0.924 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.189e-05/1.123, allocations: 23.06 kB / 0.924 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/1.126, allocations: 409 kB / 0.9244 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/1.126, allocations: 80.44 kB / 0.9245 GB, free: 9.504 MB / 0.6856 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.001286/1.128, allocations: 0.6836 MB / 0.9252 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004288/1.128, allocations: 217.2 kB / 0.9254 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004439/1.133, allocations: 2.561 MB / 0.9279 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/1.133, allocations: 21.34 kB / 0.9279 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.133, allocations: 0 / 0.9279 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003087/1.136, allocations: 2.356 MB / 0.9302 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009007/1.145, allocations: 5.655 MB / 0.9357 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/1.145, allocations: 2.562 kB / 0.9357 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002147/1.147, allocations: 492.4 kB / 0.9362 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.685e-05/1.147, allocations: 9.75 kB / 0.9362 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/1.147, allocations: 57.64 kB / 0.9363 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/1.147, allocations: 11.19 kB / 0.9363 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.147, allocations: 5.141 kB / 0.9363 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005123/1.152, allocations: 3.991 MB / 0.9402 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/1.154, allocations: 0.5429 MB / 0.9407 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003222/1.154, allocations: 49.08 kB / 0.9407 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/1.156, allocations: 243.6 kB / 0.941 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/1.156, allocations: 155.5 kB / 0.9411 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/1.156, allocations: 66.67 kB / 0.9412 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001184/1.157, allocations: 0.9764 MB / 0.9421 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.1e-07/1.157, allocations: 4 kB / 0.9421 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002075/1.16, allocations: 0.9489 MB / 0.9431 GB, free: 5.016 MB / 0.6856 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 (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.005916/1.165, allocations: 5.509 MB / 0.9485 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003499/1.169, allocations: 2.356 MB / 0.9508 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.169, allocations: 0 / 0.9508 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/1.171, allocations: 1.235 MB / 0.952 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005386/1.176, allocations: 1.218 MB / 0.9532 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02667/1.203, allocations: 21.11 MB / 0.9738 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/1.205, allocations: 2.022 MB / 0.9757 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003143/1.208, allocations: 0.7455 MB / 0.9765 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/1.209, allocations: 1.099 MB / 0.9775 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of SimCode: time 1.062e-06/1.209, allocations: 0 / 0.9775 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/1.324, allocations: 65.89 MB / 1.042 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/1.324, allocations: 229.9 kB / 1.042 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/4.576, allocations: 2.906 kB / 1.042 GB, free: 8.129 MB / 0.7794 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) Environment - environmentSimulation: