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.0008871/0.0008869, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.00456/0.00456, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.192/1.192, allocations: 223.2 MB / 240.3 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.2041/0.2041, allocations: 275.1 kB / 291.7 MB, free: 1.797 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 35.53/35.53, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004302, allocations: 18.41 kB / 0.5988 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2232, allocations: 88.54 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.935/1.158, allocations: 288.1 MB / 0.9666 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03108/1.189, allocations: 23 MB / 0.989 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004558/1.194, allocations: 67.62 kB / 0.9891 GB, free: 8.246 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005005/1.199, allocations: 1.555 MB / 0.9906 GB, free: 6.684 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0157/1.215, allocations: 5.772 MB / 0.9962 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007066/1.222, allocations: 2.634 MB / 0.9988 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01381/1.236, allocations: 10.73 MB / 1.009 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004255/1.24, allocations: 2.428 MB / 1.012 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007176/1.247, allocations: 2.427 MB / 1.014 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005348/1.253, allocations: 2.706 MB / 1.017 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006313/1.253, allocations: 164 kB / 1.017 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/1.264, allocations: 6.869 MB / 1.024 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001531/1.266, allocations: 1.278 MB / 1.025 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002222/1.268, allocations: 1.712 MB / 1.026 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01334/1.282, allocations: 7.08 MB / 1.033 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/1.282, allocations: 0 / 1.033 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.657e-06/1.282, allocations: 0 / 1.033 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001591/1.282, allocations: 0 / 1.033 GB, free: 10.74 MB / 0.7481 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.009392/1.291, allocations: 3.489 MB / 1.037 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.291, allocations: 8.031 kB / 1.037 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005502/1.292, allocations: 388.1 kB / 1.037 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005013/1.297, allocations: 0.8469 MB / 1.038 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/1.3, allocations: 1.79 MB / 1.04 GB, free: 4.09 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/1.3, allocations: 213.4 kB / 1.04 GB, free: 3.879 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004005/1.3, allocations: 275.9 kB / 1.04 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2932/1.594, allocations: 3.602 MB / 1.044 GB, free: 276.8 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/1.594, allocations: 5.281 kB / 1.044 GB, free: 276.8 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006013/1.594, allocations: 114.3 kB / 1.044 GB, free: 276.8 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002574/1.595, allocations: 144.6 kB / 1.044 GB, free: 276.8 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007305/1.602, allocations: 3.299 MB / 1.047 GB, free: 276.8 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.0167/1.619, allocations: 14.17 MB / 1.061 GB, free: 266.5 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003666/1.622, allocations: 2.493 MB / 1.063 GB, free: 265.3 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/1.624, allocations: 1.363 MB / 1.065 GB, free: 264.8 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/1.625, allocations: 1.383 MB / 1.066 GB, free: 263.3 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002212/1.628, allocations: 1.227 MB / 1.067 GB, free: 262.8 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=213): time 6.382e-06/1.628, allocations: 3.844 kB / 1.067 GB, free: 262.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=213): time 0.005979/1.634, allocations: 3.18 MB / 1.07 GB, free: 261.6 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/1.634, allocations: 84.25 kB / 1.071 GB, free: 261.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/1.637, allocations: 1.45 MB / 1.072 GB, free: 261.1 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002112/1.637, allocations: 64.33 kB / 1.072 GB, free: 261 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001053/1.638, allocations: 1.125 MB / 1.073 GB, free: 260.1 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007826/1.639, allocations: 0.73 MB / 1.074 GB, free: 259.6 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/1.639, allocations: 169 kB / 1.074 GB, free: 259.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 5.41e-05/1.639, allocations: 301.7 kB / 1.074 GB, free: 259.2 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/1.641, allocations: 0.9209 MB / 1.075 GB, free: 258.9 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/1.643, allocations: 1.259 MB / 1.076 GB, free: 258.2 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003846/1.647, allocations: 2.329 MB / 1.079 GB, free: 257 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/1.647, allocations: 6.281 kB / 1.079 GB, free: 257 MB / 0.7481 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005318/1.652, allocations: 2.624 MB / 1.081 GB, free: 255.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.289e-05/1.652, allocations: 34.92 kB / 1.081 GB, free: 255.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/1.652, allocations: 7.094 kB / 1.081 GB, free: 255.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.513e-05/1.652, allocations: 17.28 kB / 1.081 GB, free: 255.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/1.654, allocations: 478.7 kB / 1.082 GB, free: 255.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.004e-05/1.655, allocations: 16.91 kB / 1.082 GB, free: 255.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003183/1.658, allocations: 398.5 kB / 1.082 GB, free: 255.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002262/1.658, allocations: 76.98 kB / 1.082 GB, free: 255.4 MB / 0.7481 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.001528/1.66, allocations: 0.6839 MB / 1.083 GB, free: 254.9 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006592/1.66, allocations: 218.3 kB / 1.083 GB, free: 254.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005173/1.665, allocations: 2.534 MB / 1.086 GB, free: 253.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/1.665, allocations: 21.16 kB / 1.086 GB, free: 253.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/1.665, allocations: 3.984 kB / 1.086 GB, free: 253.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003149/1.669, allocations: 2.34 MB / 1.088 GB, free: 252.1 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/1.68, allocations: 5.618 MB / 1.093 GB, free: 248.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/1.68, allocations: 0 / 1.093 GB, free: 248.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/1.682, allocations: 494.2 kB / 1.094 GB, free: 248.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.375e-05/1.682, allocations: 7.938 kB / 1.094 GB, free: 248.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002124/1.682, allocations: 51.73 kB / 1.094 GB, free: 248.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.089e-05/1.682, allocations: 18.94 kB / 1.094 GB, free: 248.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.682, allocations: 0 / 1.094 GB, free: 248.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005823/1.688, allocations: 3.813 MB / 1.098 GB, free: 246.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/1.69, allocations: 0.5464 MB / 1.098 GB, free: 246 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000545/1.69, allocations: 48 kB / 1.098 GB, free: 245.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/1.693, allocations: 245.1 kB / 1.098 GB, free: 245.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/1.693, allocations: 153.6 kB / 1.099 GB, free: 245.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/1.693, allocations: 69.77 kB / 1.099 GB, free: 245.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001346/1.694, allocations: 0.9905 MB / 1.1 GB, free: 244.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.41e-07/1.694, allocations: 0 / 1.1 GB, free: 244.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002771/1.697, allocations: 0.9375 MB / 1.101 GB, free: 243.6 MB / 0.7481 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.005962/1.703, allocations: 4.652 MB / 1.105 GB, free: 238.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003428/1.707, allocations: 2.34 MB / 1.107 GB, free: 236.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.707, allocations: 1.375 kB / 1.107 GB, free: 236.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/1.708, allocations: 1.232 MB / 1.109 GB, free: 235.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007144/1.715, allocations: 1.247 MB / 1.11 GB, free: 234.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0334/1.749, allocations: 21.65 MB / 1.131 GB, free: 211.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001659/1.751, allocations: 1.971 MB / 1.133 GB, free: 209.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002854/1.753, allocations: 0.7247 MB / 1.134 GB, free: 208.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/1.755, allocations: 1.097 MB / 1.135 GB, free: 207.4 MB / 0.7481 GB Notification: Performance of SimCode: time 1.213e-06/1.755, allocations: 0 / 1.135 GB, free: 207.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0861/1.841, allocations: 62.51 MB / 1.196 GB, free: 145.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/1.841, allocations: 251.3 kB / 1.196 GB, free: 145.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.665/5.507, allocations: 0 / 1.196 GB, free: 145.4 MB / 0.7481 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)