Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001321/0.001321, allocations: 193.6 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 222 MB, free: 4.969 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 292.3 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001494, allocations: 62.8 kB / 0.6708 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2538, allocations: 114.6 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6558/0.9096, allocations: 197.6 MB / 0.9757 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.9216, allocations: 7.649 MB / 0.9831 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002845/0.9245, allocations: 40.34 kB / 0.9832 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.927, allocations: 0.5637 MB / 0.9837 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007145/0.9342, allocations: 1.837 MB / 0.9855 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004004/0.9382, allocations: 1.05 MB / 0.9865 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006149/0.9444, allocations: 3.454 MB / 0.9899 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/0.9463, allocations: 0.8242 MB / 0.9907 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005424/0.9518, allocations: 1.403 MB / 0.9921 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002389/0.9542, allocations: 0.8274 MB / 0.9929 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002732/0.9545, allocations: 54.69 kB / 0.9929 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004986/0.9595, allocations: 1.979 MB / 0.9949 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004482/0.9599, allocations: 286.2 kB / 0.9952 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.961, allocations: 0.5573 MB / 0.9957 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004279/0.9653, allocations: 2.152 MB / 0.9978 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.9654, allocations: 4 kB / 0.9978 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.21e-07/0.9654, allocations: 0 / 0.9978 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.9654, allocations: 3.594 kB / 0.9978 GB, free: 2.109 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003989/0.9694, allocations: 1.669 MB / 0.9994 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.9694, allocations: 13.97 kB / 0.9994 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/0.9719, allocations: 436.8 kB / 0.9999 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.9739, allocations: 0.9065 MB / 1.001 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005921/0.9745, allocations: 167.9 kB / 1.001 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.9746, allocations: 72.39 kB / 1.001 GB, free: 16.35 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.9771, allocations: 1.093 MB / 1.002 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.9771, allocations: 2.672 kB / 1.002 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.514e-05/0.9772, allocations: 28.62 kB / 1.002 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/0.9772, allocations: 36.22 kB / 1.002 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002919/0.9802, allocations: 1.196 MB / 1.003 GB, free: 15.56 MB / 0.7481 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.007196/0.9874, allocations: 4.117 MB / 1.007 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/0.9898, allocations: 0.8574 MB / 1.008 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.9911, allocations: 0.4944 MB / 1.009 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008989/0.992, allocations: 0.6416 MB / 1.009 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001519/0.9936, allocations: 0.5886 MB / 1.01 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=57): time 2.675e-06/0.9936, allocations: 0 / 1.01 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=57): time 0.004741/0.9983, allocations: 1.407 MB / 1.011 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.669e-05/0.9984, allocations: 83.83 kB / 1.011 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/1, allocations: 0.8428 MB / 1.012 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/1, allocations: 38.98 kB / 1.012 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004613/1.001, allocations: 425.9 kB / 1.013 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/1.001, allocations: 192.7 kB / 1.013 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/1.001, allocations: 133 kB / 1.013 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.001, allocations: 336.2 kB / 1.013 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/1.002, allocations: 426.3 kB / 1.014 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/1.004, allocations: 0.5391 MB / 1.014 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/1.006, allocations: 0.9009 MB / 1.015 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.006, allocations: 3.406 kB / 1.015 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003224/1.009, allocations: 1.084 MB / 1.016 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.784e-05/1.009, allocations: 34.56 kB / 1.016 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.009, allocations: 2.25 kB / 1.016 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/1.009, allocations: 3 kB / 1.016 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/1.011, allocations: 239.8 kB / 1.016 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007673/1.012, allocations: 1.199 MB / 1.017 GB, free: 5.906 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/1.013, allocations: 164.3 kB / 1.018 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/1.013, allocations: 32.17 kB / 1.018 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001728/1.015, allocations: 0.6214 MB / 1.018 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001388/1.016, allocations: 0.532 MB / 1.019 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002433/1.019, allocations: 0.9052 MB / 1.02 GB, free: 4.633 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.302e-06/1.019, allocations: 2.469 kB / 1.02 GB, free: 4.633 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.003098/1.022, allocations: 1.072 MB / 1.021 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/1.022, allocations: 31.77 kB / 1.021 GB, free: 4.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.022, allocations: 2.719 kB / 1.021 GB, free: 4.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/1.022, allocations: 8.281 kB / 1.021 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.023, allocations: 202.6 kB / 1.021 GB, free: 4.012 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/1.023, allocations: 9.891 kB / 1.021 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/1.025, allocations: 154.7 kB / 1.021 GB, free: 3.934 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.876e-05/1.025, allocations: 30.95 kB / 1.021 GB, free: 3.922 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003766/1.025, allocations: 218.1 kB / 1.021 GB, free: 3.719 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004168/1.025, allocations: 103.5 kB / 1.021 GB, free: 3.664 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/1.029, allocations: 1.113 MB / 1.023 GB, free: 3.074 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/1.029, allocations: 11.69 kB / 1.023 GB, free: 3.07 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/1.029, allocations: 3.938 kB / 1.023 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/1.029, allocations: 3.984 kB / 1.023 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00555/1.034, allocations: 2.321 MB / 1.025 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/1.035, allocations: 2.812 kB / 1.025 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/1.036, allocations: 207.6 kB / 1.025 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/1.036, allocations: 5.125 kB / 1.025 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/1.036, allocations: 20.02 kB / 1.025 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007292/1.036, allocations: 1.189 MB / 1.026 GB, free: 276 kB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.036, allocations: 4.969 kB / 1.026 GB, free: 276 kB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/1.04, allocations: 1.214 MB / 1.027 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007188/1.04, allocations: 284.7 kB / 1.028 GB, free: 15.31 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/1.041, allocations: 22.86 kB / 1.028 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.042, allocations: 134 kB / 1.028 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/1.042, allocations: 59.92 kB / 1.028 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.435e-05/1.042, allocations: 33.22 kB / 1.028 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001066/1.043, allocations: 0.5759 MB / 1.028 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.21e-07/1.043, allocations: 0 / 1.028 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001901/1.045, allocations: 489.2 kB / 1.029 GB, free: 14.76 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008508/1.046, allocations: 297.1 kB / 1.029 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004789/1.051, allocations: 1.632 MB / 1.031 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.051, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/1.053, allocations: 0.5711 MB / 1.031 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/1.055, allocations: 453.5 kB / 1.032 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/1.06, allocations: 2.269 MB / 1.034 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007836/1.061, allocations: 1.037 MB / 1.035 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001667/1.063, allocations: 285.9 kB / 1.035 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/1.063, allocations: 84.31 kB / 1.035 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of SimCode: time 1.011e-06/1.063, allocations: 0 / 1.035 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of Templates: time 0.03255/1.096, allocations: 18.78 MB / 1.054 GB, free: 8.738 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)