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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(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.001682/0.001682, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.777/1.777, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 8.218/8.218, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 68.94 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4625, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.644/2.107, allocations: 294.3 MB / 1.34 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04326/2.15, allocations: 23.05 MB / 1.363 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008811/2.159, allocations: 77.22 kB / 1.363 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008433/2.167, allocations: 1.801 MB / 1.365 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02335/2.191, allocations: 6.122 MB / 1.371 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01107/2.202, allocations: 2.879 MB / 1.373 GB, free: 416 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01532/2.217, allocations: 7.344 MB / 1.381 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006765/2.224, allocations: 2.982 MB / 1.383 GB, free: 14.65 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0111/2.235, allocations: 2.864 MB / 1.386 GB, free: 13.83 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008089/2.244, allocations: 2.709 MB / 1.389 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002269/2.246, allocations: 341.6 kB / 1.389 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.021/2.267, allocations: 5.982 MB / 1.395 GB, free: 10.2 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004436/2.271, allocations: 1.464 MB / 1.396 GB, free: 9.223 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.009769/2.281, allocations: 1.907 MB / 1.398 GB, free: 8.039 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0274/2.309, allocations: 6.878 MB / 1.405 GB, free: 4.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/2.309, allocations: 0 / 1.405 GB, free: 4.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.258e-06/2.309, allocations: 0 / 1.405 GB, free: 4.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003578/2.309, allocations: 0 / 1.405 GB, free: 4.07 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.02156/2.331, allocations: 4.097 MB / 1.409 GB, free: 1.297 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 8.044e-05/2.331, allocations: 8.656 kB / 1.409 GB, free: 1.297 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002309/2.333, allocations: 395.8 kB / 1.409 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008099/2.341, allocations: 0.8428 MB / 1.41 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007275/2.348, allocations: 1.786 MB / 1.412 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003874/2.349, allocations: 216.4 kB / 1.412 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001779/2.351, allocations: 275.5 kB / 1.412 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/2.364, allocations: 3.595 MB / 1.416 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001846/2.364, allocations: 15.92 kB / 1.416 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001069/2.365, allocations: 110.3 kB / 1.416 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002364/2.366, allocations: 145.3 kB / 1.416 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009654/2.375, allocations: 3.288 MB / 1.419 GB, free: 8.344 MB / 1.029 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.03042/2.406, allocations: 14.29 MB / 1.433 GB, free: 8.953 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006077/2.412, allocations: 2.493 MB / 1.436 GB, free: 6.391 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003016/2.415, allocations: 1.352 MB / 1.437 GB, free: 5.039 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/2.417, allocations: 1.387 MB / 1.439 GB, free: 3.363 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002872/2.419, allocations: 1.226 MB / 1.44 GB, free: 2.129 MB / 1.045 GB Notification: Performance of pre-optimization done (n=213): time 7.093e-06/2.42, allocations: 0 / 1.44 GB, free: 2.129 MB / 1.045 GB Notification: Performance of matching and sorting (n=213): time 0.008463/2.428, allocations: 3.168 MB / 1.443 GB, free: 14.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/2.428, allocations: 77.08 kB / 1.443 GB, free: 14.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003887/2.432, allocations: 1.456 MB / 1.444 GB, free: 13.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003407/2.432, allocations: 61.7 kB / 1.444 GB, free: 13.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001526/2.434, allocations: 1.119 MB / 1.445 GB, free: 12.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001176/2.435, allocations: 0.7291 MB / 1.446 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/2.436, allocations: 363.4 kB / 1.447 GB, free: 11.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001612/2.436, allocations: 305.1 kB / 1.447 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/2.439, allocations: 0.9175 MB / 1.448 GB, free: 9.898 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/2.441, allocations: 1.251 MB / 1.449 GB, free: 8.527 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004447/2.445, allocations: 2.321 MB / 1.451 GB, free: 6.098 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.061e-05/2.445, allocations: 11.94 kB / 1.451 GB, free: 6.086 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.006123/2.451, allocations: 2.602 MB / 1.454 GB, free: 3.469 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.854e-05/2.452, allocations: 33.7 kB / 1.454 GB, free: 3.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/2.452, allocations: 8 kB / 1.454 GB, free: 3.422 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.513e-05/2.452, allocations: 16 kB / 1.454 GB, free: 3.406 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/2.454, allocations: 467.3 kB / 1.454 GB, free: 2.949 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.844e-05/2.454, allocations: 19.98 kB / 1.454 GB, free: 2.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002879/2.457, allocations: 194 kB / 1.454 GB, free: 2.738 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/2.457, allocations: 76 kB / 1.455 GB, free: 2.664 MB / 1.061 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.001944/2.459, allocations: 0.6884 MB / 1.455 GB, free: 1.965 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009733/2.46, allocations: 213.5 kB / 1.455 GB, free: 1.754 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005498/2.465, allocations: 2.515 MB / 1.458 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/2.465, allocations: 20 kB / 1.458 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-05/2.465, allocations: 0 / 1.458 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003971/2.469, allocations: 2.343 MB / 1.46 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/2.482, allocations: 5.599 MB / 1.466 GB, free: 7.137 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/2.482, allocations: 7.938 kB / 1.466 GB, free: 7.129 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00225/2.485, allocations: 479.7 kB / 1.466 GB, free: 6.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.202e-05/2.485, allocations: 8 kB / 1.466 GB, free: 6.652 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/2.485, allocations: 51.98 kB / 1.466 GB, free: 6.602 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.66e-05/2.485, allocations: 15.98 kB / 1.466 GB, free: 6.586 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/2.485, allocations: 3.938 kB / 1.466 GB, free: 6.582 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006897/2.492, allocations: 3.792 MB / 1.47 GB, free: 2.742 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/2.494, allocations: 0.5448 MB / 1.47 GB, free: 2.176 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008668/2.495, allocations: 47.98 kB / 1.47 GB, free: 2.129 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/2.497, allocations: 69.69 kB / 1.471 GB, free: 2.062 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003849/2.497, allocations: 149.7 kB / 1.471 GB, free: 1.918 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000207/2.498, allocations: 75.91 kB / 1.471 GB, free: 1.844 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002331/2.5, allocations: 0.9866 MB / 1.472 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of sort global known variables: time 5.21e-07/2.5, allocations: 0 / 1.472 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004016/2.504, allocations: 0.9352 MB / 1.473 GB, free: 15.92 MB / 1.092 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.008577/2.512, allocations: 4.627 MB / 1.477 GB, free: 11.26 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.009587/2.522, allocations: 3.883 MB / 1.481 GB, free: 7.367 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/2.522, allocations: 4 kB / 1.481 GB, free: 7.363 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002397/2.525, allocations: 1.223 MB / 1.482 GB, free: 6.145 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008948/2.534, allocations: 1.286 MB / 1.483 GB, free: 4.883 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06711/2.601, allocations: 20.24 MB / 1.503 GB, free: 15.25 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002861/2.604, allocations: 1.971 MB / 1.505 GB, free: 13.24 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003814/2.607, allocations: 0.7365 MB / 1.506 GB, free: 12.5 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002242/2.61, allocations: 1.097 MB / 1.507 GB, free: 11.41 MB / 1.123 GB Notification: Performance of SimCode: time 1.873e-06/2.61, allocations: 0 / 1.507 GB, free: 11.41 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2769/2.887, allocations: 65.11 MB / 1.57 GB, free: 10.93 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.884/12.77, allocations: 12 kB / 1.57 GB, free: 10.92 MB / 1.186 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/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)