Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_9_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.0008554/0.0008554, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0009547/0.0009548, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.819/2.819, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005457/0.0005459, allocations: 12.22 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7763/0.7768, allocations: 142.3 MB / 0.9539 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3458/1.123, allocations: 268.8 MB / 1.216 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0359/1.159, allocations: 21.52 MB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004902/1.164, allocations: 63.62 kB / 1.237 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005361/1.169, allocations: 1.173 MB / 1.239 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01813/1.187, allocations: 4.46 MB / 1.243 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01046/1.198, allocations: 2.056 MB / 1.245 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7787/1.976, allocations: 8.938 MB / 1.254 GB, free: 16.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005258/1.982, allocations: 2.247 MB / 1.256 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007188/1.989, allocations: 2.36 MB / 1.258 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007565/1.997, allocations: 2.613 MB / 1.261 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001325/1.998, allocations: 170.9 kB / 1.261 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0123/2.01, allocations: 3.129 MB / 1.264 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004173/2.014, allocations: 1.284 MB / 1.265 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004669/2.019, allocations: 0.6763 MB / 1.266 GB, free: 31.78 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01174/2.031, allocations: 4.655 MB / 1.27 GB, free: 31.57 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/2.031, allocations: 3.812 kB / 1.27 GB, free: 31.57 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.547e-06/2.031, allocations: 0 / 1.27 GB, free: 31.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003095/2.031, allocations: 0 / 1.27 GB, free: 31.57 MB / 1.014 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.0151/2.046, allocations: 3.522 MB / 1.274 GB, free: 29.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/2.046, allocations: 12.3 kB / 1.274 GB, free: 29.95 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001983/2.048, allocations: 391.8 kB / 1.274 GB, free: 29.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007047/2.056, allocations: 0.8438 MB / 1.275 GB, free: 29.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006471/2.062, allocations: 1.861 MB / 1.277 GB, free: 29.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/2.062, allocations: 206.3 kB / 1.277 GB, free: 29.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/2.063, allocations: 275.6 kB / 1.277 GB, free: 29.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007248/2.071, allocations: 3.587 MB / 1.281 GB, free: 28.88 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.871e-05/2.071, allocations: 12.05 kB / 1.281 GB, free: 28.88 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/2.071, allocations: 112.5 kB / 1.281 GB, free: 28.88 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001584/2.071, allocations: 144.9 kB / 1.281 GB, free: 28.87 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005885/2.077, allocations: 3.295 MB / 1.284 GB, free: 28.83 MB / 1.014 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.02081/2.098, allocations: 14.18 MB / 1.298 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/2.102, allocations: 2.507 MB / 1.301 GB, free: 20.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002137/2.104, allocations: 1.361 MB / 1.302 GB, free: 20.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/2.106, allocations: 1.385 MB / 1.303 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002276/2.108, allocations: 1.242 MB / 1.304 GB, free: 18.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=216): time 5.59e-06/2.108, allocations: 0 / 1.304 GB, free: 18.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=216): time 0.006088/2.114, allocations: 3.205 MB / 1.308 GB, free: 18.27 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/2.114, allocations: 76.5 kB / 1.308 GB, free: 18.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/2.117, allocations: 1.439 MB / 1.309 GB, free: 18.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002477/2.117, allocations: 70.8 kB / 1.309 GB, free: 18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001042/2.118, allocations: 1.118 MB / 1.31 GB, free: 17.54 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00076/2.119, allocations: 0.7422 MB / 1.311 GB, free: 17.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/2.119, allocations: 45.03 kB / 1.311 GB, free: 17.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002016/2.119, allocations: 387.8 kB / 1.311 GB, free: 16.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/2.121, allocations: 0.918 MB / 1.312 GB, free: 16.74 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/2.123, allocations: 1.281 MB / 1.314 GB, free: 16.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/2.125, allocations: 1.137 MB / 1.315 GB, free: 16.33 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/2.125, allocations: 2.344 kB / 1.315 GB, free: 16.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005732/2.13, allocations: 2.618 MB / 1.317 GB, free: 16.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.889e-05/2.131, allocations: 35.94 kB / 1.317 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/2.131, allocations: 10.45 kB / 1.317 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.404e-05/2.131, allocations: 20.16 kB / 1.317 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/2.134, allocations: 488.1 kB / 1.318 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.281e-05/2.134, allocations: 19.91 kB / 1.318 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005071/2.139, allocations: 402.5 kB / 1.318 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004331/2.14, allocations: 79.92 kB / 1.318 GB, free: 15.95 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.002658/2.142, allocations: 0.6808 MB / 1.319 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/2.143, allocations: 222.3 kB / 1.319 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007731/2.151, allocations: 2.558 MB / 1.322 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.851e-05/2.151, allocations: 21.78 kB / 1.322 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.173e-05/2.151, allocations: 2.578 kB / 1.322 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005715/2.157, allocations: 2.356 MB / 1.324 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/2.175, allocations: 5.653 MB / 1.329 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/2.175, allocations: 3.688 kB / 1.329 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003682/2.179, allocations: 492.2 kB / 1.33 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.985e-05/2.179, allocations: 11.84 kB / 1.33 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003957/2.179, allocations: 59.16 kB / 1.33 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.469e-05/2.179, allocations: 9.75 kB / 1.33 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/2.179, allocations: 7.266 kB / 1.33 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/2.19, allocations: 3.832 MB / 1.334 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002856/2.193, allocations: 0.5476 MB / 1.334 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/2.194, allocations: 48.19 kB / 1.334 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004255/2.198, allocations: 243.8 kB / 1.335 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005146/2.199, allocations: 157.2 kB / 1.335 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003127/2.199, allocations: 70.5 kB / 1.335 GB, free: 13.84 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003109/2.202, allocations: 0.9808 MB / 1.336 GB, free: 13.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.31e-07/2.202, allocations: 2.906 kB / 1.336 GB, free: 13.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006309/2.208, allocations: 0.9379 MB / 1.337 GB, free: 13.61 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.01265/2.221, allocations: 4.684 MB / 1.341 GB, free: 12.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006254/2.227, allocations: 2.36 MB / 1.344 GB, free: 12.49 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/2.227, allocations: 0 / 1.344 GB, free: 12.49 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00317/2.231, allocations: 1.234 MB / 1.345 GB, free: 12.48 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01107/2.242, allocations: 1.252 MB / 1.346 GB, free: 12.38 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04912/2.291, allocations: 16.6 MB / 1.362 GB, free: 5.238 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003307/2.294, allocations: 1.971 MB / 1.364 GB, free: 4.051 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.005456/2.3, allocations: 0.7344 MB / 1.365 GB, free: 3.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002768/2.303, allocations: 1.098 MB / 1.366 GB, free: 3.637 MB / 1.014 GB Notification: Performance of SimCode: time 2.064e-06/2.303, allocations: 0 / 1.366 GB, free: 3.637 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1413/2.444, allocations: 65.8 MB / 1.43 GB, free: 3.758 MB / 1.076 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/2.444, allocations: 224.2 kB / 1.43 GB, free: 3.523 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.946/6.39, allocations: 0 / 1.43 GB, free: 3.523 MB / 1.076 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat does not exist to compare? outputFormat=mat