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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.005191/0.005191, allocations: 102.4 kB / 15.73 MB, free: 6.031 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.001187/0.001187, allocations: 196.9 kB / 16.67 MB, free: 5.969 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.95/0.95, allocations: 143 MB / 433.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 67.91 kB / 0.5951 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5256/0.5271, allocations: 82.02 MB / 0.6752 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.7589/1.286, allocations: 294.6 MB / 0.9629 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03069/1.317, allocations: 23.13 MB / 0.9855 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005/1.322, allocations: 76.88 kB / 0.9856 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005649/1.327, allocations: 1.794 MB / 0.9873 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01779/1.345, allocations: 6.128 MB / 0.9933 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008487/1.354, allocations: 2.895 MB / 0.9961 GB, free: 8.73 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01025/1.364, allocations: 7.308 MB / 1.003 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005288/1.369, allocations: 2.981 MB / 1.006 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008228/1.378, allocations: 2.913 MB / 1.009 GB, free: 72 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005878/1.384, allocations: 2.708 MB / 1.012 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001823/1.385, allocations: 344 kB / 1.012 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/1.4, allocations: 5.982 MB / 1.018 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002566/1.403, allocations: 1.466 MB / 1.019 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00546/1.408, allocations: 1.911 MB / 1.021 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01799/1.426, allocations: 7.148 MB / 1.028 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/1.426, allocations: 0 / 1.028 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.933e-06/1.426, allocations: 0 / 1.028 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002368/1.427, allocations: 0 / 1.028 GB, free: 13.85 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.01246/1.439, allocations: 4.086 MB / 1.032 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.439, allocations: 12.03 kB / 1.032 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009991/1.44, allocations: 395.5 kB / 1.032 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006256/1.446, allocations: 0.8457 MB / 1.033 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004057/1.451, allocations: 1.857 MB / 1.035 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/1.451, allocations: 208.6 kB / 1.035 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007761/1.452, allocations: 287.8 kB / 1.036 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006908/1.458, allocations: 3.594 MB / 1.039 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.859e-05/1.459, allocations: 11.84 kB / 1.039 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003873/1.459, allocations: 116.3 kB / 1.039 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/1.459, allocations: 141.3 kB / 1.039 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00686/1.466, allocations: 3.288 MB / 1.043 GB, free: 14.84 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.01917/1.485, allocations: 14.21 MB / 1.056 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003994/1.489, allocations: 2.487 MB / 1.059 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002115/1.491, allocations: 1.349 MB / 1.06 GB, free: 11.63 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/1.493, allocations: 1.375 MB / 1.062 GB, free: 9.969 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002138/1.495, allocations: 1.222 MB / 1.063 GB, free: 8.734 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 3.997e-06/1.495, allocations: 4 kB / 1.063 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.005892/1.501, allocations: 3.169 MB / 1.066 GB, free: 5.559 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/1.501, allocations: 73.41 kB / 1.066 GB, free: 5.477 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/1.503, allocations: 1.456 MB / 1.067 GB, free: 4.016 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002561/1.503, allocations: 65.7 kB / 1.067 GB, free: 3.945 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/1.504, allocations: 1.114 MB / 1.068 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008521/1.505, allocations: 0.7362 MB / 1.069 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007073/1.506, allocations: 363.5 kB / 1.07 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.443e-05/1.506, allocations: 305.1 kB / 1.07 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/1.508, allocations: 0.9097 MB / 1.071 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/1.51, allocations: 1.258 MB / 1.072 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003498/1.513, allocations: 2.317 MB / 1.074 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/1.513, allocations: 8 kB / 1.074 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004662/1.518, allocations: 2.593 MB / 1.077 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/1.518, allocations: 37.69 kB / 1.077 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/1.518, allocations: 8 kB / 1.077 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.43e-05/1.518, allocations: 16.66 kB / 1.077 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/1.52, allocations: 471.3 kB / 1.077 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.041e-05/1.52, allocations: 19.94 kB / 1.077 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/1.522, allocations: 190 kB / 1.077 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/1.522, allocations: 75.98 kB / 1.078 GB, free: 9.277 MB / 0.7794 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.001298/1.524, allocations: 0.6885 MB / 1.078 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005641/1.524, allocations: 213.5 kB / 1.078 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/1.528, allocations: 2.526 MB / 1.081 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/1.528, allocations: 24 kB / 1.081 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.528, allocations: 0 / 1.081 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003339/1.532, allocations: 2.331 MB / 1.083 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009439/1.541, allocations: 5.613 MB / 1.089 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.541, allocations: 8.312 kB / 1.089 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002259/1.544, allocations: 471.4 kB / 1.089 GB, free: 13.27 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.797e-05/1.544, allocations: 12 kB / 1.089 GB, free: 13.25 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/1.544, allocations: 51.98 kB / 1.089 GB, free: 13.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.569e-05/1.544, allocations: 15.94 kB / 1.089 GB, free: 13.19 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.544, allocations: 4 kB / 1.089 GB, free: 13.18 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006021/1.55, allocations: 3.804 MB / 1.093 GB, free: 9.332 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.551, allocations: 0.5332 MB / 1.093 GB, free: 8.777 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004906/1.552, allocations: 52 kB / 1.093 GB, free: 8.727 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/1.553, allocations: 63.89 kB / 1.094 GB, free: 8.664 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/1.554, allocations: 145.7 kB / 1.094 GB, free: 8.523 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/1.554, allocations: 71.92 kB / 1.094 GB, free: 8.453 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001579/1.555, allocations: 0.9944 MB / 1.095 GB, free: 7.465 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/1.555, allocations: 0 / 1.095 GB, free: 7.465 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002326/1.558, allocations: 0.9312 MB / 1.096 GB, free: 6.531 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.007226/1.565, allocations: 4.639 MB / 1.1 GB, free: 1.855 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004039/1.569, allocations: 2.341 MB / 1.102 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.569, allocations: 0 / 1.102 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001958/1.571, allocations: 1.225 MB / 1.104 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006148/1.577, allocations: 1.299 MB / 1.105 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03478/1.612, allocations: 18.53 MB / 1.123 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002417/1.615, allocations: 1.964 MB / 1.125 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002643/1.617, allocations: 0.7326 MB / 1.126 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/1.619, allocations: 1.093 MB / 1.127 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of SimCode: time 9.61e-07/1.619, allocations: 0 / 1.127 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/1.736, allocations: 66.89 MB / 1.192 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/15.01, allocations: 10.25 kB / 1.192 GB, free: 4.004 MB / 0.8887 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/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)