Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 110 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.028/2.028, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004636/0.004636, allocations: 287.3 kB / 303 MB, free: 9.496 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 2.06/2.06, allocations: 180.9 MB / 0.5261 GB, free: 14.66 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 102 kB / 0.7248 GB, free: 40.04 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2353, allocations: 94.16 MB / 0.8168 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.878/1.113, allocations: 295.5 MB / 1.105 GB, free: 1.227 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03084/1.144, allocations: 23.12 MB / 1.128 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006998/1.151, allocations: 78.59 kB / 1.128 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.007031/1.158, allocations: 1.891 MB / 1.13 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02002/1.178, allocations: 6.32 MB / 1.136 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.009858/1.188, allocations: 2.926 MB / 1.139 GB, free: 9.449 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01142/1.199, allocations: 7.299 MB / 1.146 GB, free: 6.75 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004562/1.204, allocations: 2.47 MB / 1.148 GB, free: 5.109 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009804/1.214, allocations: 2.946 MB / 1.151 GB, free: 2.395 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006497/1.22, allocations: 2.887 MB / 1.154 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001169/1.221, allocations: 341.2 kB / 1.154 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01639/1.238, allocations: 6.343 MB / 1.161 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003338/1.241, allocations: 1.499 MB / 1.162 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.005958/1.247, allocations: 1.903 MB / 1.164 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0192/1.266, allocations: 6.959 MB / 1.171 GB, free: 15.85 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.266, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.005e-06/1.266, allocations: 4 kB / 1.171 GB, free: 15.85 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001526/1.267, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.795 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.01244/1.279, allocations: 4.195 MB / 1.175 GB, free: 11.6 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/1.279, allocations: 12.02 kB / 1.175 GB, free: 11.59 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006116/1.28, allocations: 392.5 kB / 1.175 GB, free: 11.2 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005704/1.285, allocations: 0.8619 MB / 1.176 GB, free: 10.35 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004753/1.29, allocations: 1.874 MB / 1.178 GB, free: 8.449 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/1.29, allocations: 208.7 kB / 1.178 GB, free: 8.246 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004811/1.291, allocations: 287.2 kB / 1.178 GB, free: 7.969 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00684/1.298, allocations: 3.594 MB / 1.182 GB, free: 4.258 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.108e-05/1.298, allocations: 8 kB / 1.182 GB, free: 4.25 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/1.298, allocations: 115 kB / 1.182 GB, free: 4.141 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002019/1.298, allocations: 149.2 kB / 1.182 GB, free: 3.992 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006273/1.304, allocations: 3.28 MB / 1.185 GB, free: 0.6953 MB / 0.795 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.326, allocations: 14.24 MB / 1.199 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/1.33, allocations: 2.373 MB / 1.202 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/1.332, allocations: 1.247 MB / 1.203 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001837/1.334, allocations: 1.374 MB / 1.204 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002168/1.336, allocations: 1.222 MB / 1.205 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=213): time 4.709e-06/1.336, allocations: 4 kB / 1.205 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=213): time 0.006352/1.343, allocations: 3.176 MB / 1.208 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.24e-05/1.343, allocations: 81.41 kB / 1.208 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/1.345, allocations: 1.449 MB / 1.21 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001935/1.345, allocations: 73.7 kB / 1.21 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/1.346, allocations: 1.145 MB / 1.211 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009076/1.347, allocations: 0.7724 MB / 1.212 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005985/1.348, allocations: 355.6 kB / 1.212 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.348, allocations: 309.1 kB / 1.212 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/1.35, allocations: 0.9097 MB / 1.213 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/1.352, allocations: 1.258 MB / 1.215 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003717/1.355, allocations: 2.321 MB / 1.217 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/1.355, allocations: 4 kB / 1.217 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004992/1.36, allocations: 2.61 MB / 1.219 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/1.36, allocations: 39.67 kB / 1.219 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.36, allocations: 8 kB / 1.219 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.88e-05/1.36, allocations: 16.66 kB / 1.219 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/1.362, allocations: 471.3 kB / 1.22 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.21e-05/1.362, allocations: 19.94 kB / 1.22 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/1.365, allocations: 198.5 kB / 1.22 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/1.365, allocations: 79.98 kB / 1.22 GB, free: 11.22 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.001448/1.366, allocations: 0.6846 MB / 1.221 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005379/1.367, allocations: 230.6 kB / 1.221 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/1.371, allocations: 2.511 MB / 1.224 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/1.371, allocations: 24 kB / 1.224 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.371, allocations: 7.922 kB / 1.224 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003617/1.375, allocations: 2.327 MB / 1.226 GB, free: 5.344 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/1.386, allocations: 5.607 MB / 1.231 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/1.386, allocations: 8.312 kB / 1.231 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002199/1.388, allocations: 471.4 kB / 1.232 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2e-05/1.388, allocations: 12 kB / 1.232 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/1.388, allocations: 51.98 kB / 1.232 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.761e-05/1.388, allocations: 16 kB / 1.232 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.388, allocations: 7.938 kB / 1.232 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006434/1.394, allocations: 3.807 MB / 1.236 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/1.396, allocations: 0.5461 MB / 1.236 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002929/1.396, allocations: 48 kB / 1.236 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/1.398, allocations: 65.58 kB / 1.236 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003125/1.398, allocations: 149.7 kB / 1.236 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/1.398, allocations: 67.98 kB / 1.236 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001506/1.4, allocations: 0.9866 MB / 1.237 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8.1e-08/1.4, allocations: 0 / 1.237 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002442/1.402, allocations: 0.9395 MB / 1.238 GB, free: 8.457 MB / 0.8575 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.008127/1.41, allocations: 4.66 MB / 1.243 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004121/1.414, allocations: 2.232 MB / 1.245 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.414, allocations: 0 / 1.245 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/1.416, allocations: 1.151 MB / 1.246 GB, free: 384 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005875/1.422, allocations: 1.292 MB / 1.247 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.031/1.453, allocations: 18.62 MB / 1.266 GB, free: 12 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/1.455, allocations: 1.971 MB / 1.268 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002693/1.458, allocations: 0.721 MB / 1.268 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/1.459, allocations: 1.101 MB / 1.269 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of SimCode: time 1.342e-06/1.459, allocations: 4 kB / 1.269 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2121/1.672, allocations: 66.07 MB / 1.334 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.44/30.12, allocations: 11.88 kB / 1.334 GB, free: 6.898 MB / 0.9512 GB " [Timeout remaining time 630] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 36.208309249952435] Failed to read output from testmodel.py, exit status != 0: 30.253841707948595 30.266424543 28.996941675 Calling exit ...