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.00114/0.00114, allocations: 100.2 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.001321/0.001321, 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 1.508/1.508, allocations: 223.2 MB / 239.9 MB, free: 5.328 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.645/2.645, allocations: 390.3 MB / 0.6653 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003925, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9207/0.9211, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.276/1.197, allocations: 238.7 MB / 1.187 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03598/1.233, allocations: 21.25 MB / 1.207 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005208/1.238, allocations: 59.62 kB / 1.207 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006985/1.245, allocations: 1.54 MB / 1.209 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01675/1.262, allocations: 4.579 MB / 1.213 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00771/1.27, allocations: 2.127 MB / 1.216 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01034/1.28, allocations: 4.159 MB / 1.22 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004927/1.285, allocations: 2.284 MB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007034/1.292, allocations: 2.236 MB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004702/1.297, allocations: 1.736 MB / 1.226 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008279/1.298, allocations: 168 kB / 1.226 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009458/1.307, allocations: 2.391 MB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002399/1.31, allocations: 1.169 MB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001894/1.312, allocations: 0.6836 MB / 1.23 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008359/1.32, allocations: 4.189 MB / 1.234 GB, free: 204 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.32, allocations: 0 / 1.234 GB, free: 204 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.584e-06/1.32, allocations: 0 / 1.234 GB, free: 204 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001589/1.32, allocations: 0 / 1.234 GB, free: 204 kB / 0.9825 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.01088/1.331, allocations: 3.391 MB / 1.237 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/1.331, allocations: 8.031 kB / 1.237 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001068/1.332, allocations: 396 kB / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005977/1.338, allocations: 0.8587 MB / 1.239 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00534/1.344, allocations: 1.757 MB / 1.24 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/1.344, allocations: 209.4 kB / 1.241 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005708/1.345, allocations: 283.9 kB / 1.241 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007108/1.352, allocations: 3.569 MB / 1.244 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.203e-05/1.352, allocations: 7.938 kB / 1.244 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002823/1.352, allocations: 108 kB / 1.244 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001989/1.352, allocations: 157.3 kB / 1.245 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006578/1.359, allocations: 3.288 MB / 1.248 GB, free: 1.91 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.8013/2.16, allocations: 14.17 MB / 1.262 GB, free: 26.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004474/2.165, allocations: 2.496 MB / 1.264 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/2.166, allocations: 1.294 MB / 1.265 GB, free: 24.45 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002536/2.168, allocations: 1.232 MB / 1.267 GB, free: 24.37 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=216): time 5.421e-06/2.168, allocations: 4.484 kB / 1.267 GB, free: 24.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=216): time 0.0073/2.176, allocations: 3.201 MB / 1.27 GB, free: 24.17 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/2.176, allocations: 81.8 kB / 1.27 GB, free: 24.11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/2.178, allocations: 1.446 MB / 1.271 GB, free: 23.94 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000377/2.179, allocations: 71.02 kB / 1.271 GB, free: 23.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/2.18, allocations: 1.11 MB / 1.272 GB, free: 23.49 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009246/2.181, allocations: 0.7472 MB / 1.273 GB, free: 23.01 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/2.181, allocations: 45.58 kB / 1.273 GB, free: 23.01 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001448/2.181, allocations: 385.1 kB / 1.273 GB, free: 22.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/2.183, allocations: 0.9145 MB / 1.274 GB, free: 22.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/2.185, allocations: 1.277 MB / 1.276 GB, free: 22.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/2.187, allocations: 1.135 MB / 1.277 GB, free: 22.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/2.187, allocations: 2.281 kB / 1.277 GB, free: 22.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.0055/2.192, allocations: 2.611 MB / 1.279 GB, free: 22.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/2.193, allocations: 42.17 kB / 1.279 GB, free: 22.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/2.193, allocations: 7.156 kB / 1.279 GB, free: 22.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-05/2.193, allocations: 20.81 kB / 1.279 GB, free: 22.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/2.195, allocations: 479 kB / 1.28 GB, free: 22.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-05/2.195, allocations: 22.34 kB / 1.28 GB, free: 22.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/2.198, allocations: 416.8 kB / 1.28 GB, free: 21.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/2.198, allocations: 79.41 kB / 1.28 GB, free: 21.9 MB / 0.9981 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.001516/2.2, allocations: 0.6842 MB / 1.281 GB, free: 21.78 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005628/2.2, allocations: 215.2 kB / 1.281 GB, free: 21.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004036/2.205, allocations: 2.554 MB / 1.284 GB, free: 21.54 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/2.205, allocations: 18.84 kB / 1.284 GB, free: 21.54 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/2.205, allocations: 0 / 1.284 GB, free: 21.54 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003093/2.208, allocations: 2.37 MB / 1.286 GB, free: 21.14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/2.218, allocations: 5.644 MB / 1.291 GB, free: 20.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/2.218, allocations: 4.562 kB / 1.291 GB, free: 20.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/2.22, allocations: 490 kB / 1.292 GB, free: 20.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.947e-05/2.22, allocations: 10.84 kB / 1.292 GB, free: 20.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/2.22, allocations: 57.06 kB / 1.292 GB, free: 20.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/2.22, allocations: 12.06 kB / 1.292 GB, free: 20.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/2.22, allocations: 4.844 kB / 1.292 GB, free: 20.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005322/2.226, allocations: 3.98 MB / 1.296 GB, free: 19.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/2.227, allocations: 0.5564 MB / 1.296 GB, free: 19.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000336/2.228, allocations: 51.34 kB / 1.296 GB, free: 19.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/2.23, allocations: 237.9 kB / 1.297 GB, free: 19.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/2.23, allocations: 156 kB / 1.297 GB, free: 19.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/2.23, allocations: 69.44 kB / 1.297 GB, free: 19.61 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001218/2.231, allocations: 0.9797 MB / 1.298 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/2.231, allocations: 0 / 1.298 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00249/2.234, allocations: 0.9373 MB / 1.299 GB, free: 19.38 MB / 0.9981 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.006382/2.24, allocations: 5.498 MB / 1.304 GB, free: 17.55 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003655/2.244, allocations: 2.358 MB / 1.306 GB, free: 17.44 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/2.244, allocations: 6 kB / 1.306 GB, free: 17.44 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/2.246, allocations: 1.231 MB / 1.308 GB, free: 17.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006282/2.252, allocations: 1.221 MB / 1.309 GB, free: 17.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02814/2.28, allocations: 21.12 MB / 1.33 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/2.282, allocations: 2.021 MB / 1.331 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003672/2.286, allocations: 0.7354 MB / 1.332 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/2.287, allocations: 1.099 MB / 1.333 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of SimCode: time 1.272e-06/2.287, allocations: 0 / 1.333 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1132/2.401, allocations: 65.74 MB / 1.397 GB, free: 8.273 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/2.401, allocations: 226.2 kB / 1.398 GB, free: 8.035 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.469/5.87, allocations: 0 / 1.398 GB, free: 8.035 MB / 1.045 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