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.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001204/0.001204, allocations: 199.1 kB / 16.14 MB, free: 6.66 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.05582/0.05582, allocations: 278.6 kB / 290.2 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 35.51/35.51, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 98 kB / 0.5946 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1744, allocations: 86.98 MB / 0.6795 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.7451/0.9195, allocations: 292.1 MB / 0.9648 GB, free: 3.602 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02781/0.9474, allocations: 23.26 MB / 0.9875 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003219/0.9506, allocations: 67.62 kB / 0.9875 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00406/0.9547, allocations: 1.563 MB / 0.9891 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01309/0.9678, allocations: 5.776 MB / 0.9947 GB, free: 4.848 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006841/0.9747, allocations: 2.633 MB / 0.9973 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01043/0.9851, allocations: 10.72 MB / 1.008 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003412/0.9886, allocations: 2.526 MB / 1.01 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005837/0.9944, allocations: 2.525 MB / 1.013 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00443/0.9989, allocations: 2.826 MB / 1.015 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005095/0.9994, allocations: 200 kB / 1.016 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01121/1.011, allocations: 6.9 MB / 1.022 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001604/1.012, allocations: 1.34 MB / 1.024 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002301/1.015, allocations: 1.761 MB / 1.025 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0144/1.029, allocations: 7.175 MB / 1.032 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.029, allocations: 3.938 kB / 1.032 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.153e-06/1.029, allocations: 0 / 1.032 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.977e-05/1.029, allocations: 0 / 1.032 GB, free: 14.12 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.008951/1.038, allocations: 4.1 MB / 1.036 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/1.038, allocations: 8.031 kB / 1.036 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004021/1.038, allocations: 388.1 kB / 1.037 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005106/1.044, allocations: 0.8507 MB / 1.038 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/1.046, allocations: 1.783 MB / 1.039 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/1.046, allocations: 213.4 kB / 1.04 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003428/1.047, allocations: 279.9 kB / 1.04 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005044/1.052, allocations: 3.604 MB / 1.043 GB, free: 2.648 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-05/1.052, allocations: 7.938 kB / 1.043 GB, free: 2.641 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/1.052, allocations: 116 kB / 1.043 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/1.052, allocations: 141.3 kB / 1.044 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004743/1.057, allocations: 3.296 MB / 1.047 GB, free: 15.07 MB / 0.7637 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.2562/1.313, allocations: 14.14 MB / 1.061 GB, free: 292.2 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004222/1.317, allocations: 2.475 MB / 1.063 GB, free: 291.8 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/1.319, allocations: 1.357 MB / 1.064 GB, free: 291.5 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009479/1.32, allocations: 1.376 MB / 1.066 GB, free: 290 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002139/1.323, allocations: 1.225 MB / 1.067 GB, free: 289.5 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 4.118e-06/1.323, allocations: 0 / 1.067 GB, free: 289.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.005301/1.328, allocations: 3.167 MB / 1.07 GB, free: 288.5 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/1.328, allocations: 78.09 kB / 1.07 GB, free: 288.4 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/1.329, allocations: 1.455 MB / 1.072 GB, free: 287.9 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/1.329, allocations: 68.05 kB / 1.072 GB, free: 287.8 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005871/1.33, allocations: 1.124 MB / 1.073 GB, free: 287.1 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003984/1.33, allocations: 0.7258 MB / 1.073 GB, free: 286.6 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004338/1.331, allocations: 360.3 kB / 1.074 GB, free: 286.4 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.422e-05/1.331, allocations: 305.1 kB / 1.074 GB, free: 286.1 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/1.332, allocations: 0.9123 MB / 1.075 GB, free: 285.8 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/1.334, allocations: 1.255 MB / 1.076 GB, free: 285.1 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/1.337, allocations: 2.326 MB / 1.078 GB, free: 283.9 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/1.337, allocations: 2.469 kB / 1.078 GB, free: 283.9 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00357/1.34, allocations: 2.595 MB / 1.081 GB, free: 282.9 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/1.34, allocations: 35.16 kB / 1.081 GB, free: 282.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.34, allocations: 7.875 kB / 1.081 GB, free: 282.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/1.34, allocations: 15.88 kB / 1.081 GB, free: 282.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/1.342, allocations: 465.6 kB / 1.081 GB, free: 282.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.792e-05/1.342, allocations: 21.78 kB / 1.081 GB, free: 282.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/1.344, allocations: 408.5 kB / 1.082 GB, free: 282.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/1.344, allocations: 77.89 kB / 1.082 GB, free: 282.6 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.001068/1.345, allocations: 0.6842 MB / 1.083 GB, free: 282.3 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/1.346, allocations: 214 kB / 1.083 GB, free: 282.1 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004178/1.35, allocations: 2.517 MB / 1.085 GB, free: 281.1 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/1.35, allocations: 20.72 kB / 1.085 GB, free: 281.1 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.35, allocations: 4.156 kB / 1.085 GB, free: 281.1 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003096/1.353, allocations: 2.333 MB / 1.088 GB, free: 280 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007521/1.361, allocations: 5.613 MB / 1.093 GB, free: 277.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.361, allocations: 1.969 kB / 1.093 GB, free: 277.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/1.363, allocations: 476.9 kB / 1.093 GB, free: 277.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/1.363, allocations: 9.344 kB / 1.094 GB, free: 277.6 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/1.363, allocations: 55.5 kB / 1.094 GB, free: 277.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-05/1.363, allocations: 11.19 kB / 1.094 GB, free: 277.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.363, allocations: 7.062 kB / 1.094 GB, free: 277.5 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004415/1.367, allocations: 3.798 MB / 1.097 GB, free: 275.9 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008294/1.368, allocations: 0.5428 MB / 1.098 GB, free: 275.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/1.368, allocations: 49.03 kB / 1.098 GB, free: 275.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/1.37, allocations: 241.8 kB / 1.098 GB, free: 275.5 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000255/1.37, allocations: 151 kB / 1.098 GB, free: 275.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/1.37, allocations: 70.98 kB / 1.098 GB, free: 275.4 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009363/1.371, allocations: 0.988 MB / 1.099 GB, free: 275.1 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.371, allocations: 0 / 1.099 GB, free: 275.1 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001636/1.373, allocations: 0.934 MB / 1.1 GB, free: 274.9 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.004756/1.378, allocations: 4.627 MB / 1.105 GB, free: 272.4 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002616/1.38, allocations: 2.329 MB / 1.107 GB, free: 271.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.38, allocations: 3.938 kB / 1.107 GB, free: 271.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/1.382, allocations: 1.226 MB / 1.108 GB, free: 270.7 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/1.386, allocations: 1.221 MB / 1.109 GB, free: 270.2 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/1.406, allocations: 21.38 MB / 1.13 GB, free: 248.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009075/1.407, allocations: 1.975 MB / 1.132 GB, free: 246.1 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002016/1.409, allocations: 0.7333 MB / 1.133 GB, free: 245.3 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/1.41, allocations: 1.093 MB / 1.134 GB, free: 244.3 MB / 0.7637 GB Notification: Performance of SimCode: time 3.9e-07/1.41, allocations: 0 / 1.134 GB, free: 244.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.564/4.974, allocations: 63.05 MB / 1.196 GB, free: 182 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/4.974, allocations: 269 kB / 1.196 GB, free: 181.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.796/9.77, allocations: 0 / 1.196 GB, free: 181.7 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)