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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01032/0.01032, allocations: 100.1 kB / 15.73 MB, free: 5.965 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.002326/0.002326, allocations: 198.7 kB / 16.68 MB, free: 5.887 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8461/0.8461, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.36 kB / 0.5814 GB, free: 23.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1802, allocations: 80.21 MB / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.8572/1.037, allocations: 294.2 MB / 0.947 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03595/1.073, allocations: 23.03 MB / 0.9695 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005066/1.079, allocations: 79.62 kB / 0.9696 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006338/1.085, allocations: 1.865 MB / 0.9714 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01914/1.104, allocations: 6.305 MB / 0.9776 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.009128/1.113, allocations: 2.925 MB / 0.9804 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0118/1.125, allocations: 7.317 MB / 0.9876 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005941/1.131, allocations: 2.991 MB / 0.9905 GB, free: 2.656 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008023/1.139, allocations: 2.949 MB / 0.9934 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00615/1.145, allocations: 2.718 MB / 0.996 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001524/1.147, allocations: 340 kB / 0.9964 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01502/1.162, allocations: 6.021 MB / 1.002 GB, free: 6.645 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00354/1.165, allocations: 1.457 MB / 1.004 GB, free: 5.184 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.005808/1.171, allocations: 1.91 MB / 1.006 GB, free: 3.266 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02242/1.194, allocations: 6.942 MB / 1.012 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.194, allocations: 0 / 1.012 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.833e-06/1.194, allocations: 0 / 1.012 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002522/1.194, allocations: 0 / 1.012 GB, free: 12.3 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.01539/1.209, allocations: 4.084 MB / 1.016 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.209, allocations: 8.031 kB / 1.016 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006727/1.216, allocations: 0.8507 MB / 1.017 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004987/1.221, allocations: 1.853 MB / 1.019 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/1.221, allocations: 213.4 kB / 1.019 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000906/1.222, allocations: 283.9 kB / 1.019 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008542/1.231, allocations: 3.589 MB / 1.023 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.251e-05/1.231, allocations: 7.938 kB / 1.023 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004931/1.232, allocations: 116 kB / 1.023 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001993/1.232, allocations: 149.2 kB / 1.023 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007097/1.239, allocations: 3.272 MB / 1.026 GB, free: 13.61 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.02066/1.26, allocations: 14.19 MB / 1.04 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004073/1.264, allocations: 2.509 MB / 1.043 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002154/1.266, allocations: 1.352 MB / 1.044 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/1.267, allocations: 1.378 MB / 1.045 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002269/1.27, allocations: 1.218 MB / 1.047 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=213): time 5.45e-06/1.27, allocations: 0 / 1.047 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of matching and sorting (n=213): time 0.007278/1.277, allocations: 3.165 MB / 1.05 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/1.277, allocations: 77.34 kB / 1.05 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/1.28, allocations: 1.456 MB / 1.051 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002223/1.28, allocations: 61.7 kB / 1.051 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001227/1.281, allocations: 1.115 MB / 1.052 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008605/1.282, allocations: 0.7354 MB / 1.053 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006861/1.283, allocations: 363.5 kB / 1.053 GB, free: 348 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.283, allocations: 309.1 kB / 1.054 GB, free: 36 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4965/1.78, allocations: 0.9053 MB / 1.055 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/1.782, allocations: 1.271 MB / 1.056 GB, free: 312.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003782/1.786, allocations: 2.322 MB / 1.058 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/1.786, allocations: 2.688 kB / 1.058 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005545/1.791, allocations: 2.598 MB / 1.061 GB, free: 310.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.827e-05/1.791, allocations: 38.27 kB / 1.061 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/1.791, allocations: 7.5 kB / 1.061 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.469e-05/1.792, allocations: 21.08 kB / 1.061 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/1.794, allocations: 465.4 kB / 1.061 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.907e-05/1.794, allocations: 21.09 kB / 1.061 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/1.796, allocations: 195.3 kB / 1.061 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/1.796, allocations: 80.45 kB / 1.061 GB, free: 310.7 MB / 0.8106 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.001746/1.798, allocations: 0.6805 MB / 1.062 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007076/1.799, allocations: 213.8 kB / 1.062 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004767/1.804, allocations: 2.52 MB / 1.065 GB, free: 309.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/1.804, allocations: 24.98 kB / 1.065 GB, free: 309.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.804, allocations: 1.375 kB / 1.065 GB, free: 309.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003477/1.807, allocations: 2.325 MB / 1.067 GB, free: 308.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/1.818, allocations: 5.587 MB / 1.072 GB, free: 305.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/1.818, allocations: 3.344 kB / 1.072 GB, free: 305.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002306/1.82, allocations: 481.4 kB / 1.073 GB, free: 305.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-05/1.82, allocations: 10.25 kB / 1.073 GB, free: 305.9 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/1.82, allocations: 60.14 kB / 1.073 GB, free: 305.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.188e-05/1.82, allocations: 14.73 kB / 1.073 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/1.82, allocations: 3.031 kB / 1.073 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006965/1.827, allocations: 3.987 MB / 1.077 GB, free: 304.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/1.829, allocations: 0.5452 MB / 1.077 GB, free: 303.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/1.829, allocations: 45.17 kB / 1.077 GB, free: 303.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.831, allocations: 59.5 kB / 1.078 GB, free: 303.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000399/1.831, allocations: 154.9 kB / 1.078 GB, free: 303.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/1.831, allocations: 67.06 kB / 1.078 GB, free: 303.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001607/1.833, allocations: 0.998 MB / 1.079 GB, free: 303.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.6e-07/1.833, allocations: 0 / 1.079 GB, free: 303.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002712/1.836, allocations: 0.932 MB / 1.08 GB, free: 303.1 MB / 0.8106 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.0007829/1.837, allocations: 383 kB / 1.08 GB, free: 303 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003677/1.84, allocations: 2.352 MB / 1.082 GB, free: 302.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.84, allocations: 0.5469 kB / 1.082 GB, free: 302.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001642/1.842, allocations: 1.229 MB / 1.083 GB, free: 301.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00497/1.847, allocations: 1.285 MB / 1.085 GB, free: 301.4 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008709/1.856, allocations: 5.74 MB / 1.09 GB, free: 298.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/1.857, allocations: 1.973 MB / 1.092 GB, free: 297.8 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002652/1.86, allocations: 0.718 MB / 1.093 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006581/1.86, allocations: 188.5 kB / 1.093 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of SimCode: time 8.21e-07/1.86, allocations: 0 / 1.093 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.07239/1.933, allocations: 47.93 MB / 1.14 GB, free: 251.4 MB / 0.8106 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)