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.001064/0.001064, allocations: 110.6 kB / 16.37 MB, free: 6.008 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.001/0.001001, allocations: 192.1 kB / 17.3 MB, free: 5.617 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7898/0.7898, allocations: 135.1 MB / 426.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 67.89 kB / 0.5068 GB, free: 7.707 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.461, allocations: 80.9 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.795/1.256, allocations: 294.2 MB / 0.8731 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03559/1.292, allocations: 23.03 MB / 0.8956 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004954/1.297, allocations: 75.53 kB / 0.8957 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005558/1.302, allocations: 1.797 MB / 0.8974 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01739/1.32, allocations: 6.118 MB / 0.9034 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008487/1.328, allocations: 2.894 MB / 0.9062 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01114/1.339, allocations: 7.307 MB / 0.9134 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004831/1.344, allocations: 2.973 MB / 0.9163 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007351/1.352, allocations: 2.884 MB / 0.9191 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0055/1.357, allocations: 2.717 MB / 0.9217 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001032/1.358, allocations: 344 kB / 0.9221 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01361/1.372, allocations: 5.978 MB / 0.9279 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00256/1.374, allocations: 1.461 MB / 0.9293 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003735/1.378, allocations: 1.906 MB / 0.9312 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01668/1.395, allocations: 6.942 MB / 0.938 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/1.395, allocations: 0 / 0.938 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/1.395, allocations: 3.938 kB / 0.938 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001628/1.395, allocations: 4 kB / 0.938 GB, free: 4.887 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.01188/1.407, allocations: 4.084 MB / 0.942 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/1.407, allocations: 17.09 kB / 0.942 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005773/1.413, allocations: 0.8313 MB / 0.9428 GB, free: 15.88 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004849/1.418, allocations: 1.868 MB / 0.9446 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/1.418, allocations: 205.4 kB / 0.9448 GB, free: 13.75 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005545/1.418, allocations: 279.9 kB / 0.9451 GB, free: 13.48 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006501/1.425, allocations: 3.598 MB / 0.9486 GB, free: 9.754 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.353e-05/1.425, allocations: 3.938 kB / 0.9486 GB, free: 9.75 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/1.425, allocations: 120 kB / 0.9487 GB, free: 9.633 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001653/1.426, allocations: 145.2 kB / 0.9488 GB, free: 9.488 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005893/1.431, allocations: 3.288 MB / 0.9521 GB, free: 6.188 MB / 0.67 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.0192/1.451, allocations: 14.18 MB / 0.9659 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003922/1.455, allocations: 2.51 MB / 0.9684 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/1.457, allocations: 1.352 MB / 0.9697 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001564/1.458, allocations: 1.375 MB / 0.971 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002083/1.46, allocations: 1.218 MB / 0.9722 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 4.558e-06/1.46, allocations: 0 / 0.9722 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.006455/1.467, allocations: 3.164 MB / 0.9753 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/1.467, allocations: 81.25 kB / 0.9754 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/1.47, allocations: 1.452 MB / 0.9768 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000232/1.47, allocations: 65.7 kB / 0.9769 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/1.471, allocations: 1.119 MB / 0.9779 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009604/1.472, allocations: 0.7315 MB / 0.9787 GB, free: 9.277 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005832/1.473, allocations: 367.4 kB / 0.979 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.473, allocations: 301.1 kB / 0.9793 GB, free: 8.613 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/1.474, allocations: 0.9097 MB / 0.9802 GB, free: 7.699 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/1.476, allocations: 1.274 MB / 0.9814 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003655/1.48, allocations: 2.317 MB / 0.9837 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/1.48, allocations: 8 kB / 0.9837 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004775/1.485, allocations: 2.589 MB / 0.9862 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.31e-05/1.485, allocations: 37.69 kB / 0.9863 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/1.485, allocations: 8 kB / 0.9863 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/1.485, allocations: 16 kB / 0.9863 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/1.487, allocations: 468 kB / 0.9867 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.048e-05/1.487, allocations: 27.86 kB / 0.9868 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/1.489, allocations: 190 kB / 0.9869 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/1.489, allocations: 87.97 kB / 0.987 GB, free: 448 kB / 0.7012 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.001516/1.491, allocations: 0.6781 MB / 0.9877 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005971/1.492, allocations: 217.5 kB / 0.9879 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004631/1.496, allocations: 2.507 MB / 0.9903 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/1.496, allocations: 31.94 kB / 0.9904 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/1.496, allocations: 3.938 kB / 0.9904 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003864/1.5, allocations: 2.327 MB / 0.9927 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/1.511, allocations: 5.577 MB / 0.9981 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/1.511, allocations: 4.312 kB / 0.9981 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/1.513, allocations: 483.3 kB / 0.9986 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.167e-05/1.513, allocations: 16 kB / 0.9986 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/1.513, allocations: 59.91 kB / 0.9986 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.38e-05/1.513, allocations: 12 kB / 0.9986 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.513, allocations: 4 kB / 0.9986 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006222/1.519, allocations: 4 MB / 1.003 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.521, allocations: 0.5373 MB / 1.003 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003625/1.521, allocations: 47.98 kB / 1.003 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.523, allocations: 62.41 kB / 1.003 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003792/1.523, allocations: 153.7 kB / 1.003 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/1.523, allocations: 67.97 kB / 1.003 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001297/1.524, allocations: 0.9906 MB / 1.004 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/1.524, allocations: 0 / 1.004 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002106/1.527, allocations: 0.935 MB / 1.005 GB, free: 13.47 MB / 0.7325 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.0007771/1.527, allocations: 385.7 kB / 1.006 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003647/1.531, allocations: 2.349 MB / 1.008 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.531, allocations: 4 kB / 1.008 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001856/1.533, allocations: 1.225 MB / 1.009 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004818/1.538, allocations: 1.284 MB / 1.01 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009049/1.547, allocations: 5.759 MB / 1.016 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/1.548, allocations: 1.968 MB / 1.018 GB, free: 472 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002636/1.551, allocations: 0.7171 MB / 1.019 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006479/1.552, allocations: 199.4 kB / 1.019 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of SimCode: time 8.11e-07/1.552, allocations: 0 / 1.019 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of Templates: time 0.3973/1.949, allocations: 47.43 MB / 1.065 GB, free: 306.8 MB / 0.7481 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)