Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_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.001648/0.001647, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00251/0.002509, allocations: 200.3 kB / 16.26 MB, free: 6.621 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.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.112/0.112, allocations: 283.1 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 41.5/41.5, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.00147, allocations: 105.1 kB / 0.5948 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1169, allocations: 86.97 MB / 0.6797 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.4566/0.5735, allocations: 290.8 MB / 0.9637 GB, free: 4.621 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02412/0.5976, allocations: 22.91 MB / 0.9861 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/0.6003, allocations: 71.62 kB / 0.9862 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003334/0.6036, allocations: 1.606 MB / 0.9878 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.6145, allocations: 5.76 MB / 0.9934 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005336/0.6199, allocations: 2.663 MB / 0.996 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006439/0.6263, allocations: 7.299 MB / 1.003 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002747/0.6291, allocations: 2.879 MB / 1.006 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004622/0.6337, allocations: 2.914 MB / 1.009 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/0.6366, allocations: 2.888 MB / 1.012 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003623/0.637, allocations: 344 kB / 1.012 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0085/0.6455, allocations: 6.226 MB / 1.018 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.6466, allocations: 1.461 MB / 1.019 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.6482, allocations: 1.906 MB / 1.021 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007485/0.6557, allocations: 7.3 MB / 1.028 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.6557, allocations: 0 / 1.028 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6557, allocations: 0 / 1.028 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.534e-05/0.6558, allocations: 0 / 1.028 GB, free: 2.223 MB / 0.7325 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.1197/0.7755, allocations: 4.093 MB / 1.032 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.7755, allocations: 8.031 kB / 1.032 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008121/0.7764, allocations: 392 kB / 1.033 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009575/0.786, allocations: 0.8507 MB / 1.034 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.7963, allocations: 1.783 MB / 1.035 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.7966, allocations: 213.4 kB / 1.036 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01494/0.8116, allocations: 275.9 kB / 1.036 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02044/0.832, allocations: 3.601 MB / 1.039 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/0.8321, allocations: 11.94 kB / 1.039 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004511/0.8326, allocations: 108 kB / 1.039 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002351/0.8328, allocations: 149.2 kB / 1.04 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009197/0.8421, allocations: 3.288 MB / 1.043 GB, free: 3.191 MB / 0.7481 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.04573/0.8878, allocations: 14.15 MB / 1.057 GB, free: 3.812 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006041/0.8939, allocations: 2.487 MB / 1.059 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2256/1.119, allocations: 1.347 MB / 1.06 GB, free: 293.5 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/1.121, allocations: 1.377 MB / 1.062 GB, free: 292 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002316/1.123, allocations: 1.22 MB / 1.063 GB, free: 292 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 3.888e-06/1.123, allocations: 0.75 kB / 1.063 GB, free: 292 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.005214/1.128, allocations: 3.17 MB / 1.066 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/1.128, allocations: 75.25 kB / 1.066 GB, free: 291.3 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/1.13, allocations: 1.459 MB / 1.068 GB, free: 290.7 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/1.13, allocations: 66.58 kB / 1.068 GB, free: 290.7 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005765/1.13, allocations: 1.117 MB / 1.069 GB, free: 290 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004276/1.131, allocations: 0.7277 MB / 1.069 GB, free: 289.4 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004703/1.131, allocations: 360.5 kB / 1.07 GB, free: 289.3 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 2.834e-05/1.131, allocations: 305.6 kB / 1.07 GB, free: 289 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/1.132, allocations: 0.9155 MB / 1.071 GB, free: 288.7 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/1.134, allocations: 1.256 MB / 1.072 GB, free: 288 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/1.136, allocations: 2.32 MB / 1.074 GB, free: 286.8 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/1.136, allocations: 2.594 kB / 1.074 GB, free: 286.8 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003312/1.14, allocations: 2.601 MB / 1.077 GB, free: 285.7 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/1.14, allocations: 40.8 kB / 1.077 GB, free: 285.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.14, allocations: 5.844 kB / 1.077 GB, free: 285.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/1.14, allocations: 18.86 kB / 1.077 GB, free: 285.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/1.141, allocations: 465.9 kB / 1.077 GB, free: 285.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/1.141, allocations: 24.23 kB / 1.077 GB, free: 285.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/1.143, allocations: 396.3 kB / 1.078 GB, free: 285.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/1.144, allocations: 77.23 kB / 1.078 GB, free: 285.5 MB / 0.7637 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.0008127/1.144, allocations: 0.6874 MB / 1.079 GB, free: 285.1 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/1.145, allocations: 213.4 kB / 1.079 GB, free: 285 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/1.148, allocations: 2.517 MB / 1.081 GB, free: 284 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/1.148, allocations: 22.86 kB / 1.081 GB, free: 284 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.148, allocations: 2.188 kB / 1.081 GB, free: 284 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003181/1.151, allocations: 2.332 MB / 1.084 GB, free: 282.9 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007054/1.158, allocations: 5.614 MB / 1.089 GB, free: 280.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/1.158, allocations: 2.438 kB / 1.089 GB, free: 280.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/1.16, allocations: 474.8 kB / 1.089 GB, free: 280.4 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/1.16, allocations: 9.812 kB / 1.09 GB, free: 280.4 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/1.161, allocations: 54.59 kB / 1.09 GB, free: 280.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/1.161, allocations: 10 kB / 1.09 GB, free: 280.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.161, allocations: 6.031 kB / 1.09 GB, free: 280.4 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004447/1.165, allocations: 3.798 MB / 1.093 GB, free: 278.8 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00076/1.166, allocations: 0.5405 MB / 1.094 GB, free: 278.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/1.166, allocations: 53.38 kB / 1.094 GB, free: 278.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/1.168, allocations: 249.4 kB / 1.094 GB, free: 278.4 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/1.168, allocations: 146.1 kB / 1.094 GB, free: 278.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/1.168, allocations: 70.56 kB / 1.094 GB, free: 278.3 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008712/1.169, allocations: 0.9864 MB / 1.095 GB, free: 278 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.169, allocations: 2.688 kB / 1.095 GB, free: 278 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001425/1.17, allocations: 0.9393 MB / 1.096 GB, free: 277.8 MB / 0.7637 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.008442/1.179, allocations: 4.618 MB / 1.101 GB, free: 275.5 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006283/1.185, allocations: 3.873 MB / 1.104 GB, free: 274.5 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.185, allocations: 3.969 kB / 1.104 GB, free: 274.5 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/1.186, allocations: 1.225 MB / 1.106 GB, free: 274 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003974/1.19, allocations: 1.301 MB / 1.107 GB, free: 272.9 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/1.21, allocations: 21.38 MB / 1.128 GB, free: 250.4 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008892/1.211, allocations: 1.968 MB / 1.13 GB, free: 248.4 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001965/1.213, allocations: 0.7238 MB / 1.13 GB, free: 247.7 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.214, allocations: 1.101 MB / 1.132 GB, free: 246.6 MB / 0.7637 GB Notification: Performance of SimCode: time 3.3e-07/1.214, allocations: 0.875 kB / 1.132 GB, free: 246.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.159/3.373, allocations: 64.67 MB / 1.195 GB, free: 182.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/3.373, allocations: 256 kB / 1.195 GB, free: 182.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/11.25, allocations: 3.125 kB / 1.195 GB, free: 182.4 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)