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.001087/0.001087, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.001051/0.001052, allocations: 198.3 kB / 17.3 MB, free: 5.801 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.33/1.33, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.819/1.819, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001433/0.001433, allocations: 75 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2139, allocations: 114.5 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5483/0.7623, allocations: 200 MB / 0.9801 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.773, allocations: 7.568 MB / 0.9875 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.7747, allocations: 43.75 kB / 0.9875 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.7767, allocations: 0.691 MB / 0.9882 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004988/0.7817, allocations: 1.967 MB / 0.9901 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.7848, allocations: 1.168 MB / 0.9912 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003755/0.7885, allocations: 2.659 MB / 0.9938 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.7899, allocations: 0.9841 MB / 0.9948 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/0.7937, allocations: 1.569 MB / 0.9963 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.7951, allocations: 0.8274 MB / 0.9971 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.7953, allocations: 100 kB / 0.9972 GB, free: 416 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003374/0.7987, allocations: 1.844 MB / 0.999 GB, free: 14.56 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003544/0.799, allocations: 326.9 kB / 0.9993 GB, free: 14.24 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007485/0.7998, allocations: 0.6103 MB / 0.9999 GB, free: 13.62 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003335/0.8031, allocations: 2.158 MB / 1.002 GB, free: 11.46 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8032, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8032, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.657e-05/0.8032, allocations: 0 / 1.002 GB, free: 11.46 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.003836/0.8071, allocations: 1.669 MB / 1.004 GB, free: 9.734 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.8071, allocations: 8.031 kB / 1.004 GB, free: 9.727 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002549/0.8097, allocations: 438.1 kB / 1.004 GB, free: 9.297 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.8118, allocations: 0.9096 MB / 1.005 GB, free: 8.344 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006378/0.8124, allocations: 165.9 kB / 1.005 GB, free: 8.184 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.8126, allocations: 75.98 kB / 1.005 GB, free: 8.109 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.8151, allocations: 1.091 MB / 1.006 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.8151, allocations: 3.938 kB / 1.006 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/0.8152, allocations: 32 kB / 1.006 GB, free: 6.961 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/0.8152, allocations: 30 kB / 1.006 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003072/0.8183, allocations: 1.191 MB / 1.008 GB, free: 5.742 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.006423/0.8248, allocations: 4.125 MB / 1.012 GB, free: 1.336 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/0.8274, allocations: 0.8659 MB / 1.012 GB, free: 476 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.8287, allocations: 0.4995 MB / 1.013 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009108/0.8297, allocations: 0.6407 MB / 1.014 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001631/0.8313, allocations: 0.5914 MB / 1.014 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=57): time 3.066e-06/0.8313, allocations: 0.5625 kB / 1.014 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of matching and sorting (n=57): time 0.00452/0.8358, allocations: 1.403 MB / 1.015 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.174e-05/0.836, allocations: 93.61 kB / 1.016 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.8373, allocations: 0.8317 MB / 1.016 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.8374, allocations: 37.7 kB / 1.016 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/0.8378, allocations: 432.3 kB / 1.017 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.838, allocations: 193.8 kB / 1.017 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.8383, allocations: 138 kB / 1.017 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.8384, allocations: 330 kB / 1.017 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.8396, allocations: 422.8 kB / 1.018 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.841, allocations: 0.5468 MB / 1.018 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/0.8435, allocations: 0.9054 MB / 1.019 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8435, allocations: 0.5625 kB / 1.019 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003005/0.8466, allocations: 1.089 MB / 1.02 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.8466, allocations: 33.7 kB / 1.02 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.8466, allocations: 0 / 1.02 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.8466, allocations: 4 kB / 1.02 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.8481, allocations: 235.6 kB / 1.021 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006757/0.8487, allocations: 1.192 MB / 1.022 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.8499, allocations: 139.3 kB / 1.022 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/0.85, allocations: 31.98 kB / 1.022 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00159/0.8516, allocations: 0.6141 MB / 1.023 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001338/0.8529, allocations: 0.5377 MB / 1.023 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002401/0.8554, allocations: 0.9015 MB / 1.024 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.8554, allocations: 0 / 1.024 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.00298/0.8584, allocations: 1.073 MB / 1.025 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.8584, allocations: 45.8 kB / 1.025 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.8584, allocations: 4 kB / 1.025 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.8584, allocations: 5.312 kB / 1.025 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.8595, allocations: 191.8 kB / 1.025 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.8595, allocations: 11.94 kB / 1.025 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.8607, allocations: 131.5 kB / 1.025 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.077e-05/0.8608, allocations: 29.42 kB / 1.025 GB, free: 2.727 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.0002993/0.8611, allocations: 220.1 kB / 1.026 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.8613, allocations: 98.78 kB / 1.026 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003055/0.8644, allocations: 1.134 MB / 1.027 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.8644, allocations: 4 kB / 1.027 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8644, allocations: 0 / 1.027 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.8644, allocations: 7.984 kB / 1.027 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00473/0.8692, allocations: 2.322 MB / 1.029 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.8692, allocations: 5.875 kB / 1.029 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.8703, allocations: 202.5 kB / 1.029 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.8703, allocations: 4 kB / 1.029 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.737e-05/0.8704, allocations: 19.98 kB / 1.029 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006487/0.871, allocations: 1.188 MB / 1.03 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.8711, allocations: 0 / 1.03 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/0.8742, allocations: 1.216 MB / 1.032 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006843/0.8749, allocations: 287.5 kB / 1.032 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.875, allocations: 23.92 kB / 1.032 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.8761, allocations: 107.9 kB / 1.032 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.8763, allocations: 56.31 kB / 1.032 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.95e-05/0.8764, allocations: 35.91 kB / 1.032 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008641/0.8773, allocations: 0.5782 MB / 1.033 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8773, allocations: 4 kB / 1.033 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001395/0.8787, allocations: 487.1 kB / 1.033 GB, free: 10.54 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.0006576/0.8794, allocations: 301.5 kB / 1.033 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004718/0.8841, allocations: 1.632 MB / 1.035 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.8841, allocations: 0 / 1.035 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.8858, allocations: 0.5612 MB / 1.036 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.8879, allocations: 443.9 kB / 1.036 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003964/0.8919, allocations: 1.875 MB / 1.038 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.8925, allocations: 1.043 MB / 1.039 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001078/0.8935, allocations: 284.6 kB / 1.039 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.8938, allocations: 87.41 kB / 1.039 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of SimCode: time 8.22e-07/0.8938, allocations: 0 / 1.039 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.0313/0.9251, allocations: 19.48 MB / 1.058 GB, free: 1.121 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)