Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep") translateModel(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001126/0.001126, allocations: 111.9 kB / 17.04 MB, free: 5.812 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.001156/0.001156, allocations: 196 kB / 17.98 MB, free: 5.027 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.258/1.258, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9818/0.9818, allocations: 115.1 MB / 406.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 59.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3348, allocations: 76.15 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.5838/0.9186, allocations: 294.2 MB / 0.8449 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0267/0.9453, allocations: 23.05 MB / 0.8674 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00419/0.9496, allocations: 77.28 kB / 0.8675 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005099/0.9547, allocations: 1.809 MB / 0.8692 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01683/0.9716, allocations: 6.123 MB / 0.8752 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007726/0.9793, allocations: 2.898 MB / 0.8781 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01025/0.9896, allocations: 7.294 MB / 0.8852 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004348/0.994, allocations: 2.971 MB / 0.8881 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00712/1.001, allocations: 2.885 MB / 0.8909 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005194/1.006, allocations: 2.707 MB / 0.8935 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001208/1.008, allocations: 344 kB / 0.8939 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01363/1.021, allocations: 5.981 MB / 0.8997 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002368/1.024, allocations: 1.464 MB / 0.9011 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003825/1.027, allocations: 1.902 MB / 0.903 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01609/1.044, allocations: 6.946 MB / 0.9098 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.044, allocations: 0 / 0.9098 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.813e-06/1.044, allocations: 0 / 0.9098 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001397/1.044, allocations: 0 / 0.9098 GB, free: 8.355 MB / 0.6231 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.01048/1.054, allocations: 4.085 MB / 0.9138 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/1.054, allocations: 8.031 kB / 0.9138 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005447/1.06, allocations: 0.8469 MB / 0.9146 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003898/1.064, allocations: 1.866 MB / 0.9164 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/1.064, allocations: 208.4 kB / 0.9166 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004356/1.064, allocations: 275.3 kB / 0.9169 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005808/1.07, allocations: 3.593 MB / 0.9204 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.31e-05/1.07, allocations: 7.938 kB / 0.9204 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002503/1.07, allocations: 115.5 kB / 0.9205 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/1.071, allocations: 145.3 kB / 0.9207 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005955/1.077, allocations: 3.288 MB / 0.9239 GB, free: 9.742 MB / 0.6387 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.01889/1.095, allocations: 14.21 MB / 0.9377 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/1.099, allocations: 2.496 MB / 0.9402 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/1.101, allocations: 1.349 MB / 0.9415 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/1.102, allocations: 1.375 MB / 0.9428 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001904/1.104, allocations: 1.226 MB / 0.944 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=213): time 6.702e-06/1.104, allocations: 3.984 kB / 0.944 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of matching and sorting (n=213): time 0.005709/1.11, allocations: 3.16 MB / 0.9471 GB, free: 464 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/1.11, allocations: 81.34 kB / 0.9472 GB, free: 368 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/1.112, allocations: 1.456 MB / 0.9486 GB, free: 14.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001761/1.112, allocations: 65.7 kB / 0.9487 GB, free: 14.83 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009207/1.113, allocations: 1.119 MB / 0.9498 GB, free: 13.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006577/1.114, allocations: 0.7333 MB / 0.9505 GB, free: 12.97 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005333/1.115, allocations: 359.5 kB / 0.9508 GB, free: 12.61 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.663e-05/1.115, allocations: 309 kB / 0.9511 GB, free: 12.31 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/1.116, allocations: 0.9136 MB / 0.952 GB, free: 11.39 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/1.118, allocations: 1.255 MB / 0.9533 GB, free: 10.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003265/1.121, allocations: 2.333 MB / 0.9555 GB, free: 7.574 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/1.121, allocations: 0 / 0.9555 GB, free: 7.574 MB / 0.67 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004341/1.125, allocations: 2.593 MB / 0.9581 GB, free: 4.965 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/1.125, allocations: 40.42 kB / 0.9581 GB, free: 4.922 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/1.126, allocations: 11.98 kB / 0.9581 GB, free: 4.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/1.126, allocations: 16 kB / 0.9581 GB, free: 4.895 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/1.127, allocations: 467.3 kB / 0.9586 GB, free: 4.438 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.759e-05/1.127, allocations: 23.92 kB / 0.9586 GB, free: 4.414 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/1.129, allocations: 186 kB / 0.9588 GB, free: 4.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/1.129, allocations: 83.97 kB / 0.9589 GB, free: 4.148 MB / 0.67 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.001205/1.131, allocations: 0.6907 MB / 0.9595 GB, free: 3.449 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003952/1.131, allocations: 213.5 kB / 0.9597 GB, free: 3.238 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004141/1.135, allocations: 2.519 MB / 0.9622 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/1.135, allocations: 20 kB / 0.9622 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.135, allocations: 0 / 0.9622 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003238/1.139, allocations: 2.335 MB / 0.9645 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008424/1.147, allocations: 5.608 MB / 0.97 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.147, allocations: 4 kB / 0.97 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002066/1.149, allocations: 475.3 kB / 0.9704 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/1.149, allocations: 12.09 kB / 0.9704 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/1.149, allocations: 55.97 kB / 0.9705 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.404e-05/1.149, allocations: 12 kB / 0.9705 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.149, allocations: 0 / 0.9705 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005376/1.155, allocations: 3.806 MB / 0.9742 GB, free: 4.215 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/1.156, allocations: 0.5449 MB / 0.9748 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/1.156, allocations: 47.98 kB / 0.9748 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/1.158, allocations: 63.34 kB / 0.9749 GB, free: 3.543 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/1.158, allocations: 149.7 kB / 0.975 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/1.158, allocations: 76.03 kB / 0.9751 GB, free: 3.32 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001264/1.159, allocations: 0.9866 MB / 0.976 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/1.159, allocations: 4 kB / 0.976 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002077/1.161, allocations: 0.9312 MB / 0.9769 GB, free: 1.402 MB / 0.6856 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.000707/1.162, allocations: 384 kB / 0.9773 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003856/1.166, allocations: 2.345 MB / 0.9796 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.166, allocations: 0 / 0.9796 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/1.168, allocations: 1.221 MB / 0.9808 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004549/1.172, allocations: 1.282 MB / 0.9821 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008448/1.181, allocations: 5.772 MB / 0.9877 GB, free: 6.41 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/1.182, allocations: 1.971 MB / 0.9896 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002295/1.185, allocations: 0.7171 MB / 0.9903 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006251/1.185, allocations: 199.4 kB / 0.9905 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of SimCode: time 8.41e-07/1.185, allocations: 0 / 0.9905 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of Templates: time 0.3299/1.515, allocations: 47.28 MB / 1.037 GB, free: 305.3 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)