Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_10_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.001238/0.001238, 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.001305/0.001305, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.212/1.212, allocations: 222.9 MB / 240.2 MB, free: 4.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.301/2.301, allocations: 437 MB / 0.7104 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 0.8693 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4947, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.6958/1.19, allocations: 294.3 MB / 1.305 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02219/1.213, allocations: 23.05 MB / 1.327 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00308/1.216, allocations: 76.56 kB / 1.327 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003928/1.22, allocations: 1.797 MB / 1.329 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01244/1.232, allocations: 6.12 MB / 1.335 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006147/1.238, allocations: 2.883 MB / 1.338 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007046/1.245, allocations: 7.293 MB / 1.345 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00345/1.249, allocations: 2.98 MB / 1.348 GB, free: 16.74 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005162/1.254, allocations: 2.862 MB / 1.351 GB, free: 16.54 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003596/1.258, allocations: 2.708 MB / 1.353 GB, free: 16.2 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000611/1.258, allocations: 343.1 kB / 1.354 GB, free: 16.2 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01005/1.268, allocations: 5.982 MB / 1.36 GB, free: 16.14 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001733/1.27, allocations: 1.47 MB / 1.361 GB, free: 16 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002873/1.273, allocations: 1.899 MB / 1.363 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01222/1.285, allocations: 6.882 MB / 1.37 GB, free: 13.92 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.285, allocations: 0 / 1.37 GB, free: 13.92 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.684e-06/1.285, allocations: 0 / 1.37 GB, free: 13.92 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.45e-05/1.285, allocations: 3.938 kB / 1.37 GB, free: 13.92 MB / 1.014 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.00957/1.295, allocations: 4.098 MB / 1.374 GB, free: 11.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/1.295, allocations: 8.531 kB / 1.374 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004576/1.296, allocations: 390.7 kB / 1.374 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/1.301, allocations: 0.8398 MB / 1.375 GB, free: 10.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/1.304, allocations: 1.79 MB / 1.376 GB, free: 9.691 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/1.304, allocations: 212.5 kB / 1.377 GB, free: 9.594 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003698/1.304, allocations: 279.2 kB / 1.377 GB, free: 9.504 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005174/1.309, allocations: 3.597 MB / 1.38 GB, free: 7.352 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-05/1.309, allocations: 5.906 kB / 1.38 GB, free: 7.352 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/1.31, allocations: 113 kB / 1.381 GB, free: 7.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/1.31, allocations: 148.8 kB / 1.381 GB, free: 7.238 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00501/1.315, allocations: 3.285 MB / 1.384 GB, free: 5.625 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.01382/1.329, allocations: 14.31 MB / 1.398 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00329/1.332, allocations: 2.494 MB / 1.4 GB, free: 7.297 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/1.334, allocations: 1.352 MB / 1.402 GB, free: 5.941 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/1.335, allocations: 1.379 MB / 1.403 GB, free: 4.273 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001816/1.337, allocations: 1.222 MB / 1.404 GB, free: 3.043 MB / 1.029 GB Notification: Performance of pre-optimization done (n=213): time 4.228e-06/1.337, allocations: 4 kB / 1.404 GB, free: 3.039 MB / 1.029 GB Notification: Performance of matching and sorting (n=213): time 0.005337/1.342, allocations: 3.167 MB / 1.407 GB, free: 15.87 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/1.342, allocations: 77.41 kB / 1.407 GB, free: 15.78 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/1.344, allocations: 1.456 MB / 1.409 GB, free: 14.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/1.344, allocations: 61.7 kB / 1.409 GB, free: 14.25 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007816/1.345, allocations: 1.118 MB / 1.41 GB, free: 13.12 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005839/1.345, allocations: 0.7355 MB / 1.411 GB, free: 12.39 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005084/1.346, allocations: 363.5 kB / 1.411 GB, free: 12.03 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 7.595e-05/1.346, allocations: 301.1 kB / 1.411 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/1.347, allocations: 0.9123 MB / 1.412 GB, free: 10.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/1.349, allocations: 1.257 MB / 1.413 GB, free: 9.445 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003193/1.352, allocations: 2.326 MB / 1.416 GB, free: 7.039 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/1.352, allocations: 7.938 kB / 1.416 GB, free: 7.031 MB / 1.045 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004052/1.356, allocations: 2.588 MB / 1.418 GB, free: 4.469 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/1.356, allocations: 42.59 kB / 1.418 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.356, allocations: 8 kB / 1.418 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/1.356, allocations: 20 kB / 1.418 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/1.358, allocations: 460.6 kB / 1.419 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.928e-05/1.358, allocations: 26.61 kB / 1.419 GB, free: 3.949 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/1.36, allocations: 189.9 kB / 1.419 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/1.36, allocations: 75.98 kB / 1.419 GB, free: 3.688 MB / 1.045 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.361, allocations: 0.692 MB / 1.42 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003757/1.362, allocations: 213.5 kB / 1.42 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/1.366, allocations: 2.521 MB / 1.422 GB, free: 272 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/1.366, allocations: 20 kB / 1.422 GB, free: 252 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.366, allocations: 0 / 1.422 GB, free: 252 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00326/1.369, allocations: 2.329 MB / 1.425 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008239/1.377, allocations: 5.612 MB / 1.43 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.377, allocations: 7.938 kB / 1.43 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002105/1.38, allocations: 478.2 kB / 1.431 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/1.38, allocations: 8 kB / 1.431 GB, free: 7.738 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/1.38, allocations: 55.97 kB / 1.431 GB, free: 7.684 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.261e-05/1.38, allocations: 8 kB / 1.431 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.38, allocations: 6.062 kB / 1.431 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005326/1.385, allocations: 3.794 MB / 1.434 GB, free: 3.832 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.386, allocations: 0.5371 MB / 1.435 GB, free: 3.273 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/1.386, allocations: 54.67 kB / 1.435 GB, free: 3.223 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/1.388, allocations: 66.5 kB / 1.435 GB, free: 3.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/1.388, allocations: 149.8 kB / 1.435 GB, free: 3.016 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/1.388, allocations: 75.91 kB / 1.435 GB, free: 2.941 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001209/1.389, allocations: 0.9905 MB / 1.436 GB, free: 1.957 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.389, allocations: 3 kB / 1.436 GB, free: 1.957 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001898/1.391, allocations: 0.9312 MB / 1.437 GB, free: 1.023 MB / 1.061 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.005893/1.397, allocations: 4.616 MB / 1.442 GB, free: 12.39 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.007209/1.404, allocations: 3.884 MB / 1.445 GB, free: 8.559 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.404, allocations: 4 kB / 1.445 GB, free: 8.555 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001678/1.406, allocations: 1.221 MB / 1.447 GB, free: 7.383 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005096/1.411, allocations: 1.293 MB / 1.448 GB, free: 6.117 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02592/1.437, allocations: 20.26 MB / 1.468 GB, free: 0.543 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/1.439, allocations: 1.972 MB / 1.47 GB, free: 14.54 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002696/1.441, allocations: 0.7249 MB / 1.47 GB, free: 13.81 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/1.443, allocations: 1.101 MB / 1.471 GB, free: 12.71 MB / 1.107 GB Notification: Performance of SimCode: time 1.092e-06/1.443, allocations: 0 / 1.471 GB, free: 12.71 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09276/1.536, allocations: 65.1 MB / 1.535 GB, free: 12.4 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/11.7, allocations: 8.047 kB / 1.535 GB, free: 12.39 MB / 1.17 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)