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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001183/0.001183, 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.001164/0.001163, allocations: 196.1 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.182/1.182, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.069/2.069, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.0012, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.4902, allocations: 140.4 MB / 0.949 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.2556/0.7458, allocations: 292.1 MB / 1.234 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4608/1.207, allocations: 23.24 MB / 1.257 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002666/1.209, allocations: 68.12 kB / 1.257 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003335/1.213, allocations: 1.562 MB / 1.259 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0111/1.224, allocations: 5.768 MB / 1.264 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005829/1.23, allocations: 2.63 MB / 1.267 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01049/1.24, allocations: 10.73 MB / 1.277 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003263/1.243, allocations: 2.525 MB / 1.28 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005566/1.249, allocations: 2.531 MB / 1.282 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/1.253, allocations: 2.824 MB / 1.285 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003782/1.253, allocations: 202.1 kB / 1.285 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/1.263, allocations: 6.9 MB / 1.292 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00132/1.264, allocations: 1.34 MB / 1.293 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002205/1.267, allocations: 1.761 MB / 1.295 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009178/1.276, allocations: 7.169 MB / 1.302 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.276, allocations: 2.094 kB / 1.302 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/1.276, allocations: 0 / 1.302 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.325e-05/1.276, allocations: 3.938 kB / 1.302 GB, free: 0.7812 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.008305/1.284, allocations: 4.093 MB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/1.284, allocations: 8.094 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004336/1.285, allocations: 395.1 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005132/1.29, allocations: 0.8446 MB / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00262/1.293, allocations: 1.788 MB / 1.309 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.69e-05/1.293, allocations: 213.7 kB / 1.309 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/1.293, allocations: 279.2 kB / 1.309 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004653/1.298, allocations: 3.597 MB / 1.313 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.198e-05/1.298, allocations: 8.609 kB / 1.313 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/1.298, allocations: 112.5 kB / 1.313 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/1.298, allocations: 147.1 kB / 1.313 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004466/1.303, allocations: 3.288 MB / 1.316 GB, free: 13.92 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.01286/1.315, allocations: 14.14 MB / 1.33 GB, free: 5.609 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/1.318, allocations: 2.488 MB / 1.333 GB, free: 5.164 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/1.32, allocations: 1.355 MB / 1.334 GB, free: 5.141 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/1.321, allocations: 1.377 MB / 1.335 GB, free: 3.633 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/1.323, allocations: 1.222 MB / 1.336 GB, free: 3.477 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 3.717e-06/1.323, allocations: 2.969 kB / 1.336 GB, free: 3.477 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.004847/1.328, allocations: 3.174 MB / 1.34 GB, free: 2.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/1.328, allocations: 74.22 kB / 1.34 GB, free: 2.863 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/1.329, allocations: 1.456 MB / 1.341 GB, free: 2.461 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/1.329, allocations: 66.48 kB / 1.341 GB, free: 2.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007253/1.33, allocations: 1.124 MB / 1.342 GB, free: 1.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005613/1.331, allocations: 0.7299 MB / 1.343 GB, free: 1.305 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000476/1.331, allocations: 358.2 kB / 1.343 GB, free: 1.246 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/1.331, allocations: 301.1 kB / 1.344 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/1.333, allocations: 0.9128 MB / 1.344 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/1.334, allocations: 1.253 MB / 1.346 GB, free: 340 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/1.337, allocations: 2.324 MB / 1.348 GB, free: 15.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.337, allocations: 3.344 kB / 1.348 GB, free: 15.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003642/1.341, allocations: 2.605 MB / 1.35 GB, free: 15.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/1.341, allocations: 33.86 kB / 1.35 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1.341, allocations: 7.688 kB / 1.35 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/1.341, allocations: 20.5 kB / 1.351 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/1.343, allocations: 471.9 kB / 1.351 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.403e-05/1.343, allocations: 22.95 kB / 1.351 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/1.345, allocations: 396.2 kB / 1.351 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/1.345, allocations: 80.55 kB / 1.351 GB, free: 15.04 MB / 1.029 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.001097/1.346, allocations: 0.6831 MB / 1.352 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003284/1.347, allocations: 214.6 kB / 1.352 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003683/1.35, allocations: 2.529 MB / 1.355 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/1.35, allocations: 25.25 kB / 1.355 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.35, allocations: 2.812 kB / 1.355 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002908/1.353, allocations: 2.329 MB / 1.357 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007852/1.361, allocations: 5.597 MB / 1.363 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.361, allocations: 4 kB / 1.363 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002074/1.363, allocations: 480.4 kB / 1.363 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/1.363, allocations: 15.94 kB / 1.363 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/1.363, allocations: 52.3 kB / 1.363 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/1.363, allocations: 8 kB / 1.363 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/1.363, allocations: 14.56 kB / 1.363 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00518/1.369, allocations: 3.793 MB / 1.367 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/1.37, allocations: 0.5348 MB / 1.367 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/1.37, allocations: 46.05 kB / 1.367 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.372, allocations: 242 kB / 1.368 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/1.372, allocations: 151.7 kB / 1.368 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/1.372, allocations: 69.59 kB / 1.368 GB, free: 7.793 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001208/1.373, allocations: 0.9921 MB / 1.369 GB, free: 7.066 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.1e-07/1.373, allocations: 0 / 1.369 GB, free: 7.066 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001964/1.375, allocations: 0.9422 MB / 1.37 GB, free: 6.191 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.006054/1.381, allocations: 4.62 MB / 1.374 GB, free: 1.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003494/1.385, allocations: 2.329 MB / 1.376 GB, free: 15.29 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.385, allocations: 8.562 kB / 1.376 GB, free: 15.29 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001702/1.387, allocations: 1.224 MB / 1.378 GB, free: 14.11 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004976/1.392, allocations: 1.231 MB / 1.379 GB, free: 12.88 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02897/1.421, allocations: 21.37 MB / 1.4 GB, free: 6.266 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/1.422, allocations: 1.979 MB / 1.402 GB, free: 4.25 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002567/1.425, allocations: 0.7251 MB / 1.402 GB, free: 3.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/1.426, allocations: 1.093 MB / 1.403 GB, free: 2.426 MB / 1.061 GB Notification: Performance of SimCode: time 8.41e-07/1.426, allocations: 0 / 1.403 GB, free: 2.426 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1569/1.583, allocations: 63.03 MB / 1.465 GB, free: 4.227 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/1.583, allocations: 247.4 kB / 1.465 GB, free: 3.969 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.957/5.54, allocations: 0 / 1.465 GB, free: 3.969 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)