Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_9_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.001242/0.001242, allocations: 104 kB / 15.6 MB, free: 148 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.001201/0.001201, allocations: 192.1 kB / 16.53 MB, free: 6.625 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.22/1.22, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.103/2.103, allocations: 390.2 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.91 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.473, allocations: 140.4 MB / 0.9497 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.2499/0.7229, allocations: 294.2 MB / 1.237 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4466/1.17, allocations: 23.03 MB / 1.26 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/1.172, allocations: 78.97 kB / 1.26 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003149/1.175, allocations: 1.803 MB / 1.261 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01074/1.186, allocations: 6.118 MB / 1.267 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005884/1.192, allocations: 2.883 MB / 1.27 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007003/1.199, allocations: 7.295 MB / 1.277 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003254/1.202, allocations: 2.974 MB / 1.28 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004588/1.207, allocations: 2.875 MB / 1.283 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/1.209, allocations: 2.703 MB / 1.286 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003809/1.21, allocations: 344 kB / 1.286 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008445/1.218, allocations: 5.982 MB / 1.292 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009831/1.219, allocations: 1.464 MB / 1.293 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001797/1.221, allocations: 1.908 MB / 1.295 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007144/1.228, allocations: 6.873 MB / 1.302 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/1.228, allocations: 0.875 kB / 1.302 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/1.228, allocations: 0 / 1.302 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.592e-05/1.228, allocations: 2.625 kB / 1.302 GB, free: 0.8594 MB / 0.9981 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.007701/1.236, allocations: 4.101 MB / 1.306 GB, free: 15.17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/1.236, allocations: 9.688 kB / 1.306 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00039/1.236, allocations: 394.3 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004651/1.241, allocations: 0.8418 MB / 1.307 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/1.243, allocations: 1.795 MB / 1.309 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/1.243, allocations: 211.5 kB / 1.309 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003513/1.244, allocations: 276.3 kB / 1.309 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004676/1.248, allocations: 3.598 MB / 1.313 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.927e-05/1.248, allocations: 5 kB / 1.313 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/1.249, allocations: 112.2 kB / 1.313 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/1.249, allocations: 151.1 kB / 1.313 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004418/1.253, allocations: 3.284 MB / 1.316 GB, free: 14.03 MB / 1.014 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.01197/1.265, allocations: 14.3 MB / 1.33 GB, free: 5.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/1.268, allocations: 2.48 MB / 1.333 GB, free: 5.297 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/1.27, allocations: 1.359 MB / 1.334 GB, free: 5.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/1.271, allocations: 1.374 MB / 1.335 GB, free: 3.762 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001559/1.272, allocations: 1.231 MB / 1.337 GB, free: 3.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 3.416e-06/1.272, allocations: 0 / 1.337 GB, free: 3.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.004589/1.277, allocations: 3.172 MB / 1.34 GB, free: 3.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/1.277, allocations: 76.06 kB / 1.34 GB, free: 3.414 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/1.278, allocations: 1.454 MB / 1.341 GB, free: 3.242 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/1.278, allocations: 66.64 kB / 1.341 GB, free: 3.211 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006108/1.279, allocations: 1.119 MB / 1.342 GB, free: 2.746 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005077/1.28, allocations: 0.7302 MB / 1.343 GB, free: 2.273 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004661/1.28, allocations: 357.6 kB / 1.343 GB, free: 2.246 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.009e-05/1.28, allocations: 304.2 kB / 1.344 GB, free: 1.949 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/1.281, allocations: 0.915 MB / 1.344 GB, free: 1.941 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/1.283, allocations: 1.256 MB / 1.346 GB, free: 1.621 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/1.286, allocations: 2.33 MB / 1.348 GB, free: 1.273 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.286, allocations: 2.938 kB / 1.348 GB, free: 1.273 MB / 1.014 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003427/1.289, allocations: 2.598 MB / 1.351 GB, free: 1.055 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/1.289, allocations: 34.2 kB / 1.351 GB, free: 1.023 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.289, allocations: 8.562 kB / 1.351 GB, free: 1.023 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/1.289, allocations: 20.41 kB / 1.351 GB, free: 1.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/1.291, allocations: 467.3 kB / 1.351 GB, free: 1.016 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/1.291, allocations: 19.91 kB / 1.351 GB, free: 1.016 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/1.293, allocations: 191.6 kB / 1.351 GB, free: 0.918 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/1.293, allocations: 76.94 kB / 1.351 GB, free: 0.918 MB / 1.014 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.0008212/1.294, allocations: 0.6876 MB / 1.352 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/1.294, allocations: 216.8 kB / 1.352 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/1.298, allocations: 2.522 MB / 1.355 GB, free: 304 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/1.298, allocations: 24.53 kB / 1.355 GB, free: 300 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/1.298, allocations: 0 / 1.355 GB, free: 300 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003012/1.301, allocations: 2.326 MB / 1.357 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00724/1.308, allocations: 5.609 MB / 1.362 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.308, allocations: 5.25 kB / 1.362 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001961/1.31, allocations: 476.2 kB / 1.363 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.841e-05/1.31, allocations: 11.44 kB / 1.363 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/1.31, allocations: 51.61 kB / 1.363 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/1.31, allocations: 15.56 kB / 1.363 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.31, allocations: 6.781 kB / 1.363 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005305/1.315, allocations: 3.795 MB / 1.367 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008255/1.316, allocations: 0.5371 MB / 1.367 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/1.317, allocations: 48 kB / 1.367 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/1.318, allocations: 60.52 kB / 1.367 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/1.318, allocations: 156.8 kB / 1.367 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.318, allocations: 75.91 kB / 1.368 GB, free: 9.016 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001199/1.32, allocations: 0.9866 MB / 1.368 GB, free: 8.035 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.61e-07/1.32, allocations: 0 / 1.368 GB, free: 8.035 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001819/1.321, allocations: 0.9389 MB / 1.369 GB, free: 7.094 MB / 1.029 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.005972/1.327, allocations: 4.623 MB / 1.374 GB, free: 2.461 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007111/1.334, allocations: 3.876 MB / 1.378 GB, free: 14.63 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.334, allocations: 8.062 kB / 1.378 GB, free: 14.62 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001692/1.336, allocations: 1.221 MB / 1.379 GB, free: 13.45 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004778/1.341, allocations: 1.295 MB / 1.38 GB, free: 12.18 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0251/1.366, allocations: 20.24 MB / 1.4 GB, free: 6.688 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/1.368, allocations: 1.97 MB / 1.402 GB, free: 4.684 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002413/1.37, allocations: 0.7249 MB / 1.403 GB, free: 3.957 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/1.371, allocations: 1.097 MB / 1.404 GB, free: 2.859 MB / 1.061 GB Notification: Performance of SimCode: time 7.01e-07/1.371, allocations: 0 / 1.404 GB, free: 2.859 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.944/3.316, allocations: 65.11 MB / 1.467 GB, free: 2.574 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/16.83, allocations: 8.047 kB / 1.467 GB, free: 2.566 MB / 1.123 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)