Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_10_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.0009305/0.0009305, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005441/0.005441, allocations: 169.1 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.399/2.399, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003369, allocations: 12 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5361/0.5365, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.7392/1.276, allocations: 288.1 MB / 1.304 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02191/1.298, allocations: 23 MB / 1.327 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/1.301, allocations: 63.31 kB / 1.327 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003557/1.304, allocations: 1.548 MB / 1.329 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01225/1.317, allocations: 5.777 MB / 1.334 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00619/1.323, allocations: 2.632 MB / 1.337 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009181/1.332, allocations: 10.72 MB / 1.347 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003152/1.335, allocations: 2.432 MB / 1.35 GB, free: 344 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005733/1.341, allocations: 2.441 MB / 1.352 GB, free: 320 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004295/1.345, allocations: 2.703 MB / 1.355 GB, free: 304 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004248/1.346, allocations: 164.6 kB / 1.355 GB, free: 304 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01162/1.357, allocations: 6.893 MB / 1.361 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001703/1.359, allocations: 1.273 MB / 1.363 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002476/1.362, allocations: 1.711 MB / 1.364 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01039/1.372, allocations: 7.079 MB / 1.371 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.372, allocations: 4 kB / 1.371 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.335e-06/1.372, allocations: 2.688 kB / 1.371 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.661e-05/1.372, allocations: 2.906 kB / 1.371 GB, free: 9.008 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.008058/1.38, allocations: 3.472 MB / 1.375 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/1.38, allocations: 7.094 kB / 1.375 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004795/1.381, allocations: 404.4 kB / 1.375 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004931/1.386, allocations: 0.8344 MB / 1.376 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/1.388, allocations: 1.791 MB / 1.378 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/1.389, allocations: 207.4 kB / 1.378 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003571/1.389, allocations: 285.6 kB / 1.378 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005113/1.394, allocations: 3.606 MB / 1.382 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/1.394, allocations: 5.344 kB / 1.382 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/1.394, allocations: 117.3 kB / 1.382 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/1.394, allocations: 152.2 kB / 1.382 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004897/1.399, allocations: 3.294 MB / 1.385 GB, free: 0.6367 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.01454/1.414, allocations: 14.16 MB / 1.399 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003553/1.417, allocations: 2.505 MB / 1.401 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/1.419, allocations: 1.364 MB / 1.403 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/1.421, allocations: 1.38 MB / 1.404 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001844/1.422, allocations: 1.226 MB / 1.405 GB, free: 10.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=213): time 3.887e-06/1.422, allocations: 0 / 1.405 GB, free: 10.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=213): time 0.005384/1.428, allocations: 3.186 MB / 1.408 GB, free: 7.543 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/1.428, allocations: 77.41 kB / 1.408 GB, free: 7.457 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/1.43, allocations: 1.452 MB / 1.41 GB, free: 6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001528/1.43, allocations: 65.7 kB / 1.41 GB, free: 5.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008322/1.431, allocations: 1.121 MB / 1.411 GB, free: 4.797 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006158/1.431, allocations: 0.7275 MB / 1.412 GB, free: 4.078 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/1.431, allocations: 173.6 kB / 1.412 GB, free: 3.902 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/1.432, allocations: 305.1 kB / 1.412 GB, free: 3.602 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/1.433, allocations: 0.9175 MB / 1.413 GB, free: 2.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/1.435, allocations: 1.268 MB / 1.414 GB, free: 1.293 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/1.438, allocations: 2.327 MB / 1.417 GB, free: 14.89 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/1.438, allocations: 4 kB / 1.417 GB, free: 14.88 MB / 1.045 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004048/1.442, allocations: 2.604 MB / 1.419 GB, free: 12.3 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/1.442, allocations: 46.41 kB / 1.419 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.442, allocations: 8 kB / 1.419 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/1.442, allocations: 20 kB / 1.419 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/1.444, allocations: 473.2 kB / 1.42 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.641e-05/1.444, allocations: 27.17 kB / 1.42 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/1.447, allocations: 401.7 kB / 1.42 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/1.447, allocations: 75.98 kB / 1.42 GB, free: 11.3 MB / 1.045 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.001169/1.448, allocations: 0.6859 MB / 1.421 GB, free: 10.63 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/1.448, allocations: 220.2 kB / 1.421 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004174/1.452, allocations: 2.527 MB / 1.424 GB, free: 7.875 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/1.452, allocations: 20.06 kB / 1.424 GB, free: 7.855 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.452, allocations: 4 kB / 1.424 GB, free: 7.852 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003242/1.456, allocations: 2.342 MB / 1.426 GB, free: 5.445 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009155/1.465, allocations: 5.627 MB / 1.431 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/1.465, allocations: 7.938 kB / 1.431 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/1.467, allocations: 484.5 kB / 1.432 GB, free: 15.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.772e-05/1.467, allocations: 12 kB / 1.432 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/1.467, allocations: 55.92 kB / 1.432 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.604e-05/1.467, allocations: 14.61 kB / 1.432 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.467, allocations: 4 kB / 1.432 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005695/1.473, allocations: 3.813 MB / 1.436 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.474, allocations: 0.5332 MB / 1.436 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004215/1.475, allocations: 51.92 kB / 1.436 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002148/1.477, allocations: 247.5 kB / 1.436 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/1.477, allocations: 140.4 kB / 1.437 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/1.477, allocations: 71.97 kB / 1.437 GB, free: 10.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001466/1.479, allocations: 0.9906 MB / 1.438 GB, free: 9.34 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.31e-07/1.479, allocations: 0 / 1.438 GB, free: 9.34 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00229/1.481, allocations: 0.935 MB / 1.438 GB, free: 8.402 MB / 1.061 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.00655/1.488, allocations: 4.647 MB / 1.443 GB, free: 3.738 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003704/1.491, allocations: 2.344 MB / 1.445 GB, free: 1.422 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.491, allocations: 4 kB / 1.445 GB, free: 1.418 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001788/1.493, allocations: 1.229 MB / 1.447 GB, free: 248 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006423/1.5, allocations: 1.241 MB / 1.448 GB, free: 15.02 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03243/1.532, allocations: 21.65 MB / 1.469 GB, free: 8.035 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00193/1.534, allocations: 1.971 MB / 1.471 GB, free: 6.031 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002776/1.537, allocations: 0.729 MB / 1.472 GB, free: 5.297 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/1.538, allocations: 1.097 MB / 1.473 GB, free: 4.199 MB / 1.092 GB Notification: Performance of SimCode: time 8.62e-07/1.538, allocations: 3.938 kB / 1.473 GB, free: 4.195 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09194/1.63, allocations: 62.48 MB / 1.534 GB, free: 6.496 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/1.631, allocations: 239.9 kB / 1.534 GB, free: 6.246 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.408/5.038, allocations: 11.41 kB / 1.534 GB, free: 6.238 MB / 1.154 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)