Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IBPSA_latest_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.00134/0.00134, allocations: 103.1 kB / 16.4 MB, free: 6.492 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.001459/0.001459, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 2.885/2.885, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 68.44 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1567, allocations: 76.18 MB / 0.6316 GB, free: 5 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.6639/0.8206, allocations: 294.2 MB / 0.919 GB, free: 6.238 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03068/0.8514, allocations: 23.04 MB / 0.9415 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003665/0.8551, allocations: 75.62 kB / 0.9415 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005169/0.8603, allocations: 1.794 MB / 0.9433 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01672/0.8771, allocations: 6.132 MB / 0.9493 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008043/0.8851, allocations: 2.895 MB / 0.9521 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009904/0.8951, allocations: 7.303 MB / 0.9592 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004089/0.8992, allocations: 2.973 MB / 0.9621 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006609/0.9058, allocations: 2.908 MB / 0.965 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004368/0.9102, allocations: 2.711 MB / 0.9676 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006262/0.9108, allocations: 340 kB / 0.968 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/0.9219, allocations: 5.99 MB / 0.9738 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002061/0.924, allocations: 1.465 MB / 0.9752 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003798/0.9278, allocations: 1.902 MB / 0.9771 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01314/0.941, allocations: 6.942 MB / 0.9839 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.941, allocations: 0 / 0.9839 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.994e-06/0.941, allocations: 0 / 0.9839 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001722/0.9412, allocations: 4 kB / 0.9839 GB, free: 3.586 MB / 0.7325 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.01221/0.9534, allocations: 4.084 MB / 0.9879 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.9535, allocations: 16.03 kB / 0.9879 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001005/0.9545, allocations: 388.1 kB / 0.9882 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005792/0.9603, allocations: 0.8507 MB / 0.9891 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005122/0.9655, allocations: 1.853 MB / 0.9909 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.9657, allocations: 209.4 kB / 0.9911 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000763/0.9665, allocations: 280 kB / 0.9914 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007389/0.9739, allocations: 3.59 MB / 0.9949 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.337e-05/0.974, allocations: 15.83 kB / 0.9949 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000388/0.9744, allocations: 116 kB / 0.995 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/0.9745, allocations: 149.2 kB / 0.9951 GB, free: 7.789 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00637/0.9809, allocations: 3.288 MB / 0.9983 GB, free: 4.488 MB / 0.7481 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.01796/0.9989, allocations: 14.2 MB / 1.012 GB, free: 5.062 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003801/1.003, allocations: 2.49 MB / 1.015 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/1.005, allocations: 1.356 MB / 1.016 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/1.006, allocations: 1.378 MB / 1.017 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002052/1.008, allocations: 1.222 MB / 1.019 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=213): time 4.549e-06/1.008, allocations: 0 / 1.019 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=213): time 0.005884/1.014, allocations: 3.168 MB / 1.022 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/1.014, allocations: 73.41 kB / 1.022 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/1.016, allocations: 1.46 MB / 1.023 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/1.016, allocations: 65.7 kB / 1.023 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009056/1.017, allocations: 1.115 MB / 1.024 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006869/1.018, allocations: 0.7354 MB / 1.025 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005807/1.019, allocations: 355.5 kB / 1.025 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.332e-05/1.019, allocations: 309.1 kB / 1.026 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/1.02, allocations: 0.9136 MB / 1.026 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/1.022, allocations: 1.255 MB / 1.028 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/1.026, allocations: 2.317 MB / 1.03 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/1.026, allocations: 4 kB / 1.03 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004578/1.03, allocations: 2.602 MB / 1.033 GB, free: 15.55 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/1.03, allocations: 37.7 kB / 1.033 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.03, allocations: 8 kB / 1.033 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.662e-05/1.031, allocations: 16 kB / 1.033 GB, free: 15.49 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/1.032, allocations: 467.2 kB / 1.033 GB, free: 15.03 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-05/1.033, allocations: 23.88 kB / 1.033 GB, free: 15.01 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/1.035, allocations: 194.2 kB / 1.033 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/1.035, allocations: 75.98 kB / 1.033 GB, free: 14.74 MB / 0.795 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.001392/1.036, allocations: 0.6846 MB / 1.034 GB, free: 14.05 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006254/1.037, allocations: 213.5 kB / 1.034 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00456/1.041, allocations: 2.519 MB / 1.037 GB, free: 11.3 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/1.041, allocations: 27.94 kB / 1.037 GB, free: 11.28 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/1.042, allocations: 3.938 kB / 1.037 GB, free: 11.27 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003708/1.045, allocations: 2.335 MB / 1.039 GB, free: 8.871 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/1.056, allocations: 5.596 MB / 1.044 GB, free: 3.164 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/1.056, allocations: 4 kB / 1.044 GB, free: 3.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002198/1.058, allocations: 475.7 kB / 1.045 GB, free: 2.695 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.176e-05/1.058, allocations: 12 kB / 1.045 GB, free: 2.684 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/1.058, allocations: 55.92 kB / 1.045 GB, free: 2.629 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.025e-05/1.058, allocations: 8 kB / 1.045 GB, free: 2.621 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.058, allocations: 7.938 kB / 1.045 GB, free: 2.613 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3345/1.393, allocations: 3.803 MB / 1.049 GB, free: 321.6 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001643/1.394, allocations: 0.5365 MB / 1.049 GB, free: 321.5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002887/1.395, allocations: 47.17 kB / 1.049 GB, free: 321.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/1.396, allocations: 61.44 kB / 1.049 GB, free: 321.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003556/1.396, allocations: 153.3 kB / 1.049 GB, free: 321.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/1.397, allocations: 70.86 kB / 1.05 GB, free: 321.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001445/1.398, allocations: 0.9907 MB / 1.05 GB, free: 321.4 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.5e-07/1.398, allocations: 0 / 1.05 GB, free: 321.4 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002328/1.4, allocations: 0.9346 MB / 1.051 GB, free: 321.3 MB / 0.795 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.006961/1.407, allocations: 4.624 MB / 1.056 GB, free: 319.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004653/1.412, allocations: 2.345 MB / 1.058 GB, free: 318.4 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.412, allocations: 1.094 kB / 1.058 GB, free: 318.4 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002222/1.414, allocations: 1.224 MB / 1.059 GB, free: 318 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005856/1.42, allocations: 1.291 MB / 1.061 GB, free: 317.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02504/1.445, allocations: 18.54 MB / 1.079 GB, free: 309.2 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.446, allocations: 1.971 MB / 1.081 GB, free: 308.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002449/1.449, allocations: 0.7213 MB / 1.081 GB, free: 308.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/1.45, allocations: 1.104 MB / 1.082 GB, free: 307.4 MB / 0.795 GB Notification: Performance of SimCode: time 7.61e-07/1.45, allocations: 0 / 1.082 GB, free: 307.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.091/1.541, allocations: 66.7 MB / 1.148 GB, free: 242.2 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.89, allocations: 13.47 kB / 1.148 GB, free: 242.2 MB / 0.795 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)