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.0008125/0.0008125, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008953/0.0008952, allocations: 179 kB / 16.59 MB, free: 6.855 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.382/1.382, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7018/0.7018, allocations: 115.5 MB / 407.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002887, allocations: 11.98 kB / 495.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1356, allocations: 77.52 MB / 0.5593 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.5566/0.6922, allocations: 268.8 MB / 0.8218 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.4377/1.13, allocations: 21.5 MB / 0.8428 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004186/1.134, allocations: 60.72 kB / 0.8429 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004834/1.139, allocations: 1.174 MB / 0.844 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01417/1.153, allocations: 4.466 MB / 0.8484 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007155/1.16, allocations: 2.053 MB / 0.8504 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01397/1.174, allocations: 8.953 MB / 0.8591 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005116/1.18, allocations: 2.25 MB / 0.8613 GB, free: 24.99 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008099/1.188, allocations: 2.362 MB / 0.8636 GB, free: 24.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007075/1.195, allocations: 2.611 MB / 0.8662 GB, free: 24.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009082/1.196, allocations: 166 kB / 0.8663 GB, free: 24.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01062/1.206, allocations: 3.137 MB / 0.8694 GB, free: 24.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002572/1.209, allocations: 1.285 MB / 0.8706 GB, free: 24.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002318/1.211, allocations: 0.6714 MB / 0.8713 GB, free: 24.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009156/1.22, allocations: 4.662 MB / 0.8758 GB, free: 24.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.22, allocations: 0 / 0.8758 GB, free: 24.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.472e-06/1.221, allocations: 0 / 0.8758 GB, free: 24.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001157/1.221, allocations: 0 / 0.8758 GB, free: 24.52 MB / 0.6544 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.008647/1.229, allocations: 3.525 MB / 0.8793 GB, free: 22.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/1.229, allocations: 9.344 kB / 0.8793 GB, free: 22.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005316/1.235, allocations: 0.8474 MB / 0.8801 GB, free: 22.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003518/1.238, allocations: 1.846 MB / 0.8819 GB, free: 22.26 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/1.238, allocations: 213.2 kB / 0.8821 GB, free: 22.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003771/1.239, allocations: 277.4 kB / 0.8824 GB, free: 22.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005637/1.244, allocations: 3.587 MB / 0.8859 GB, free: 21.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.584e-05/1.244, allocations: 5.844 kB / 0.8859 GB, free: 21.88 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/1.245, allocations: 113.3 kB / 0.886 GB, free: 21.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/1.245, allocations: 148.5 kB / 0.8862 GB, free: 21.87 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005006/1.25, allocations: 3.287 MB / 0.8894 GB, free: 21.38 MB / 0.6544 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.01436/1.264, allocations: 14.19 MB / 0.9032 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003211/1.267, allocations: 2.515 MB / 0.9057 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/1.269, allocations: 1.363 MB / 0.907 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/1.27, allocations: 1.376 MB / 0.9084 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001751/1.272, allocations: 1.24 MB / 0.9096 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=216): time 4.588e-06/1.272, allocations: 0 / 0.9096 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of matching and sorting (n=216): time 0.005236/1.277, allocations: 3.206 MB / 0.9127 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/1.277, allocations: 74.62 kB / 0.9128 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/1.279, allocations: 1.443 MB / 0.9142 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001653/1.279, allocations: 67.95 kB / 0.9142 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007691/1.28, allocations: 1.113 MB / 0.9153 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005751/1.281, allocations: 0.7442 MB / 0.9161 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/1.281, allocations: 42.03 kB / 0.9161 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.281, allocations: 400 kB / 0.9165 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/1.282, allocations: 0.917 MB / 0.9174 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/1.284, allocations: 1.28 MB / 0.9186 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/1.286, allocations: 1.135 MB / 0.9197 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.286, allocations: 3.984 kB / 0.9197 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003935/1.29, allocations: 2.614 MB / 0.9223 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/1.29, allocations: 34.11 kB / 0.9223 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.29, allocations: 9.188 kB / 0.9223 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/1.29, allocations: 15.88 kB / 0.9223 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/1.292, allocations: 487.1 kB / 0.9228 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.853e-05/1.292, allocations: 21.67 kB / 0.9228 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/1.294, allocations: 404.4 kB / 0.9232 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/1.295, allocations: 77.95 kB / 0.9233 GB, free: 4.395 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001356/1.296, allocations: 0.684 MB / 0.924 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/1.296, allocations: 221 kB / 0.9242 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004097/1.3, allocations: 2.561 MB / 0.9267 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/1.3, allocations: 25.62 kB / 0.9267 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.3, allocations: 1.094 kB / 0.9267 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003282/1.304, allocations: 2.357 MB / 0.929 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008981/1.313, allocations: 5.644 MB / 0.9345 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.313, allocations: 3.953 kB / 0.9345 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002177/1.315, allocations: 494.3 kB / 0.935 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/1.315, allocations: 12 kB / 0.935 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/1.315, allocations: 53.98 kB / 0.935 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.537e-05/1.315, allocations: 11.98 kB / 0.9351 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.315, allocations: 4 kB / 0.9351 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005765/1.321, allocations: 3.836 MB / 0.9388 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/1.322, allocations: 0.5503 MB / 0.9393 GB, free: 10.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/1.323, allocations: 46.73 kB / 0.9394 GB, free: 10.59 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/1.325, allocations: 239.1 kB / 0.9396 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/1.325, allocations: 151.7 kB / 0.9398 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/1.325, allocations: 79.47 kB / 0.9398 GB, free: 10.19 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001401/1.327, allocations: 0.9743 MB / 0.9408 GB, free: 9.484 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.21e-07/1.327, allocations: 0 / 0.9408 GB, free: 9.484 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002807/1.329, allocations: 0.9501 MB / 0.9417 GB, free: 8.602 MB / 0.67 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 (220): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009026/1.33, allocations: 409.7 kB / 0.9421 GB, free: 8.289 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00392/1.334, allocations: 2.356 MB / 0.9444 GB, free: 6.668 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.334, allocations: 0.5625 kB / 0.9444 GB, free: 6.668 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001968/1.336, allocations: 1.239 MB / 0.9456 GB, free: 5.848 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00534/1.342, allocations: 1.254 MB / 0.9468 GB, free: 4.844 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/1.352, allocations: 7.085 MB / 0.9538 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/1.354, allocations: 1.973 MB / 0.9557 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003275/1.357, allocations: 0.733 MB / 0.9564 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007156/1.358, allocations: 205.6 kB / 0.9566 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of SimCode: time 1.322e-06/1.358, allocations: 0 / 0.9566 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of Templates: time 0.07637/1.434, allocations: 44.51 MB / 1 GB, free: 15.76 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)