Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.758/1.758, allocations: 288.4 MB / 303.3 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 178.1 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.4 MB / 0.6307 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007602/0.0007599, allocations: 90.36 kB / 0.744 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004643, allocations: 11.62 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2445, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.8255/1.07, allocations: 268.7 MB / 1.242 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.03101/1.101, allocations: 21.39 MB / 1.263 GB, free: 8.543 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004508/1.106, allocations: 59.69 kB / 1.263 GB, free: 8.484 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.005605/1.111, allocations: 1.176 MB / 1.264 GB, free: 7.301 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01728/1.129, allocations: 4.411 MB / 1.268 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.009646/1.138, allocations: 2.081 MB / 1.271 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01215/1.151, allocations: 8.929 MB / 1.279 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005137/1.156, allocations: 2.248 MB / 1.281 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006058/1.162, allocations: 2.355 MB / 1.284 GB, free: 3.207 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005493/1.167, allocations: 2.612 MB / 1.286 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001374/1.169, allocations: 168 kB / 1.286 GB, free: 432 kB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01282/1.182, allocations: 3.141 MB / 1.29 GB, free: 13.27 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.004674/1.186, allocations: 1.278 MB / 1.291 GB, free: 11.99 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003538/1.19, allocations: 0.672 MB / 1.291 GB, free: 11.31 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0114/1.201, allocations: 4.661 MB / 1.296 GB, free: 6.641 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.201, allocations: 0 / 1.296 GB, free: 6.641 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.196e-06/1.201, allocations: 0 / 1.296 GB, free: 6.641 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002585/1.202, allocations: 0 / 1.296 GB, free: 6.641 MB / 0.823 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.01257/1.214, allocations: 3.523 MB / 1.299 GB, free: 3.047 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/1.214, allocations: 12.03 kB / 1.299 GB, free: 3.035 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001201/1.216, allocations: 392 kB / 1.3 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006172/1.222, allocations: 0.843 MB / 1.301 GB, free: 1.797 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005529/1.227, allocations: 1.831 MB / 1.302 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/1.228, allocations: 213.4 kB / 1.303 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009422/1.229, allocations: 283.9 kB / 1.303 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008981/1.238, allocations: 3.585 MB / 1.306 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/1.238, allocations: 11.94 kB / 1.306 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005211/1.238, allocations: 112 kB / 1.307 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001873/1.238, allocations: 145.3 kB / 1.307 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007863/1.246, allocations: 3.284 MB / 1.31 GB, free: 8.148 MB / 0.8386 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.02264/1.269, allocations: 14.15 MB / 1.324 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004297/1.273, allocations: 2.578 MB / 1.326 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002148/1.276, allocations: 1.356 MB / 1.328 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001307/1.277, allocations: 1.386 MB / 1.329 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002099/1.279, allocations: 1.233 MB / 1.33 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=216): time 5.741e-06/1.279, allocations: 0 / 1.33 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of matching and sorting (n=216): time 0.006064/1.285, allocations: 3.187 MB / 1.333 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/1.285, allocations: 77.39 kB / 1.333 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/1.287, allocations: 1.432 MB / 1.335 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002892/1.288, allocations: 69.7 kB / 1.335 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/1.289, allocations: 1.107 MB / 1.336 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008939/1.29, allocations: 0.7431 MB / 1.337 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/1.29, allocations: 40 kB / 1.337 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002039/1.29, allocations: 390 kB / 1.337 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/1.292, allocations: 0.9176 MB / 1.338 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/1.294, allocations: 1.295 MB / 1.339 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/1.295, allocations: 1.132 MB / 1.34 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/1.295, allocations: 0 / 1.34 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004694/1.3, allocations: 2.605 MB / 1.343 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/1.3, allocations: 37.78 kB / 1.343 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/1.3, allocations: 15.98 kB / 1.343 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.161e-05/1.3, allocations: 16 kB / 1.343 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/1.302, allocations: 479.3 kB / 1.343 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.171e-05/1.302, allocations: 19.98 kB / 1.343 GB, free: 4.066 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/1.305, allocations: 358.9 kB / 1.344 GB, free: 3.715 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/1.305, allocations: 79.98 kB / 1.344 GB, free: 3.637 MB / 0.8698 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.001549/1.307, allocations: 0.6846 MB / 1.344 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000654/1.308, allocations: 213.5 kB / 1.345 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004682/1.312, allocations: 2.553 MB / 1.347 GB, free: 164 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/1.312, allocations: 27.98 kB / 1.347 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/1.312, allocations: 0 / 1.347 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003656/1.316, allocations: 2.346 MB / 1.349 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/1.326, allocations: 5.622 MB / 1.355 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/1.327, allocations: 0 / 1.355 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002382/1.329, allocations: 0.4919 MB / 1.355 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.086e-05/1.329, allocations: 8 kB / 1.355 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/1.329, allocations: 55.97 kB / 1.355 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/1.329, allocations: 15.94 kB / 1.355 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.329, allocations: 8 kB / 1.355 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006833/1.336, allocations: 4.022 MB / 1.359 GB, free: 3.332 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/1.338, allocations: 0.5449 MB / 1.36 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004197/1.338, allocations: 43.98 kB / 1.36 GB, free: 2.723 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002192/1.34, allocations: 249.2 kB / 1.36 GB, free: 2.48 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/1.341, allocations: 157.7 kB / 1.36 GB, free: 2.324 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/1.341, allocations: 71.97 kB / 1.36 GB, free: 2.254 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001523/1.342, allocations: 0.9627 MB / 1.361 GB, free: 1.297 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.61e-07/1.342, allocations: 0 / 1.361 GB, free: 1.297 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00251/1.345, allocations: 0.9429 MB / 1.362 GB, free: 360 kB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,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 (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.007462/1.352, allocations: 4.879 MB / 1.367 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004395/1.357, allocations: 2.352 MB / 1.369 GB, free: 9.07 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.357, allocations: 0 / 1.369 GB, free: 9.07 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002132/1.359, allocations: 1.242 MB / 1.371 GB, free: 7.832 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007039/1.366, allocations: 1.248 MB / 1.372 GB, free: 6.594 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03138/1.397, allocations: 16.47 MB / 1.388 GB, free: 5.098 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001875/1.399, allocations: 1.968 MB / 1.39 GB, free: 3.094 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003313/1.403, allocations: 0.7251 MB / 1.39 GB, free: 2.363 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/1.404, allocations: 1.085 MB / 1.392 GB, free: 1.277 MB / 0.9167 GB Notification: Performance of SimCode: time 1.363e-06/1.404, allocations: 0 / 1.392 GB, free: 1.277 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5819/1.986, allocations: 65.95 MB / 1.456 GB, free: 337.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/1.987, allocations: 238.8 kB / 1.456 GB, free: 337.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.053/6.039, allocations: 0 / 1.456 GB, free: 337.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)