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.001004/0.001004, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001019/0.001019, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.134/1.134, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.038/2.038, allocations: 390.3 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 75.88 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4714/0.4726, allocations: 140.3 MB / 0.9492 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.2313/0.7039, allocations: 290.9 MB / 1.233 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4388/1.143, allocations: 22.9 MB / 1.256 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/1.145, allocations: 71.44 kB / 1.256 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003128/1.148, allocations: 1.608 MB / 1.257 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01009/1.158, allocations: 5.765 MB / 1.263 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005178/1.164, allocations: 2.663 MB / 1.265 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007101/1.171, allocations: 7.298 MB / 1.273 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00302/1.174, allocations: 2.873 MB / 1.275 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005408/1.179, allocations: 2.922 MB / 1.278 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002979/1.182, allocations: 2.885 MB / 1.281 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003324/1.182, allocations: 341.2 kB / 1.281 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007885/1.19, allocations: 6.215 MB / 1.287 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009713/1.191, allocations: 1.478 MB / 1.289 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001578/1.193, allocations: 1.904 MB / 1.291 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006901/1.2, allocations: 7.292 MB / 1.298 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.2, allocations: 0 / 1.298 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/1.2, allocations: 8.688 kB / 1.298 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.865e-05/1.2, allocations: 0 / 1.298 GB, free: 0.8125 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.007568/1.207, allocations: 4.089 MB / 1.302 GB, free: 15.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/1.207, allocations: 11.06 kB / 1.302 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004444/1.208, allocations: 395.6 kB / 1.302 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00478/1.213, allocations: 0.8374 MB / 1.303 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/1.215, allocations: 1.79 MB / 1.305 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.609e-05/1.215, allocations: 212.6 kB / 1.305 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003187/1.215, allocations: 278.8 kB / 1.305 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00468/1.22, allocations: 3.595 MB / 1.309 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.993e-05/1.22, allocations: 7.719 kB / 1.309 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/1.22, allocations: 116.5 kB / 1.309 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/1.221, allocations: 151.5 kB / 1.309 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004312/1.225, allocations: 3.281 MB / 1.312 GB, free: 13.99 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.01156/1.236, allocations: 14.14 MB / 1.326 GB, free: 5.734 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002888/1.239, allocations: 2.492 MB / 1.329 GB, free: 5.301 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/1.241, allocations: 1.351 MB / 1.33 GB, free: 5.277 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/1.242, allocations: 1.378 MB / 1.331 GB, free: 3.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00161/1.243, allocations: 1.216 MB / 1.332 GB, free: 3.695 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 3.827e-06/1.243, allocations: 0 / 1.332 GB, free: 3.695 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.004464/1.248, allocations: 3.176 MB / 1.336 GB, free: 3.492 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/1.248, allocations: 78.94 kB / 1.336 GB, free: 3.426 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/1.249, allocations: 1.45 MB / 1.337 GB, free: 3.258 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/1.25, allocations: 67.14 kB / 1.337 GB, free: 3.227 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005846/1.25, allocations: 1.122 MB / 1.338 GB, free: 2.758 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004923/1.251, allocations: 0.7343 MB / 1.339 GB, free: 2.285 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004629/1.251, allocations: 355.5 kB / 1.339 GB, free: 2.258 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 6.969e-05/1.251, allocations: 303.6 kB / 1.34 GB, free: 1.961 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/1.252, allocations: 0.9145 MB / 1.34 GB, free: 1.953 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/1.254, allocations: 1.254 MB / 1.342 GB, free: 1.633 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002703/1.257, allocations: 2.32 MB / 1.344 GB, free: 1.293 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.257, allocations: 5.859 kB / 1.344 GB, free: 1.293 MB / 1.014 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003274/1.26, allocations: 2.6 MB / 1.346 GB, free: 1.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/1.26, allocations: 33.7 kB / 1.346 GB, free: 1.039 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.26, allocations: 6.875 kB / 1.346 GB, free: 1.039 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/1.26, allocations: 22.81 kB / 1.347 GB, free: 1.035 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/1.262, allocations: 471 kB / 1.347 GB, free: 1.031 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/1.262, allocations: 17.75 kB / 1.347 GB, free: 1.031 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/1.264, allocations: 400.6 kB / 1.347 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/1.264, allocations: 78.84 kB / 1.347 GB, free: 0.9062 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.0007969/1.265, allocations: 0.6853 MB / 1.348 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/1.265, allocations: 217.1 kB / 1.348 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003433/1.268, allocations: 2.529 MB / 1.351 GB, free: 0.543 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/1.268, allocations: 22.72 kB / 1.351 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.268, allocations: 0 / 1.351 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002718/1.271, allocations: 2.333 MB / 1.353 GB, free: 152 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00682/1.278, allocations: 5.599 MB / 1.359 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.278, allocations: 2.906 kB / 1.359 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/1.28, allocations: 480.8 kB / 1.359 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/1.28, allocations: 9.969 kB / 1.359 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/1.28, allocations: 53.52 kB / 1.359 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/1.28, allocations: 18.98 kB / 1.359 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.28, allocations: 10.94 kB / 1.359 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004543/1.285, allocations: 3.797 MB / 1.363 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007751/1.285, allocations: 0.5344 MB / 1.363 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002757/1.286, allocations: 46.55 kB / 1.363 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/1.287, allocations: 242.6 kB / 1.364 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/1.288, allocations: 150.3 kB / 1.364 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/1.288, allocations: 69.61 kB / 1.364 GB, free: 12.14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001016/1.289, allocations: 0.9932 MB / 1.365 GB, free: 11.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.71e-07/1.289, allocations: 0 / 1.365 GB, free: 11.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001629/1.29, allocations: 0.932 MB / 1.366 GB, free: 10.53 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.005478/1.296, allocations: 4.624 MB / 1.37 GB, free: 5.902 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00673/1.303, allocations: 3.883 MB / 1.374 GB, free: 2.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.303, allocations: 0.625 kB / 1.374 GB, free: 2.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/1.304, allocations: 1.228 MB / 1.375 GB, free: 0.8867 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004364/1.309, allocations: 1.288 MB / 1.376 GB, free: 15.63 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02489/1.334, allocations: 21.37 MB / 1.397 GB, free: 9.004 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/1.335, allocations: 1.968 MB / 1.399 GB, free: 7 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00216/1.337, allocations: 0.7251 MB / 1.4 GB, free: 6.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/1.338, allocations: 1.097 MB / 1.401 GB, free: 5.172 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/1.338, allocations: 0 / 1.401 GB, free: 5.172 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.124/6.462, allocations: 64.64 MB / 1.464 GB, free: 5.41 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/6.463, allocations: 250.5 kB / 1.464 GB, free: 5.152 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/9.545, allocations: 3.938 kB / 1.464 GB, free: 5.148 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)