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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001446/0.001446, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001749/0.00175, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.703/2.703, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 70.33 kB / 0.8985 GB, free: 36.9 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3224, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.7944/1.117, allocations: 292.1 MB / 1.337 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02634/1.143, allocations: 23.25 MB / 1.36 GB, free: 192 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00633/1.15, allocations: 70.69 kB / 1.36 GB, free: 192 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005345/1.155, allocations: 1.552 MB / 1.362 GB, free: 156 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01444/1.17, allocations: 5.778 MB / 1.367 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006783/1.176, allocations: 2.632 MB / 1.37 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01011/1.186, allocations: 10.73 MB / 1.38 GB, free: 14.91 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003418/1.19, allocations: 2.521 MB / 1.383 GB, free: 13.51 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006514/1.196, allocations: 2.532 MB / 1.385 GB, free: 12.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005188/1.202, allocations: 2.824 MB / 1.388 GB, free: 11.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005556/1.202, allocations: 204.2 kB / 1.388 GB, free: 11.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01302/1.215, allocations: 6.905 MB / 1.395 GB, free: 8.035 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001788/1.217, allocations: 1.33 MB / 1.396 GB, free: 7.199 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002854/1.22, allocations: 1.764 MB / 1.398 GB, free: 6.16 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01231/1.232, allocations: 7.174 MB / 1.405 GB, free: 2.074 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.232, allocations: 0 / 1.405 GB, free: 2.074 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.484e-06/1.232, allocations: 4 kB / 1.405 GB, free: 2.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.437e-05/1.232, allocations: 3.938 kB / 1.405 GB, free: 2.066 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.009902/1.242, allocations: 4.1 MB / 1.409 GB, free: 15.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/1.242, allocations: 15.97 kB / 1.409 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004749/1.243, allocations: 391.3 kB / 1.409 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005491/1.248, allocations: 0.8371 MB / 1.41 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/1.251, allocations: 1.789 MB / 1.412 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/1.252, allocations: 212.6 kB / 1.412 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003781/1.252, allocations: 279 kB / 1.413 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005655/1.258, allocations: 3.599 MB / 1.416 GB, free: 7.969 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.192e-05/1.258, allocations: 0 / 1.416 GB, free: 7.969 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/1.258, allocations: 130.4 kB / 1.416 GB, free: 7.844 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/1.258, allocations: 149.3 kB / 1.416 GB, free: 7.695 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005227/1.263, allocations: 3.276 MB / 1.42 GB, free: 4.406 MB / 1.029 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.0152/1.279, allocations: 14.14 MB / 1.433 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003471/1.282, allocations: 2.479 MB / 1.436 GB, free: 2.621 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/1.284, allocations: 1.36 MB / 1.437 GB, free: 1.262 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/1.285, allocations: 1.376 MB / 1.438 GB, free: 15.6 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001899/1.287, allocations: 1.226 MB / 1.44 GB, free: 14.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=213): time 4.108e-06/1.287, allocations: 3.938 kB / 1.44 GB, free: 14.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=213): time 0.00559/1.293, allocations: 3.172 MB / 1.443 GB, free: 11.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/1.293, allocations: 73.41 kB / 1.443 GB, free: 11.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/1.295, allocations: 1.452 MB / 1.444 GB, free: 9.637 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001748/1.295, allocations: 65.7 kB / 1.444 GB, free: 9.566 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/1.296, allocations: 1.117 MB / 1.445 GB, free: 8.438 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007344/1.297, allocations: 0.7347 MB / 1.446 GB, free: 7.707 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005673/1.297, allocations: 355.5 kB / 1.446 GB, free: 7.352 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.297, allocations: 305.1 kB / 1.447 GB, free: 7.051 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/1.299, allocations: 0.9175 MB / 1.448 GB, free: 6.129 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/1.301, allocations: 1.254 MB / 1.449 GB, free: 4.754 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003382/1.304, allocations: 2.321 MB / 1.451 GB, free: 2.328 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/1.304, allocations: 4 kB / 1.451 GB, free: 2.324 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004478/1.309, allocations: 2.597 MB / 1.454 GB, free: 15.71 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/1.309, allocations: 41.89 kB / 1.454 GB, free: 15.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/1.309, allocations: 8.781 kB / 1.454 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/1.309, allocations: 16 kB / 1.454 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/1.311, allocations: 463.3 kB / 1.454 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-05/1.311, allocations: 23.92 kB / 1.454 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/1.313, allocations: 397.7 kB / 1.455 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/1.314, allocations: 79.98 kB / 1.455 GB, free: 14.7 MB / 1.076 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.001238/1.315, allocations: 0.6884 MB / 1.455 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003618/1.315, allocations: 217.5 kB / 1.455 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/1.319, allocations: 2.53 MB / 1.458 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/1.319, allocations: 24 kB / 1.458 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.319, allocations: 0 / 1.458 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003239/1.323, allocations: 2.323 MB / 1.46 GB, free: 8.824 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008743/1.331, allocations: 5.604 MB / 1.466 GB, free: 3.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.331, allocations: 4 kB / 1.466 GB, free: 3.156 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002136/1.334, allocations: 483.6 kB / 1.466 GB, free: 2.684 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/1.334, allocations: 15.94 kB / 1.466 GB, free: 2.668 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/1.334, allocations: 60.05 kB / 1.466 GB, free: 2.609 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.425e-05/1.334, allocations: 15.92 kB / 1.466 GB, free: 2.594 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/1.334, allocations: 4 kB / 1.466 GB, free: 2.59 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005519/1.339, allocations: 3.802 MB / 1.47 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.341, allocations: 0.541 MB / 1.471 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/1.341, allocations: 44 kB / 1.471 GB, free: 14.14 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/1.343, allocations: 241.5 kB / 1.471 GB, free: 13.9 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/1.343, allocations: 149.8 kB / 1.471 GB, free: 13.76 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/1.343, allocations: 71.97 kB / 1.471 GB, free: 13.69 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001268/1.344, allocations: 0.9943 MB / 1.472 GB, free: 12.7 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.21e-07/1.344, allocations: 0 / 1.472 GB, free: 12.7 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002119/1.347, allocations: 0.9351 MB / 1.473 GB, free: 11.76 MB / 1.092 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.006147/1.353, allocations: 4.615 MB / 1.477 GB, free: 7.109 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003571/1.356, allocations: 2.329 MB / 1.48 GB, free: 4.77 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/1.356, allocations: 4 kB / 1.48 GB, free: 4.766 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/1.358, allocations: 1.223 MB / 1.481 GB, free: 3.543 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005262/1.363, allocations: 1.241 MB / 1.482 GB, free: 2.309 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02904/1.392, allocations: 21.36 MB / 1.503 GB, free: 11.56 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/1.394, allocations: 1.971 MB / 1.505 GB, free: 9.551 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002717/1.397, allocations: 0.7173 MB / 1.506 GB, free: 8.828 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/1.398, allocations: 1.097 MB / 1.507 GB, free: 7.73 MB / 1.123 GB Notification: Performance of SimCode: time 9.92e-07/1.398, allocations: 4 kB / 1.507 GB, free: 7.727 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4233/1.821, allocations: 63.03 MB / 1.568 GB, free: 9.355 MB / 1.186 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/1.822, allocations: 257.2 kB / 1.568 GB, free: 9.098 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.163/5.985, allocations: 0 / 1.568 GB, free: 9.098 MB / 1.186 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=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)