Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_Buildings_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.001484/0.001484, allocations: 99.47 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.00178/0.00178, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.712/2.712, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.743/4.743, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004919, allocations: 16 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571/1.572, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.4933/2.065, allocations: 238.7 MB / 1.214 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.05524/2.12, allocations: 21.25 MB / 1.235 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008068/2.129, allocations: 63.62 kB / 1.235 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01076/2.139, allocations: 1.536 MB / 1.236 GB, free: 128 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.03156/2.171, allocations: 4.585 MB / 1.241 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0149/2.186, allocations: 2.128 MB / 1.243 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01618/2.202, allocations: 4.157 MB / 1.247 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00928/2.212, allocations: 2.284 MB / 1.249 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01281/2.225, allocations: 2.232 MB / 1.251 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.491/3.715, allocations: 1.734 MB / 1.253 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002539/3.718, allocations: 166.7 kB / 1.253 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01855/3.736, allocations: 2.392 MB / 1.255 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00587/3.742, allocations: 1.172 MB / 1.257 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005478/3.748, allocations: 0.6767 MB / 1.257 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02087/3.769, allocations: 4.182 MB / 1.261 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/3.769, allocations: 1.969 kB / 1.261 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of FrontEnd: time 6.162e-06/3.769, allocations: 0 / 1.261 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004176/3.769, allocations: 0.625 kB / 1.261 GB, free: 12.36 MB / 0.9981 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.02786/3.797, allocations: 3.39 MB / 1.265 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.558e-05/3.797, allocations: 9.094 kB / 1.265 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003072/3.801, allocations: 393.2 kB / 1.265 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01353/3.814, allocations: 0.8619 MB / 1.266 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/3.824, allocations: 1.762 MB / 1.268 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004951/3.825, allocations: 209.3 kB / 1.268 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002207/3.827, allocations: 281.4 kB / 1.268 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/3.845, allocations: 3.565 MB / 1.272 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001669/3.845, allocations: 5.938 kB / 1.272 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/3.846, allocations: 119.9 kB / 1.272 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003029/3.846, allocations: 142.8 kB / 1.272 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/3.861, allocations: 3.296 MB / 1.275 GB, free: 9.719 MB / 0.9981 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.04277/3.904, allocations: 14.18 MB / 1.289 GB, free: 17.4 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007915/3.912, allocations: 2.495 MB / 1.291 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002274/3.914, allocations: 1.298 MB / 1.293 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0045/3.919, allocations: 1.228 MB / 1.294 GB, free: 15.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=216): time 9.568e-06/3.919, allocations: 1.406 kB / 1.294 GB, free: 15.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=216): time 0.01174/3.93, allocations: 3.21 MB / 1.297 GB, free: 15.28 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/3.931, allocations: 76.08 kB / 1.297 GB, free: 15.22 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004615/3.935, allocations: 1.443 MB / 1.298 GB, free: 15.05 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0009157/3.936, allocations: 68.48 kB / 1.298 GB, free: 15.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001845/3.938, allocations: 1.107 MB / 1.3 GB, free: 14.56 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002033/3.94, allocations: 0.7476 MB / 1.3 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/3.94, allocations: 39.69 kB / 1.3 GB, free: 14.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0004052/3.941, allocations: 384.5 kB / 1.301 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00314/3.944, allocations: 0.919 MB / 1.302 GB, free: 13.76 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003383/3.947, allocations: 1.274 MB / 1.303 GB, free: 13.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003642/3.951, allocations: 1.136 MB / 1.304 GB, free: 13.36 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.919e-05/3.951, allocations: 3.188 kB / 1.304 GB, free: 13.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00891/3.96, allocations: 2.621 MB / 1.307 GB, free: 13.13 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/3.96, allocations: 40.41 kB / 1.307 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/3.96, allocations: 8.156 kB / 1.307 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.731e-05/3.96, allocations: 16.59 kB / 1.307 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004084/3.964, allocations: 486.5 kB / 1.307 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.41e-05/3.965, allocations: 21.94 kB / 1.307 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006685/3.971, allocations: 408.6 kB / 1.307 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007669/3.972, allocations: 82.62 kB / 1.308 GB, free: 12.96 MB / 1.014 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.003469/3.976, allocations: 0.6807 MB / 1.308 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/3.977, allocations: 222 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008249/3.985, allocations: 2.554 MB / 1.311 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.628e-05/3.985, allocations: 19.16 kB / 1.311 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/3.985, allocations: 2.844 kB / 1.311 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006699/3.992, allocations: 2.357 MB / 1.313 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02173/4.014, allocations: 5.651 MB / 1.319 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/4.014, allocations: 2.969 kB / 1.319 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004532/4.018, allocations: 495.1 kB / 1.319 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.29e-05/4.018, allocations: 8.625 kB / 1.319 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003266/4.019, allocations: 55.52 kB / 1.319 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.857e-05/4.019, allocations: 20.44 kB / 1.319 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/4.019, allocations: 7.266 kB / 1.319 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/4.03, allocations: 3.983 MB / 1.323 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003483/4.034, allocations: 0.5542 MB / 1.324 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001183/4.035, allocations: 43.23 kB / 1.324 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005248/4.04, allocations: 244 kB / 1.324 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005771/4.041, allocations: 156.3 kB / 1.324 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002839/4.041, allocations: 76 kB / 1.324 GB, free: 10.66 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002867/4.044, allocations: 0.9725 MB / 1.325 GB, free: 10.55 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.01e-07/4.044, allocations: 0 / 1.325 GB, free: 10.55 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006278/4.05, allocations: 0.9386 MB / 1.326 GB, free: 10.42 MB / 1.014 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.01367/4.064, allocations: 5.493 MB / 1.331 GB, free: 8.586 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007898/4.072, allocations: 2.353 MB / 1.334 GB, free: 8.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/4.072, allocations: 1.812 kB / 1.334 GB, free: 8.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004043/4.076, allocations: 1.236 MB / 1.335 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01235/4.088, allocations: 1.212 MB / 1.336 GB, free: 8.359 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06319/4.152, allocations: 21.13 MB / 1.357 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003545/4.155, allocations: 2.023 MB / 1.359 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.006835/4.162, allocations: 0.7349 MB / 1.359 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003443/4.166, allocations: 1.092 MB / 1.361 GB, free: 12.14 MB / 1.029 GB Notification: Performance of SimCode: time 1.643e-06/4.166, allocations: 1.859 kB / 1.361 GB, free: 12.14 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2251/4.391, allocations: 65.72 MB / 1.425 GB, free: 60 kB / 1.076 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004629/4.391, allocations: 233.1 kB / 1.425 GB, free: 15.82 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.854/11.25, allocations: 0 / 1.425 GB, free: 15.82 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat does not exist to compare? outputFormat=mat