Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_8_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.001142/0.001142, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001197/0.001197, allocations: 191.6 kB / 16.13 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.173/1.173, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.506/1.506, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 68.88 kB / 0.6709 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1771, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.557/0.7341, allocations: 292 MB / 1.068 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02608/0.7602, allocations: 23.13 MB / 1.091 GB, free: 7.23 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003146/0.7634, allocations: 63.62 kB / 1.091 GB, free: 7.168 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004331/0.7678, allocations: 1.559 MB / 1.092 GB, free: 5.602 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0132/0.781, allocations: 5.716 MB / 1.098 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.006697/0.7877, allocations: 2.674 MB / 1.1 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01055/0.7983, allocations: 10.69 MB / 1.111 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003368/0.8017, allocations: 2.522 MB / 1.113 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005976/0.8077, allocations: 2.537 MB / 1.116 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004316/0.812, allocations: 2.816 MB / 1.118 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003981/0.8124, allocations: 204 kB / 1.119 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01172/0.8241, allocations: 6.912 MB / 1.125 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001549/0.8257, allocations: 1.332 MB / 1.127 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002463/0.8282, allocations: 1.754 MB / 1.128 GB, free: 340 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.8395, allocations: 7.175 MB / 1.135 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.8395, allocations: 3.938 kB / 1.135 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8396, allocations: 0 / 1.135 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.179e-05/0.8396, allocations: 0 / 1.135 GB, free: 9.133 MB / 0.8419 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.009024/0.8487, allocations: 4.088 MB / 1.139 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.8487, allocations: 8.031 kB / 1.139 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004836/0.8492, allocations: 400 kB / 1.14 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005203/0.8544, allocations: 0.8391 MB / 1.141 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/0.8573, allocations: 1.778 MB / 1.142 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.8574, allocations: 205.4 kB / 1.143 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003617/0.8578, allocations: 276 kB / 1.143 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00553/0.8633, allocations: 3.597 MB / 1.146 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.192e-05/0.8634, allocations: 7.938 kB / 1.146 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.8636, allocations: 112 kB / 1.146 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/0.8638, allocations: 149.3 kB / 1.147 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005348/0.8691, allocations: 3.272 MB / 1.15 GB, free: 10.14 MB / 0.8575 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.01468/0.8838, allocations: 14.13 MB / 1.164 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003444/0.8873, allocations: 2.538 MB / 1.166 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/0.8891, allocations: 1.356 MB / 1.167 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/0.8902, allocations: 1.378 MB / 1.169 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001868/0.8921, allocations: 1.218 MB / 1.17 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=213): time 3.977e-06/0.8921, allocations: 3.938 kB / 1.17 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of matching and sorting (n=213): time 0.005395/0.8975, allocations: 3.16 MB / 1.173 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.8976, allocations: 73.41 kB / 1.173 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.8993, allocations: 1.44 MB / 1.175 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.8995, allocations: 69.7 kB / 1.175 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008468/0.9003, allocations: 1.103 MB / 1.176 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006314/0.901, allocations: 0.7316 MB / 1.176 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005149/0.9015, allocations: 367.4 kB / 1.177 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.033e-05/0.9016, allocations: 313 kB / 1.177 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.903, allocations: 0.9019 MB / 1.178 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.9047, allocations: 1.269 MB / 1.179 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003199/0.9079, allocations: 2.317 MB / 1.181 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.908, allocations: 4 kB / 1.181 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0041/0.9121, allocations: 2.593 MB / 1.184 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.9121, allocations: 33.7 kB / 1.184 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.9121, allocations: 8 kB / 1.184 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.9122, allocations: 16 kB / 1.184 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.914, allocations: 467.9 kB / 1.184 GB, free: 4.734 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-05/0.914, allocations: 19.94 kB / 1.184 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/0.9164, allocations: 369.6 kB / 1.185 GB, free: 4.352 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.9165, allocations: 80 kB / 1.185 GB, free: 4.273 MB / 0.8887 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.00109/0.9176, allocations: 0.6839 MB / 1.186 GB, free: 3.582 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/0.9179, allocations: 217.5 kB / 1.186 GB, free: 3.367 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/0.9219, allocations: 2.511 MB / 1.188 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.922, allocations: 23.94 kB / 1.188 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.922, allocations: 0 / 1.188 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003135/0.9251, allocations: 2.323 MB / 1.191 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008279/0.9334, allocations: 5.587 MB / 1.196 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.9334, allocations: 4 kB / 1.196 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002072/0.9355, allocations: 487.7 kB / 1.196 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.9355, allocations: 8 kB / 1.196 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/0.9357, allocations: 59.91 kB / 1.197 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.9357, allocations: 11.98 kB / 1.197 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.9357, allocations: 4 kB / 1.197 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005464/0.9412, allocations: 3.983 MB / 1.2 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009945/0.9422, allocations: 0.541 MB / 1.201 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/0.9425, allocations: 40 kB / 1.201 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/0.9441, allocations: 242.3 kB / 1.201 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/0.9444, allocations: 157.7 kB / 1.201 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.9446, allocations: 67.98 kB / 1.201 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001162/0.9457, allocations: 0.9899 MB / 1.202 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9458, allocations: 0 / 1.202 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001811/0.9476, allocations: 0.9273 MB / 1.203 GB, free: 1.164 MB / 0.9044 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 (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.006137/0.9537, allocations: 4.813 MB / 1.208 GB, free: 12.3 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003436/0.9572, allocations: 2.333 MB / 1.21 GB, free: 9.957 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9572, allocations: 0 / 1.21 GB, free: 9.957 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.9589, allocations: 1.234 MB / 1.211 GB, free: 8.727 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004483/0.9634, allocations: 1.219 MB / 1.213 GB, free: 7.512 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02864/0.9921, allocations: 21.19 MB / 1.233 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/0.9936, allocations: 1.967 MB / 1.235 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002557/0.9962, allocations: 0.721 MB / 1.236 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/0.9975, allocations: 1.081 MB / 1.237 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/0.9975, allocations: 0 / 1.237 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3503/1.348, allocations: 63.18 MB / 1.299 GB, free: 386.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/1.348, allocations: 247.1 kB / 1.299 GB, free: 386.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.103/4.451, allocations: 1.422 kB / 1.299 GB, free: 386.6 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)