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: translateModel(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") translateModel(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, 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.0017/0.0017, allocations: 198.8 kB / 16.14 MB, free: 6.641 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002577/0.002577, allocations: 282.9 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.069/1.069, allocations: 178.6 MB / 0.5068 GB, free: 4.805 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00277/0.00277, allocations: 97.09 kB / 0.6057 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1752, allocations: 89.15 MB / 0.6928 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.6391/0.8144, allocations: 292.1 MB / 0.978 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03303/0.8475, allocations: 23.27 MB / 1.001 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003162/0.8507, allocations: 67.62 kB / 1.001 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004792/0.8555, allocations: 1.551 MB / 1.002 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01471/0.8703, allocations: 5.77 MB / 1.008 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007421/0.8777, allocations: 2.63 MB / 1.011 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01497/0.8927, allocations: 10.72 MB / 1.021 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006547/0.8993, allocations: 2.531 MB / 1.023 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01101/0.9103, allocations: 2.536 MB / 1.026 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008971/0.9193, allocations: 2.819 MB / 1.029 GB, free: 3.859 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001936/0.9213, allocations: 207.9 kB / 1.029 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01984/0.9411, allocations: 6.9 MB / 1.036 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002545/0.9437, allocations: 1.336 MB / 1.037 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003849/0.9476, allocations: 1.761 MB / 1.039 GB, free: 9.629 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01612/0.9637, allocations: 7.175 MB / 1.046 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.9638, allocations: 0 / 1.046 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.669e-06/0.9638, allocations: 0 / 1.046 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001243/0.9639, allocations: 3.938 kB / 1.046 GB, free: 2.43 MB / 0.7637 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.3405/1.304, allocations: 4.089 MB / 1.05 GB, free: 284.7 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.304, allocations: 9.859 kB / 1.05 GB, free: 284.7 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006694/1.311, allocations: 0.8407 MB / 1.051 GB, free: 284.5 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/1.315, allocations: 1.79 MB / 1.052 GB, free: 283.6 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/1.315, allocations: 205.8 kB / 1.052 GB, free: 283.5 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004628/1.316, allocations: 279.5 kB / 1.053 GB, free: 283.4 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007079/1.323, allocations: 3.6 MB / 1.056 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.341e-05/1.323, allocations: 8.828 kB / 1.056 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002591/1.323, allocations: 113.5 kB / 1.056 GB, free: 281.8 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001779/1.323, allocations: 153.6 kB / 1.056 GB, free: 281.8 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0066/1.33, allocations: 3.288 MB / 1.06 GB, free: 280.7 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.01933/1.349, allocations: 14.14 MB / 1.074 GB, free: 270.2 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004495/1.354, allocations: 2.483 MB / 1.076 GB, free: 268.9 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002214/1.356, allocations: 1.354 MB / 1.077 GB, free: 268.4 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/1.357, allocations: 1.375 MB / 1.079 GB, free: 266.9 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002092/1.359, allocations: 1.225 MB / 1.08 GB, free: 266.5 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 4.698e-06/1.359, allocations: 1.281 kB / 1.08 GB, free: 266.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.006036/1.365, allocations: 3.168 MB / 1.083 GB, free: 265.1 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/1.365, allocations: 86.67 kB / 1.083 GB, free: 265 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/1.368, allocations: 1.446 MB / 1.084 GB, free: 264.3 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002242/1.368, allocations: 69.42 kB / 1.084 GB, free: 264.2 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008713/1.369, allocations: 1.122 MB / 1.086 GB, free: 263.2 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007331/1.369, allocations: 0.7328 MB / 1.086 GB, free: 262.6 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005957/1.37, allocations: 354.4 kB / 1.087 GB, free: 262.4 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 5.637e-05/1.37, allocations: 305.1 kB / 1.087 GB, free: 262.1 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/1.372, allocations: 0.9144 MB / 1.088 GB, free: 261.7 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/1.374, allocations: 1.249 MB / 1.089 GB, free: 260.8 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003357/1.377, allocations: 2.321 MB / 1.091 GB, free: 259.4 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/1.377, allocations: 1.938 kB / 1.091 GB, free: 259.4 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004822/1.382, allocations: 2.601 MB / 1.094 GB, free: 258.1 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/1.382, allocations: 35.23 kB / 1.094 GB, free: 258.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/1.382, allocations: 15.28 kB / 1.094 GB, free: 258.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.53e-05/1.382, allocations: 16.56 kB / 1.094 GB, free: 258.1 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/1.384, allocations: 472.9 kB / 1.094 GB, free: 258 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-05/1.384, allocations: 20.41 kB / 1.094 GB, free: 258 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003029/1.387, allocations: 400.6 kB / 1.095 GB, free: 257.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/1.387, allocations: 80.7 kB / 1.095 GB, free: 257.8 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.001267/1.388, allocations: 0.6791 MB / 1.095 GB, free: 257.3 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005525/1.389, allocations: 216.2 kB / 1.096 GB, free: 257.2 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/1.393, allocations: 2.524 MB / 1.098 GB, free: 255.8 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/1.393, allocations: 20.7 kB / 1.098 GB, free: 255.8 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.393, allocations: 0 / 1.098 GB, free: 255.8 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00288/1.396, allocations: 2.33 MB / 1.1 GB, free: 254.5 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008359/1.404, allocations: 5.614 MB / 1.106 GB, free: 251.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/1.404, allocations: 2.188 kB / 1.106 GB, free: 251.1 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/1.406, allocations: 473.4 kB / 1.106 GB, free: 250.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/1.406, allocations: 11.98 kB / 1.106 GB, free: 250.8 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/1.406, allocations: 55.98 kB / 1.106 GB, free: 250.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/1.406, allocations: 19.81 kB / 1.106 GB, free: 250.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.406, allocations: 4 kB / 1.106 GB, free: 250.7 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004929/1.411, allocations: 3.79 MB / 1.11 GB, free: 246.9 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/1.413, allocations: 0.541 MB / 1.111 GB, free: 246.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003397/1.413, allocations: 44 kB / 1.111 GB, free: 246.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00226/1.415, allocations: 252.5 kB / 1.111 GB, free: 246 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/1.416, allocations: 149.8 kB / 1.111 GB, free: 245.9 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/1.416, allocations: 67.98 kB / 1.111 GB, free: 245.8 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001188/1.417, allocations: 0.9866 MB / 1.112 GB, free: 244.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.417, allocations: 0 / 1.112 GB, free: 244.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00233/1.419, allocations: 0.9362 MB / 1.113 GB, free: 243.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.0007371/1.42, allocations: 394.4 kB / 1.113 GB, free: 243.6 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003271/1.423, allocations: 2.331 MB / 1.116 GB, free: 241.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.423, allocations: 1.625 kB / 1.116 GB, free: 241.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/1.425, allocations: 1.229 MB / 1.117 GB, free: 240 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006019/1.431, allocations: 1.231 MB / 1.118 GB, free: 238.9 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008349/1.439, allocations: 7.015 MB / 1.125 GB, free: 231.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/1.44, allocations: 1.968 MB / 1.127 GB, free: 229.9 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002882/1.443, allocations: 0.721 MB / 1.128 GB, free: 229.2 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006411/1.444, allocations: 195.4 kB / 1.128 GB, free: 229 MB / 0.7637 GB Notification: Performance of SimCode: time 1.252e-06/1.444, allocations: 0 / 1.128 GB, free: 229 MB / 0.7637 GB Notification: Performance of Templates: time 0.06208/1.506, allocations: 45.43 MB / 1.172 GB, free: 184.2 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)