Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep") translateModel(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001357/0.001357, allocations: 106 kB / 16.41 MB, free: 6.465 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.00123/0.00123, allocations: 189.5 kB / 17.34 MB, free: 5.711 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.406/1.406, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8348/0.8348, allocations: 135.2 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 66.83 kB / 0.5864 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1837, allocations: 80.93 MB / 0.6654 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.7936/0.9773, allocations: 294.9 MB / 0.9534 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03581/1.013, allocations: 23.05 MB / 0.9759 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004375/1.017, allocations: 79.62 kB / 0.976 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00595/1.023, allocations: 1.88 MB / 0.9779 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01823/1.042, allocations: 6.32 MB / 0.984 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.009277/1.051, allocations: 2.91 MB / 0.9869 GB, free: 5.703 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01235/1.063, allocations: 7.314 MB / 0.994 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004471/1.068, allocations: 2.477 MB / 0.9964 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007927/1.076, allocations: 2.95 MB / 0.9993 GB, free: 8.914 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005781/1.081, allocations: 2.719 MB / 1.002 GB, free: 6.199 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001258/1.083, allocations: 348 kB / 1.002 GB, free: 5.859 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01388/1.097, allocations: 6.009 MB / 1.008 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002821/1.099, allocations: 1.492 MB / 1.01 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003907/1.103, allocations: 1.906 MB / 1.011 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01646/1.12, allocations: 6.962 MB / 1.018 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.12, allocations: 0 / 1.018 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.993e-06/1.12, allocations: 0 / 1.018 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001465/1.12, allocations: 0 / 1.018 GB, free: 5.441 MB / 0.7794 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.01222/1.132, allocations: 4.199 MB / 1.022 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.132, allocations: 9.109 kB / 1.022 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005768/1.138, allocations: 0.8643 MB / 1.023 GB, free: 296 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003914/1.142, allocations: 1.874 MB / 1.025 GB, free: 14.36 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/1.142, allocations: 209.4 kB / 1.025 GB, free: 14.15 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004653/1.143, allocations: 276 kB / 1.026 GB, free: 13.88 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006763/1.149, allocations: 3.597 MB / 1.029 GB, free: 10.16 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.49e-05/1.149, allocations: 7.953 kB / 1.029 GB, free: 10.15 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002713/1.15, allocations: 115.9 kB / 1.029 GB, free: 10.04 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001843/1.15, allocations: 153.2 kB / 1.029 GB, free: 9.887 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006279/1.156, allocations: 3.272 MB / 1.033 GB, free: 6.602 MB / 0.795 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.0194/1.175, allocations: 14.22 MB / 1.046 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003986/1.179, allocations: 2.357 MB / 1.049 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002098/1.182, allocations: 1.224 MB / 1.05 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/1.183, allocations: 1.375 MB / 1.051 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002187/1.185, allocations: 1.222 MB / 1.052 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=213): time 4.679e-06/1.185, allocations: 0 / 1.052 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=213): time 0.006345/1.192, allocations: 3.18 MB / 1.056 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/1.192, allocations: 77.39 kB / 1.056 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/1.194, allocations: 1.456 MB / 1.057 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002376/1.194, allocations: 65.7 kB / 1.057 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/1.195, allocations: 1.141 MB / 1.058 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000884/1.196, allocations: 0.7668 MB / 1.059 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006414/1.197, allocations: 359.6 kB / 1.059 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.197, allocations: 301.1 kB / 1.06 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/1.199, allocations: 0.9136 MB / 1.06 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/1.201, allocations: 1.274 MB / 1.062 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003895/1.205, allocations: 2.321 MB / 1.064 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/1.205, allocations: 4 kB / 1.064 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005/1.21, allocations: 2.606 MB / 1.067 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/1.21, allocations: 34.64 kB / 1.067 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/1.21, allocations: 8 kB / 1.067 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.492e-05/1.21, allocations: 23.94 kB / 1.067 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/1.212, allocations: 467.3 kB / 1.067 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.265e-05/1.212, allocations: 19.94 kB / 1.067 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/1.214, allocations: 200.9 kB / 1.067 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/1.214, allocations: 80 kB / 1.067 GB, free: 1.027 MB / 0.8262 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.001403/1.215, allocations: 0.6846 MB / 1.068 GB, free: 340 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005573/1.216, allocations: 222.6 kB / 1.068 GB, free: 116 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.388/1.604, allocations: 2.512 MB / 1.071 GB, free: 324.3 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/1.604, allocations: 24.59 kB / 1.071 GB, free: 324.3 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.604, allocations: 1.984 kB / 1.071 GB, free: 324.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003597/1.608, allocations: 2.32 MB / 1.073 GB, free: 323.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/1.62, allocations: 5.591 MB / 1.078 GB, free: 320.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.62, allocations: 2.719 kB / 1.078 GB, free: 320.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002313/1.622, allocations: 482.8 kB / 1.079 GB, free: 320.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.62e-05/1.622, allocations: 11.08 kB / 1.079 GB, free: 320.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/1.622, allocations: 55.23 kB / 1.079 GB, free: 320.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.338e-05/1.622, allocations: 15.3 kB / 1.079 GB, free: 320.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/1.622, allocations: 4.109 kB / 1.079 GB, free: 320.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006939/1.629, allocations: 4.002 MB / 1.083 GB, free: 319.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/1.631, allocations: 0.5491 MB / 1.083 GB, free: 319 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003831/1.631, allocations: 48.08 kB / 1.083 GB, free: 318.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/1.633, allocations: 60.56 kB / 1.084 GB, free: 318.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004229/1.633, allocations: 151.3 kB / 1.084 GB, free: 318.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/1.633, allocations: 72.09 kB / 1.084 GB, free: 318.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001663/1.635, allocations: 0.9946 MB / 1.085 GB, free: 318.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 8e-08/1.635, allocations: 0 / 1.085 GB, free: 318.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002603/1.637, allocations: 0.9446 MB / 1.086 GB, free: 318.4 MB / 0.8262 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.0008501/1.638, allocations: 387.4 kB / 1.086 GB, free: 318.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004185/1.642, allocations: 2.231 MB / 1.088 GB, free: 317.4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.642, allocations: 0.9375 kB / 1.088 GB, free: 317.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002002/1.644, allocations: 1.121 MB / 1.089 GB, free: 317.1 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005977/1.65, allocations: 1.285 MB / 1.091 GB, free: 316.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009455/1.66, allocations: 6.023 MB / 1.096 GB, free: 313.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.661, allocations: 1.978 MB / 1.098 GB, free: 313 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/1.662, allocations: 215.5 kB / 1.099 GB, free: 313 MB / 0.8262 GB Notification: Performance of SimCode: time 8.92e-07/1.662, allocations: 0 / 1.099 GB, free: 313 MB / 0.8262 GB Notification: Performance of Templates: time 0.05328/1.716, allocations: 42.34 MB / 1.14 GB, free: 278.3 MB / 0.8262 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)