Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_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.00662/0.006626, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001394/0.001394, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.01987/0.01987, allocations: 282.7 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 30.41/30.41, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 103.8 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2254, allocations: 86.97 MB / 0.7659 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.9387/1.164, allocations: 294.2 MB / 1.053 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03605/1.2, allocations: 23.05 MB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004859/1.205, allocations: 75.62 kB / 1.076 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006658/1.212, allocations: 1.802 MB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01952/1.231, allocations: 6.131 MB / 1.084 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.009572/1.241, allocations: 2.894 MB / 1.086 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01332/1.254, allocations: 7.3 MB / 1.094 GB, free: 2.957 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6793/1.934, allocations: 2.965 MB / 1.096 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009529/1.943, allocations: 2.872 MB / 1.099 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006971/1.95, allocations: 2.711 MB / 1.102 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001321/1.952, allocations: 342.8 kB / 1.102 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01805/1.97, allocations: 5.981 MB / 1.108 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004294/1.974, allocations: 1.467 MB / 1.11 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006985/1.981, allocations: 1.903 MB / 1.111 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.02002/2.001, allocations: 6.961 MB / 1.118 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/2.001, allocations: 3.531 kB / 1.118 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.643e-06/2.001, allocations: 0.8438 kB / 1.118 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001773/2.001, allocations: 1.156 kB / 1.118 GB, free: 8.18 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.01512/2.016, allocations: 4.194 MB / 1.122 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/2.017, allocations: 11.7 kB / 1.122 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000967/2.018, allocations: 392.6 kB / 1.123 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006668/2.024, allocations: 0.8596 MB / 1.124 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005405/2.03, allocations: 1.876 MB / 1.125 GB, free: 21.64 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002262/2.03, allocations: 203.5 kB / 1.126 GB, free: 21.64 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008254/2.031, allocations: 276.5 kB / 1.126 GB, free: 21.64 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007067/2.038, allocations: 3.6 MB / 1.129 GB, free: 21.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.216e-05/2.038, allocations: 10.11 kB / 1.129 GB, free: 21.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003107/2.038, allocations: 119.1 kB / 1.129 GB, free: 21.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/2.038, allocations: 149.5 kB / 1.13 GB, free: 21.26 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007293/2.046, allocations: 3.284 MB / 1.133 GB, free: 21.23 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.02318/2.069, allocations: 14.24 MB / 1.147 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/2.073, allocations: 2.487 MB / 1.149 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/2.074, allocations: 1.352 MB / 1.15 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/2.076, allocations: 1.375 MB / 1.152 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001907/2.078, allocations: 1.23 MB / 1.153 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=213): time 4.328e-06/2.078, allocations: 3.562 kB / 1.153 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=213): time 0.005631/2.084, allocations: 3.175 MB / 1.156 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/2.084, allocations: 79.61 kB / 1.156 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/2.086, allocations: 1.452 MB / 1.158 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000239/2.086, allocations: 65.61 kB / 1.158 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/2.087, allocations: 1.138 MB / 1.159 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007625/2.088, allocations: 0.77 MB / 1.16 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000591/2.088, allocations: 359.8 kB / 1.16 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001708/2.089, allocations: 310.5 kB / 1.16 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/2.09, allocations: 0.9125 MB / 1.161 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/2.092, allocations: 1.251 MB / 1.162 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/2.095, allocations: 2.325 MB / 1.165 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/2.095, allocations: 0.75 kB / 1.165 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004544/2.1, allocations: 2.612 MB / 1.167 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/2.1, allocations: 34.52 kB / 1.167 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/2.1, allocations: 7.562 kB / 1.167 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.621e-05/2.1, allocations: 16.31 kB / 1.167 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/2.102, allocations: 473.3 kB / 1.168 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.643e-05/2.102, allocations: 23.77 kB / 1.168 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/2.104, allocations: 189.9 kB / 1.168 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/2.105, allocations: 77.22 kB / 1.168 GB, free: 8.172 MB / 0.8575 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.001509/2.106, allocations: 0.6925 MB / 1.169 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005522/2.107, allocations: 227.2 kB / 1.169 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004294/2.111, allocations: 2.524 MB / 1.171 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/2.111, allocations: 19.94 kB / 1.171 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/2.111, allocations: 4.25 kB / 1.171 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003339/2.114, allocations: 2.331 MB / 1.174 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/2.125, allocations: 5.611 MB / 1.179 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/2.125, allocations: 1.031 kB / 1.179 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002163/2.127, allocations: 480.3 kB / 1.179 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.02e-05/2.127, allocations: 16.11 kB / 1.179 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/2.127, allocations: 57.58 kB / 1.18 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-05/2.127, allocations: 10.98 kB / 1.18 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/2.127, allocations: 7.312 kB / 1.18 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006475/2.134, allocations: 3.812 MB / 1.183 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002052/2.136, allocations: 0.5498 MB / 1.184 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009222/2.137, allocations: 47.2 kB / 1.184 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002368/2.139, allocations: 56.84 kB / 1.184 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/2.14, allocations: 155.8 kB / 1.184 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/2.14, allocations: 72.8 kB / 1.184 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001865/2.142, allocations: 0.9918 MB / 1.185 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.91e-07/2.142, allocations: 0 / 1.185 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003689/2.145, allocations: 0.9387 MB / 1.186 GB, free: 5.859 MB / 0.8575 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.008748/2.154, allocations: 4.642 MB / 1.191 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004117/2.158, allocations: 2.344 MB / 1.193 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/2.158, allocations: 0 / 1.193 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/2.16, allocations: 1.228 MB / 1.194 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007447/2.168, allocations: 1.282 MB / 1.195 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03891/2.207, allocations: 18.68 MB / 1.214 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00261/2.209, allocations: 1.969 MB / 1.215 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00315/2.213, allocations: 0.7249 MB / 1.216 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/2.214, allocations: 1.1 MB / 1.217 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of SimCode: time 9.32e-07/2.214, allocations: 0 / 1.217 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1341/2.348, allocations: 65.73 MB / 1.281 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/15.67, allocations: 6.594 kB / 1.281 GB, free: 6.164 MB / 0.9356 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)