Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep") translateModel(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6921/0.6921, allocations: 132.2 MB / 148.9 MB, free: 12.12 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 403.4 MB, free: 7.059 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 121 kB / 484.4 MB, free: 8.66 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 51.92 kB / 0.5618 GB, free: 71.02 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1389, allocations: 80.2 MB / 0.6402 GB, free: 6.746 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.5998/0.7387, allocations: 292.1 MB / 0.9254 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02965/0.7684, allocations: 23.26 MB / 0.9481 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003378/0.7718, allocations: 67.62 kB / 0.9482 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004945/0.7768, allocations: 1.559 MB / 0.9497 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.402/1.179, allocations: 5.76 MB / 0.9553 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00831/1.187, allocations: 2.623 MB / 0.9579 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01697/1.204, allocations: 10.75 MB / 0.9684 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006523/1.211, allocations: 2.526 MB / 0.9708 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/1.223, allocations: 2.557 MB / 0.9733 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01045/1.233, allocations: 2.822 MB / 0.9761 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002363/1.236, allocations: 204.5 kB / 0.9763 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01976/1.255, allocations: 6.909 MB / 0.983 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003599/1.259, allocations: 1.33 MB / 0.9843 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.005347/1.264, allocations: 1.764 MB / 0.9861 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01713/1.282, allocations: 7.186 MB / 0.9931 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.282, allocations: 2.203 kB / 0.9931 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.994e-06/1.282, allocations: 0 / 0.9931 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001457/1.282, allocations: 0 / 0.9931 GB, free: 4.344 MB / 0.6823 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.01695/1.299, allocations: 4.095 MB / 0.9971 GB, free: 18.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/1.299, allocations: 8.062 kB / 0.9971 GB, free: 18.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006811/1.306, allocations: 0.8371 MB / 0.9979 GB, free: 18.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003706/1.309, allocations: 1.791 MB / 0.9997 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/1.31, allocations: 219 kB / 0.9999 GB, free: 17.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004624/1.31, allocations: 277.1 kB / 1 GB, free: 17.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005453/1.315, allocations: 3.596 MB / 1.004 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.846e-05/1.316, allocations: 5.781 kB / 1.004 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/1.316, allocations: 114.9 kB / 1.004 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/1.316, allocations: 145.8 kB / 1.004 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005144/1.321, allocations: 3.283 MB / 1.007 GB, free: 17.53 MB / 0.698 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.0154/1.336, allocations: 14.12 MB / 1.021 GB, free: 9.215 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00328/1.34, allocations: 2.511 MB / 1.023 GB, free: 8.766 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/1.342, allocations: 1.354 MB / 1.025 GB, free: 8.746 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/1.343, allocations: 1.374 MB / 1.026 GB, free: 7.238 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001773/1.345, allocations: 1.226 MB / 1.027 GB, free: 7.141 MB / 0.698 GB Notification: Performance of pre-optimization done (n=213): time 4.028e-06/1.345, allocations: 0 / 1.027 GB, free: 7.141 MB / 0.698 GB Notification: Performance of matching and sorting (n=213): time 0.005164/1.35, allocations: 3.155 MB / 1.03 GB, free: 6.605 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/1.35, allocations: 78 kB / 1.03 GB, free: 6.539 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/1.352, allocations: 1.459 MB / 1.032 GB, free: 6.133 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001588/1.352, allocations: 65.36 kB / 1.032 GB, free: 6.102 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000796/1.353, allocations: 1.121 MB / 1.033 GB, free: 5.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006147/1.353, allocations: 0.7241 MB / 1.034 GB, free: 4.984 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005274/1.354, allocations: 364.6 kB / 1.034 GB, free: 4.922 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/1.354, allocations: 305.1 kB / 1.034 GB, free: 4.621 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/1.355, allocations: 0.911 MB / 1.035 GB, free: 4.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/1.357, allocations: 1.267 MB / 1.036 GB, free: 3.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003222/1.36, allocations: 2.324 MB / 1.039 GB, free: 3.453 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.36, allocations: 1.781 kB / 1.039 GB, free: 3.453 MB / 0.698 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00428/1.364, allocations: 2.592 MB / 1.041 GB, free: 2.855 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/1.365, allocations: 34.61 kB / 1.041 GB, free: 2.816 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.365, allocations: 8 kB / 1.041 GB, free: 2.809 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-05/1.365, allocations: 20 kB / 1.041 GB, free: 2.789 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/1.367, allocations: 468.1 kB / 1.042 GB, free: 2.375 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.942e-05/1.367, allocations: 26.89 kB / 1.042 GB, free: 2.352 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/1.369, allocations: 355.2 kB / 1.042 GB, free: 2.035 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/1.37, allocations: 75.11 kB / 1.042 GB, free: 1.977 MB / 0.698 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.001255/1.371, allocations: 0.6869 MB / 1.043 GB, free: 1.543 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005305/1.371, allocations: 217.5 kB / 1.043 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/1.376, allocations: 2.517 MB / 1.045 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/1.376, allocations: 23.66 kB / 1.046 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.376, allocations: 4 kB / 1.046 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003182/1.379, allocations: 2.329 MB / 1.048 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009703/1.389, allocations: 5.601 MB / 1.053 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.389, allocations: 8.062 kB / 1.053 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/1.391, allocations: 479.7 kB / 1.054 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/1.391, allocations: 8 kB / 1.054 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/1.391, allocations: 59.28 kB / 1.054 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/1.391, allocations: 10.91 kB / 1.054 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/1.391, allocations: 4 kB / 1.054 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04064/1.432, allocations: 20.71 MB / 1.074 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/1.433, allocations: 0.5409 MB / 1.075 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/1.433, allocations: 47.94 kB / 1.075 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/1.435, allocations: 241.5 kB / 1.075 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/1.436, allocations: 152.7 kB / 1.075 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.436, allocations: 67.98 kB / 1.075 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001285/1.437, allocations: 0.9905 MB / 1.076 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.437, allocations: 3.562 kB / 1.076 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00695/1.444, allocations: 1.454 MB / 1.077 GB, free: 4.004 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],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.0009741/1.445, allocations: 411.5 kB / 1.078 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003715/1.449, allocations: 2.336 MB / 1.08 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.449, allocations: 1.75 kB / 1.08 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001798/1.451, allocations: 1.228 MB / 1.081 GB, free: 164 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006385/1.457, allocations: 1.227 MB / 1.083 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.467, allocations: 8.148 MB / 1.09 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/1.469, allocations: 2.031 MB / 1.092 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003233/1.472, allocations: 0.7797 MB / 1.093 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008215/1.473, allocations: 211.4 kB / 1.093 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/1.473, allocations: 0 / 1.093 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of Templates: time 0.07951/1.553, allocations: 53.86 MB / 1.146 GB, free: 14.49 MB / 0.8073 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)