Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.386/1.386, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 179.9 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.4 MB / 0.578 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008693/0.0008693, allocations: 78.38 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003859, allocations: 15.59 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2356, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.8956/1.131, allocations: 288.9 MB / 1.183 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03358/1.165, allocations: 21.01 MB / 1.204 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005241/1.17, allocations: 56.56 kB / 1.204 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005944/1.176, allocations: 1.585 MB / 1.205 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01946/1.196, allocations: 5.757 MB / 1.211 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.009613/1.205, allocations: 2.749 MB / 1.213 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01501/1.22, allocations: 11.53 MB / 1.225 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005063/1.225, allocations: 2.621 MB / 1.227 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006765/1.232, allocations: 2.557 MB / 1.23 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006957/1.239, allocations: 2.976 MB / 1.233 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001134/1.24, allocations: 192 kB / 1.233 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01644/1.257, allocations: 6.674 MB / 1.239 GB, free: 7.535 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.003634/1.26, allocations: 1.488 MB / 1.241 GB, free: 6.043 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.006174/1.267, allocations: 1.926 MB / 1.243 GB, free: 4.102 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.01904/1.286, allocations: 7.559 MB / 1.25 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.286, allocations: 0 / 1.25 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.695e-06/1.286, allocations: 0 / 1.25 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002653/1.286, allocations: 0 / 1.25 GB, free: 12.52 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.0128/1.299, allocations: 3.878 MB / 1.254 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 8.77e-05/1.299, allocations: 8.031 kB / 1.254 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001575/1.301, allocations: 450.8 kB / 1.254 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006496/1.307, allocations: 0.8815 MB / 1.255 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006195/1.313, allocations: 2.053 MB / 1.257 GB, free: 5.113 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/1.314, allocations: 242.2 kB / 1.257 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001133/1.315, allocations: 311.9 kB / 1.258 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009999/1.325, allocations: 4.169 MB / 1.262 GB, free: 292 kB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/1.325, allocations: 7.938 kB / 1.262 GB, free: 284 kB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006427/1.326, allocations: 132 kB / 1.262 GB, free: 152 kB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000206/1.326, allocations: 166.1 kB / 1.262 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009428/1.335, allocations: 4.208 MB / 1.266 GB, free: 11.77 MB / 0.7917 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.024/1.359, allocations: 15.34 MB / 1.281 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006196/1.366, allocations: 3.51 MB / 1.285 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003383/1.369, allocations: 1.893 MB / 1.286 GB, free: 5.766 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001823/1.371, allocations: 1.604 MB / 1.288 GB, free: 3.828 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003257/1.374, allocations: 1.706 MB / 1.29 GB, free: 2.086 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=304): time 5.43e-06/1.374, allocations: 0 / 1.29 GB, free: 2.086 MB / 0.8073 GB Notification: Performance of matching and sorting (n=304): time 0.008879/1.383, allocations: 4.415 MB / 1.294 GB, free: 13.62 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/1.383, allocations: 85.8 kB / 1.294 GB, free: 13.53 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/1.386, allocations: 1.573 MB / 1.296 GB, free: 11.95 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002844/1.386, allocations: 81.7 kB / 1.296 GB, free: 11.87 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/1.388, allocations: 1.152 MB / 1.297 GB, free: 10.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001111/1.389, allocations: 1.036 MB / 1.298 GB, free: 9.648 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/1.389, allocations: 56 kB / 1.298 GB, free: 9.594 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002482/1.389, allocations: 419.6 kB / 1.298 GB, free: 9.18 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002326/1.391, allocations: 1.282 MB / 1.3 GB, free: 7.895 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/1.394, allocations: 1.693 MB / 1.301 GB, free: 6.07 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005229/1.399, allocations: 3.18 MB / 1.304 GB, free: 2.75 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/1.399, allocations: 4 kB / 1.304 GB, free: 2.746 MB / 0.823 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.006515/1.406, allocations: 3.512 MB / 1.308 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/1.406, allocations: 37.89 kB / 1.308 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/1.406, allocations: 8 kB / 1.308 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.894e-05/1.406, allocations: 20 kB / 1.308 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002598/1.409, allocations: 0.6124 MB / 1.308 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.187e-05/1.409, allocations: 27.94 kB / 1.308 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/1.412, allocations: 417.8 kB / 1.309 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002746/1.412, allocations: 107.9 kB / 1.309 GB, free: 13.96 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (354): * Single equations (assignments): 353 * 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.001741/1.414, allocations: 0.7936 MB / 1.31 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008258/1.415, allocations: 245.1 kB / 1.31 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006423/1.421, allocations: 3.501 MB / 1.313 GB, free: 9.363 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/1.421, allocations: 32 kB / 1.313 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/1.421, allocations: 0 / 1.313 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005134/1.427, allocations: 3.129 MB / 1.316 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/1.441, allocations: 7.177 MB / 1.323 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.441, allocations: 0 / 1.323 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002849/1.444, allocations: 0.6245 MB / 1.324 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.345e-05/1.444, allocations: 12 kB / 1.324 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002412/1.444, allocations: 71.97 kB / 1.324 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.763e-05/1.444, allocations: 16 kB / 1.324 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.444, allocations: 4 kB / 1.324 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00857/1.453, allocations: 5.447 MB / 1.329 GB, free: 8.461 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001839/1.455, allocations: 0.6732 MB / 1.33 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006163/1.455, allocations: 63.98 kB / 1.33 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00264/1.458, allocations: 271.2 kB / 1.33 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000415/1.458, allocations: 201.9 kB / 1.331 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002216/1.458, allocations: 95.95 kB / 1.331 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001861/1.46, allocations: 1.067 MB / 1.332 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.46, allocations: 0 / 1.332 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002933/1.463, allocations: 1.103 MB / 1.333 GB, free: 4.988 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],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 (304): * Single equations (assignments): 302 * 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.008758/1.472, allocations: 6.336 MB / 1.339 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00554/1.478, allocations: 3.231 MB / 1.342 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.478, allocations: 0 / 1.342 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00285/1.481, allocations: 1.713 MB / 1.344 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00782/1.488, allocations: 1.319 MB / 1.345 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04076/1.529, allocations: 26.4 MB / 1.371 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001715/1.531, allocations: 2.133 MB / 1.373 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003605/1.535, allocations: 0.9976 MB / 1.374 GB, free: 9.047 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/1.536, allocations: 1.245 MB / 1.375 GB, free: 7.805 MB / 0.9011 GB Notification: Performance of SimCode: time 6.81e-07/1.536, allocations: 0 / 1.375 GB, free: 7.805 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5238/2.06, allocations: 72.03 MB / 1.446 GB, free: 334.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/2.06, allocations: 247.9 kB / 1.446 GB, free: 334.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.494/6.555, allocations: 0 / 1.446 GB, free: 334.6 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)