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.001883/0.001883, allocations: 105.4 kB / 15.7 MB, free: 24 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.002113/0.002113, allocations: 196.5 kB / 16.64 MB, free: 6.449 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.262/1.262, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.615/1.615, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.00137/0.00137, allocations: 73.25 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2077, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.6648/0.8725, allocations: 294.2 MB / 1.071 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02779/0.9004, allocations: 22.92 MB / 1.093 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003666/0.9041, allocations: 75.62 kB / 1.093 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004461/0.9086, allocations: 1.787 MB / 1.095 GB, free: 8 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0143/0.9229, allocations: 6.056 MB / 1.101 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.007184/0.9301, allocations: 2.927 MB / 1.104 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008596/0.9387, allocations: 7.288 MB / 1.111 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003688/0.9424, allocations: 2.985 MB / 1.114 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0058/0.9483, allocations: 2.871 MB / 1.117 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003974/0.9522, allocations: 2.703 MB / 1.119 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004425/0.9527, allocations: 344 kB / 1.12 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/0.9638, allocations: 5.993 MB / 1.126 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001549/0.9654, allocations: 1.465 MB / 1.127 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002386/0.9678, allocations: 1.902 MB / 1.129 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.9791, allocations: 6.935 MB / 1.136 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.9791, allocations: 0 / 1.136 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.807e-06/0.9792, allocations: 0 / 1.136 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.39e-05/0.9792, allocations: 3.938 kB / 1.136 GB, free: 14.43 MB / 0.8575 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.00872/0.9879, allocations: 4.092 MB / 1.14 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.988, allocations: 8.031 kB / 1.14 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004193/0.9884, allocations: 400 kB / 1.14 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004923/0.9933, allocations: 0.8353 MB / 1.141 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/0.9962, allocations: 1.841 MB / 1.143 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.9963, allocations: 209.4 kB / 1.143 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003499/0.9967, allocations: 276 kB / 1.143 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0051/1.002, allocations: 3.601 MB / 1.147 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-05/1.002, allocations: 0 / 1.147 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/1.002, allocations: 123.9 kB / 1.147 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/1.002, allocations: 145.2 kB / 1.147 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004967/1.007, allocations: 3.284 MB / 1.15 GB, free: 15.34 MB / 0.8731 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.01393/1.021, allocations: 14.18 MB / 1.164 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003339/1.025, allocations: 2.542 MB / 1.166 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/1.026, allocations: 1.352 MB / 1.168 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/1.027, allocations: 1.375 MB / 1.169 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001802/1.029, allocations: 1.222 MB / 1.17 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=213): time 3.808e-06/1.029, allocations: 0 / 1.17 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of matching and sorting (n=213): time 0.005187/1.034, allocations: 3.156 MB / 1.173 GB, free: 5.91 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/1.035, allocations: 77.41 kB / 1.173 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/1.036, allocations: 1.44 MB / 1.175 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/1.036, allocations: 65.7 kB / 1.175 GB, free: 4.305 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008054/1.037, allocations: 1.115 MB / 1.176 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005713/1.038, allocations: 0.7277 MB / 1.177 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005092/1.038, allocations: 359.5 kB / 1.177 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.722e-05/1.038, allocations: 305.1 kB / 1.177 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/1.04, allocations: 0.9136 MB / 1.178 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/1.041, allocations: 1.269 MB / 1.179 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003125/1.045, allocations: 2.317 MB / 1.182 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.045, allocations: 8 kB / 1.182 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003853/1.048, allocations: 2.582 MB / 1.184 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/1.048, allocations: 41.69 kB / 1.184 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.049, allocations: 8 kB / 1.184 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/1.049, allocations: 16.66 kB / 1.184 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/1.05, allocations: 463.3 kB / 1.185 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-05/1.05, allocations: 27.92 kB / 1.185 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/1.052, allocations: 196.5 kB / 1.185 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/1.052, allocations: 79.98 kB / 1.185 GB, free: 9.605 MB / 0.9044 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.001069/1.053, allocations: 0.6807 MB / 1.186 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/1.054, allocations: 213.5 kB / 1.186 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003921/1.057, allocations: 2.51 MB / 1.188 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/1.057, allocations: 28 kB / 1.188 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.057, allocations: 4 kB / 1.188 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003133/1.061, allocations: 2.327 MB / 1.191 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007698/1.068, allocations: 5.569 MB / 1.196 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.068, allocations: 4.312 kB / 1.196 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/1.07, allocations: 491.3 kB / 1.197 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/1.07, allocations: 12 kB / 1.197 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/1.071, allocations: 55.98 kB / 1.197 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-05/1.071, allocations: 15.94 kB / 1.197 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.071, allocations: 7.938 kB / 1.197 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005287/1.076, allocations: 3.981 MB / 1.201 GB, free: 9.469 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008985/1.077, allocations: 0.5332 MB / 1.201 GB, free: 8.914 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/1.077, allocations: 52 kB / 1.201 GB, free: 8.863 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.078, allocations: 62.39 kB / 1.201 GB, free: 8.805 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/1.079, allocations: 149.7 kB / 1.201 GB, free: 8.656 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/1.079, allocations: 71.97 kB / 1.201 GB, free: 8.586 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001202/1.08, allocations: 0.9783 MB / 1.202 GB, free: 7.613 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/1.08, allocations: 0 / 1.202 GB, free: 7.613 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001945/1.082, allocations: 0.9428 MB / 1.203 GB, free: 6.668 MB / 0.92 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.006174/1.088, allocations: 4.808 MB / 1.208 GB, free: 1.809 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003475/1.092, allocations: 2.344 MB / 1.21 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.092, allocations: 0 / 1.21 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/1.093, allocations: 1.227 MB / 1.211 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004685/1.098, allocations: 1.285 MB / 1.213 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02421/1.122, allocations: 18.42 MB / 1.231 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/1.124, allocations: 1.967 MB / 1.233 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00228/1.126, allocations: 0.7209 MB / 1.233 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/1.127, allocations: 1.081 MB / 1.234 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of SimCode: time 7.81e-07/1.127, allocations: 3.938 kB / 1.234 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4423/1.57, allocations: 65.28 MB / 1.298 GB, free: 395.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/12.71, allocations: 17.66 kB / 1.298 GB, free: 395.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)