Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_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.007269/0.007269, allocations: 98.52 kB / 15.73 MB, free: 5.578 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.001834/0.001834, allocations: 191.3 kB / 16.67 MB, free: 5.516 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.553/2.553, allocations: 482.6 MB / 0.7551 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 75.83 kB / 1.083 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6596, allocations: 162.3 MB / 1.242 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.2868/0.9464, allocations: 294.4 MB / 1.529 GB, free: 9.727 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02901/0.9755, allocations: 23.05 MB / 1.552 GB, free: 2.617 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002732/0.9782, allocations: 79.62 kB / 1.552 GB, free: 2.539 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.004132/0.9824, allocations: 1.791 MB / 1.554 GB, free: 0.7383 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01359/0.996, allocations: 6.126 MB / 1.56 GB, free: 10.59 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.006803/1.003, allocations: 2.896 MB / 1.562 GB, free: 7.691 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.008679/1.012, allocations: 7.294 MB / 1.57 GB, free: 380 kB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003762/1.015, allocations: 2.984 MB / 1.573 GB, free: 13.33 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006216/1.022, allocations: 3.122 MB / 1.576 GB, free: 10.23 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004062/1.026, allocations: 2.676 MB / 1.578 GB, free: 7.551 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0005225/1.026, allocations: 344 kB / 1.579 GB, free: 7.215 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01096/1.037, allocations: 5.97 MB / 1.584 GB, free: 1.23 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.6221/1.659, allocations: 1.453 MB / 1.586 GB, free: 16.66 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.003468/1.663, allocations: 1.911 MB / 1.588 GB, free: 16.66 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01544/1.678, allocations: 6.955 MB / 1.594 GB, free: 16.27 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.678, allocations: 0.5938 kB / 1.594 GB, free: 16.27 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.963e-06/1.678, allocations: 0 / 1.594 GB, free: 16.27 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001391/1.678, allocations: 0.625 kB / 1.594 GB, free: 16.27 MB / 1.295 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.01103/1.689, allocations: 4.192 MB / 1.599 GB, free: 14.52 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/1.689, allocations: 14.16 kB / 1.599 GB, free: 14.52 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000495/1.69, allocations: 393.6 kB / 1.599 GB, free: 14.46 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005247/1.695, allocations: 0.8639 MB / 1.6 GB, free: 14.28 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/1.698, allocations: 1.872 MB / 1.602 GB, free: 13.75 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/1.698, allocations: 209.9 kB / 1.602 GB, free: 13.75 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003881/1.699, allocations: 274.5 kB / 1.602 GB, free: 13.75 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004942/1.704, allocations: 3.594 MB / 1.606 GB, free: 13.39 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-05/1.704, allocations: 14.58 kB / 1.606 GB, free: 13.38 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002606/1.704, allocations: 119.4 kB / 1.606 GB, free: 13.38 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/1.704, allocations: 144.7 kB / 1.606 GB, free: 13.38 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00453/1.709, allocations: 3.284 MB / 1.609 GB, free: 13.34 MB / 1.295 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.01377/1.722, allocations: 14.24 MB / 1.623 GB, free: 21.1 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/1.725, allocations: 2.485 MB / 1.625 GB, free: 20.68 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/1.727, allocations: 1.355 MB / 1.627 GB, free: 20.66 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/1.728, allocations: 1.372 MB / 1.628 GB, free: 19.15 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001666/1.73, allocations: 1.224 MB / 1.629 GB, free: 19.08 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 4.379e-06/1.73, allocations: 1.125 kB / 1.629 GB, free: 19.08 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.004824/1.735, allocations: 3.179 MB / 1.632 GB, free: 18.88 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/1.735, allocations: 76.38 kB / 1.632 GB, free: 18.81 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/1.736, allocations: 1.453 MB / 1.634 GB, free: 18.64 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/1.737, allocations: 72.39 kB / 1.634 GB, free: 18.61 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006685/1.737, allocations: 1.136 MB / 1.635 GB, free: 18.13 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005254/1.738, allocations: 0.7702 MB / 1.636 GB, free: 17.62 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005766/1.738, allocations: 363 kB / 1.636 GB, free: 17.59 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.738, allocations: 309.2 kB / 1.636 GB, free: 17.29 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/1.74, allocations: 0.9129 MB / 1.637 GB, free: 17.28 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/1.741, allocations: 1.257 MB / 1.639 GB, free: 16.97 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/1.744, allocations: 2.318 MB / 1.641 GB, free: 16.64 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/1.744, allocations: 2.438 kB / 1.641 GB, free: 16.64 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00359/1.748, allocations: 2.61 MB / 1.643 GB, free: 16.42 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/1.748, allocations: 38.7 kB / 1.643 GB, free: 16.39 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.748, allocations: 7.938 kB / 1.643 GB, free: 16.39 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/1.748, allocations: 16.22 kB / 1.643 GB, free: 16.39 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/1.75, allocations: 464.7 kB / 1.644 GB, free: 16.39 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.41e-05/1.75, allocations: 27.75 kB / 1.644 GB, free: 16.39 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/1.751, allocations: 195.1 kB / 1.644 GB, free: 16.29 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/1.752, allocations: 78.67 kB / 1.644 GB, free: 16.29 MB / 1.311 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.001062/1.753, allocations: 0.6841 MB / 1.645 GB, free: 16.17 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/1.753, allocations: 222.4 kB / 1.645 GB, free: 16.05 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/1.757, allocations: 2.524 MB / 1.647 GB, free: 15.93 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/1.757, allocations: 23.5 kB / 1.647 GB, free: 15.93 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.757, allocations: 2.578 kB / 1.647 GB, free: 15.93 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002989/1.76, allocations: 2.325 MB / 1.65 GB, free: 15.54 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007429/1.767, allocations: 5.61 MB / 1.655 GB, free: 14.91 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.767, allocations: 3.844 kB / 1.655 GB, free: 14.91 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/1.769, allocations: 474.8 kB / 1.656 GB, free: 14.91 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/1.769, allocations: 10.44 kB / 1.656 GB, free: 14.91 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/1.769, allocations: 58.31 kB / 1.656 GB, free: 14.91 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/1.769, allocations: 9.594 kB / 1.656 GB, free: 14.91 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.769, allocations: 4.781 kB / 1.656 GB, free: 14.91 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004708/1.774, allocations: 3.817 MB / 1.659 GB, free: 14.49 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/1.775, allocations: 0.5516 MB / 1.66 GB, free: 14.25 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003441/1.775, allocations: 45.8 kB / 1.66 GB, free: 14.25 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/1.777, allocations: 58.75 kB / 1.66 GB, free: 14.25 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/1.777, allocations: 158.2 kB / 1.66 GB, free: 14.24 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/1.777, allocations: 69.53 kB / 1.66 GB, free: 14.24 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001138/1.778, allocations: 0.9879 MB / 1.661 GB, free: 14.13 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.6e-07/1.778, allocations: 0 / 1.661 GB, free: 14.13 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002081/1.78, allocations: 0.9446 MB / 1.662 GB, free: 14 MB / 1.311 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.005483/1.786, allocations: 4.639 MB / 1.667 GB, free: 13.03 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003119/1.789, allocations: 2.345 MB / 1.669 GB, free: 12.92 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.789, allocations: 2.719 kB / 1.669 GB, free: 12.92 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/1.791, allocations: 1.223 MB / 1.67 GB, free: 12.91 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004897/1.796, allocations: 1.294 MB / 1.672 GB, free: 12.74 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/1.817, allocations: 18.63 MB / 1.69 GB, free: 8.027 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/1.819, allocations: 1.975 MB / 1.692 GB, free: 7.242 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002257/1.821, allocations: 0.7207 MB / 1.692 GB, free: 7.109 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/1.822, allocations: 1.095 MB / 1.693 GB, free: 7.102 MB / 1.311 GB Notification: Performance of SimCode: time 5.51e-07/1.822, allocations: 4 kB / 1.693 GB, free: 7.098 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.537/4.36, allocations: 65.69 MB / 1.758 GB, free: 8.16 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.17/20.53, allocations: 5.531 kB / 1.758 GB, free: 8.156 MB / 1.357 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)