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.001091/0.001091, allocations: 100.4 kB / 16.29 MB, free: 6.012 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.001196/0.001196, allocations: 181.6 kB / 17.22 MB, free: 5.617 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.426/1.426, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.803/1.803, allocations: 292.3 MB / 0.5495 GB, free: 17.38 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.001592/0.001592, allocations: 75.88 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2412, allocations: 114.6 MB / 0.7841 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.7102/0.9514, allocations: 200 MB / 0.9794 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.9638, allocations: 7.567 MB / 0.9868 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002259/0.9662, allocations: 43.69 kB / 0.9868 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002209/0.9685, allocations: 0.6909 MB / 0.9875 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005998/0.9745, allocations: 1.964 MB / 0.9894 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.9777, allocations: 1.171 MB / 0.9905 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003939/0.9817, allocations: 2.657 MB / 0.9931 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.9832, allocations: 0.9867 MB / 0.9941 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003876/0.9871, allocations: 1.565 MB / 0.9956 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.9885, allocations: 0.8206 MB / 0.9964 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.9887, allocations: 104 kB / 0.9965 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003895/0.9926, allocations: 1.844 MB / 0.9983 GB, free: 15.02 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003907/0.993, allocations: 327.4 kB / 0.9986 GB, free: 14.7 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007765/0.9938, allocations: 0.6142 MB / 0.9992 GB, free: 14.08 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003404/0.9972, allocations: 2.158 MB / 1.001 GB, free: 11.92 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.9972, allocations: 0 / 1.001 GB, free: 11.92 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9972, allocations: 0 / 1.001 GB, free: 11.92 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.9973, allocations: 0 / 1.001 GB, free: 11.92 MB / 0.795 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.003623/1.001, allocations: 1.671 MB / 1.003 GB, free: 10.19 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/1.001, allocations: 8.031 kB / 1.003 GB, free: 10.18 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/1.003, allocations: 434 kB / 1.003 GB, free: 9.758 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/1.005, allocations: 0.9135 MB / 1.004 GB, free: 8.801 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005844/1.006, allocations: 173.9 kB / 1.004 GB, free: 8.633 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/1.006, allocations: 68 kB / 1.005 GB, free: 8.566 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/1.008, allocations: 1.095 MB / 1.006 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/1.008, allocations: 3.984 kB / 1.006 GB, free: 7.445 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.537e-05/1.008, allocations: 24 kB / 1.006 GB, free: 7.422 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-05/1.008, allocations: 34 kB / 1.006 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003031/1.011, allocations: 1.198 MB / 1.007 GB, free: 6.191 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.006352/1.018, allocations: 4.119 MB / 1.011 GB, free: 1.789 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/1.02, allocations: 0.8582 MB / 1.012 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/1.021, allocations: 0.502 MB / 1.012 GB, free: 428 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000835/1.022, allocations: 0.6331 MB / 1.013 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00147/1.024, allocations: 0.5939 MB / 1.013 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=57): time 3.927e-06/1.024, allocations: 0 / 1.013 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=57): time 0.004172/1.028, allocations: 1.411 MB / 1.015 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/1.028, allocations: 85.67 kB / 1.015 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/1.029, allocations: 0.8395 MB / 1.016 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.26e-05/1.029, allocations: 37.7 kB / 1.016 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/1.03, allocations: 428.3 kB / 1.016 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/1.03, allocations: 193.8 kB / 1.016 GB, free: 12 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/1.03, allocations: 130 kB / 1.016 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.03, allocations: 334 kB / 1.017 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/1.031, allocations: 422.8 kB / 1.017 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/1.033, allocations: 0.5447 MB / 1.018 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/1.035, allocations: 0.9132 MB / 1.019 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.035, allocations: 0.5625 kB / 1.019 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00283/1.038, allocations: 1.077 MB / 1.02 GB, free: 8.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/1.038, allocations: 37.67 kB / 1.02 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.038, allocations: 4 kB / 1.02 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/1.038, allocations: 4 kB / 1.02 GB, free: 8.449 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.039, allocations: 232.3 kB / 1.02 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007696/1.04, allocations: 1.193 MB / 1.021 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/1.041, allocations: 143.4 kB / 1.021 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.405e-05/1.041, allocations: 27.98 kB / 1.021 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001587/1.043, allocations: 0.6147 MB / 1.022 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001285/1.044, allocations: 0.5408 MB / 1.022 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002349/1.047, allocations: 0.9016 MB / 1.023 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/1.047, allocations: 0 / 1.023 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.00294/1.05, allocations: 1.077 MB / 1.024 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/1.05, allocations: 37.69 kB / 1.024 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.05, allocations: 0.5625 kB / 1.024 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/1.05, allocations: 4 kB / 1.024 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/1.051, allocations: 207.9 kB / 1.024 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/1.051, allocations: 4 kB / 1.024 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.052, allocations: 127.5 kB / 1.025 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.267e-05/1.052, allocations: 31.98 kB / 1.025 GB, free: 3.184 MB / 0.8106 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.0003073/1.052, allocations: 226.7 kB / 1.025 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/1.053, allocations: 98.78 kB / 1.025 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003229/1.056, allocations: 1.126 MB / 1.026 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/1.056, allocations: 8 kB / 1.026 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.056, allocations: 0 / 1.026 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/1.056, allocations: 3.984 kB / 1.026 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005279/1.061, allocations: 2.321 MB / 1.028 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.061, allocations: 4 kB / 1.028 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.062, allocations: 205.4 kB / 1.029 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.574e-05/1.062, allocations: 4 kB / 1.029 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.969e-05/1.062, allocations: 19.98 kB / 1.029 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007599/1.063, allocations: 1.185 MB / 1.03 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.063, allocations: 4.219 kB / 1.03 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/1.066, allocations: 1.212 MB / 1.031 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005996/1.067, allocations: 291.5 kB / 1.031 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/1.067, allocations: 27.92 kB / 1.031 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/1.068, allocations: 105.9 kB / 1.031 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/1.068, allocations: 52.38 kB / 1.031 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.654e-05/1.069, allocations: 35.97 kB / 1.031 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009452/1.069, allocations: 0.5781 MB / 1.032 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.91e-07/1.069, allocations: 0 / 1.032 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001838/1.071, allocations: 491.1 kB / 1.032 GB, free: 10.99 MB / 0.8262 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.0007904/1.072, allocations: 296 kB / 1.033 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004756/1.077, allocations: 1.644 MB / 1.034 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.077, allocations: 3.938 kB / 1.034 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001645/1.079, allocations: 0.5574 MB / 1.035 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/1.081, allocations: 433.5 kB / 1.035 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/1.085, allocations: 1.87 MB / 1.037 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007618/1.086, allocations: 1.046 MB / 1.038 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001264/1.087, allocations: 284.7 kB / 1.038 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/1.088, allocations: 83.41 kB / 1.038 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of SimCode: time 8.41e-07/1.088, allocations: 0 / 1.038 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of Templates: time 0.03558/1.123, allocations: 19.47 MB / 1.057 GB, free: 1.602 MB / 0.8419 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)