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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 213.1 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9065/0.9065, allocations: 145 MB / 458.2 MB, free: 15.52 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 61.31 kB / 0.634 GB, free: 7.293 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.181, allocations: 87.89 MB / 0.7198 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.7196/0.9005, allocations: 300.1 MB / 1.013 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0359/0.9364, allocations: 23.31 MB / 1.036 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004281/0.9407, allocations: 103.2 kB / 1.036 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005641/0.9463, allocations: 1.9 MB / 1.038 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01696/0.9633, allocations: 6.44 MB / 1.044 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008464/0.9718, allocations: 2.991 MB / 1.047 GB, free: 14 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01157/0.9833, allocations: 7.442 MB / 1.054 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004319/0.9877, allocations: 2.161 MB / 1.056 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008084/0.9957, allocations: 3.001 MB / 1.059 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006386/1.002, allocations: 2.889 MB / 1.062 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001333/1.003, allocations: 340 kB / 1.062 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01507/1.019, allocations: 6.449 MB / 1.069 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003266/1.022, allocations: 1.5 MB / 1.07 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004771/1.027, allocations: 1.902 MB / 1.072 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.5148/1.541, allocations: 7.165 MB / 1.079 GB, free: 22.85 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.541, allocations: 0 / 1.079 GB, free: 22.85 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.114e-06/1.541, allocations: 0.5938 kB / 1.079 GB, free: 22.85 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002743/1.542, allocations: 0 / 1.079 GB, free: 22.85 MB / 0.8419 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.01476/1.556, allocations: 4.132 MB / 1.083 GB, free: 21.18 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.556, allocations: 9.188 kB / 1.083 GB, free: 21.18 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001426/1.557, allocations: 72.16 kB / 1.083 GB, free: 21.17 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000755/1.557, allocations: 392.7 kB / 1.083 GB, free: 21.12 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006015/1.563, allocations: 0.8604 MB / 1.084 GB, free: 20.94 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005231/1.569, allocations: 1.788 MB / 1.086 GB, free: 20.46 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/1.569, allocations: 207.5 kB / 1.086 GB, free: 20.45 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009054/1.57, allocations: 282.2 kB / 1.086 GB, free: 20.45 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007947/1.578, allocations: 3.593 MB / 1.09 GB, free: 20.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.548e-05/1.578, allocations: 7.5 kB / 1.09 GB, free: 20.09 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003445/1.578, allocations: 116.6 kB / 1.09 GB, free: 20.09 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001784/1.578, allocations: 148 kB / 1.09 GB, free: 20.08 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00694/1.585, allocations: 3.286 MB / 1.093 GB, free: 20.05 MB / 0.8419 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.02169/1.607, allocations: 14.1 MB / 1.107 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004435/1.611, allocations: 2.067 MB / 1.109 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/1.614, allocations: 1.247 MB / 1.11 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008344/1.615, allocations: 191.2 kB / 1.111 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002537/1.617, allocations: 1.224 MB / 1.112 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=213): time 4.919e-06/1.617, allocations: 2.312 kB / 1.112 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=213): time 0.006574/1.624, allocations: 3.177 MB / 1.115 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/1.624, allocations: 76.34 kB / 1.115 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003122/1.627, allocations: 1.453 MB / 1.116 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0005158/1.627, allocations: 66.83 kB / 1.116 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001269/1.629, allocations: 1.14 MB / 1.118 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001091/1.63, allocations: 0.7699 MB / 1.118 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009418/1.631, allocations: 359 kB / 1.119 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.055e-05/1.631, allocations: 311.5 kB / 1.119 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/1.633, allocations: 0.9142 MB / 1.12 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/1.634, allocations: 1.249 MB / 1.121 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00346/1.638, allocations: 2.324 MB / 1.123 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/1.638, allocations: 6 kB / 1.123 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004693/1.643, allocations: 2.607 MB / 1.126 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/1.643, allocations: 42.3 kB / 1.126 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/1.643, allocations: 5.812 kB / 1.126 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.488e-05/1.643, allocations: 16.03 kB / 1.126 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/1.645, allocations: 463.4 kB / 1.126 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-05/1.645, allocations: 27.12 kB / 1.126 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/1.647, allocations: 194.6 kB / 1.127 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/1.648, allocations: 80.72 kB / 1.127 GB, free: 8.875 MB / 0.8419 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.001877/1.65, allocations: 0.683 MB / 1.127 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009983/1.651, allocations: 227.5 kB / 1.128 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004945/1.655, allocations: 2.523 MB / 1.13 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/1.655, allocations: 21.73 kB / 1.13 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/1.655, allocations: 1.5 kB / 1.13 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003539/1.659, allocations: 2.337 MB / 1.132 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/1.67, allocations: 5.517 MB / 1.138 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/1.67, allocations: 4.375 kB / 1.138 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/1.672, allocations: 472.7 kB / 1.138 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.579e-05/1.672, allocations: 12.41 kB / 1.138 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002154/1.672, allocations: 49.88 kB / 1.138 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.346e-05/1.672, allocations: 17.94 kB / 1.138 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.673, allocations: 4.625 kB / 1.138 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006363/1.679, allocations: 3.812 MB / 1.142 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/1.68, allocations: 485.8 kB / 1.142 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006847/1.681, allocations: 46.22 kB / 1.142 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/1.683, allocations: 62.59 kB / 1.143 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/1.683, allocations: 159.5 kB / 1.143 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/1.684, allocations: 72.89 kB / 1.143 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001624/1.685, allocations: 0.9901 MB / 1.144 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of sort global known variables: time 6e-08/1.685, allocations: 0 / 1.144 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003248/1.689, allocations: 0.9419 MB / 1.145 GB, free: 6.801 MB / 0.8419 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.007364/1.696, allocations: 4.632 MB / 1.149 GB, free: 21.84 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003917/1.7, allocations: 2.231 MB / 1.151 GB, free: 21.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/1.7, allocations: 3 kB / 1.151 GB, free: 21.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001851/1.702, allocations: 1.145 MB / 1.152 GB, free: 21.72 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006715/1.708, allocations: 1.286 MB / 1.154 GB, free: 21.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03173/1.74, allocations: 18.65 MB / 1.172 GB, free: 16.88 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/1.742, allocations: 1.969 MB / 1.174 GB, free: 16.09 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002616/1.744, allocations: 0.7246 MB / 1.175 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/1.746, allocations: 1.095 MB / 1.176 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of SimCode: time 1.262e-06/1.746, allocations: 3.875 kB / 1.176 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/1.87, allocations: 67.83 MB / 1.242 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/18.46, allocations: 5.156 kB / 1.242 GB, free: 4.422 MB / 0.9044 GB " [Timeout remaining time 641] (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 --stepSize=34.56 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.45785836398136] Failed to read output from testmodel.py, exit status != 0: 18.67412411700934 18.696846002 17.150481652 Calling exit ...