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.001604/0.001604, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002084/0.002083, allocations: 198.6 kB / 16.64 MB, free: 6.445 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.402/1.402, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.75/1.75, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001455/0.001455, allocations: 68.27 kB / 0.6723 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2796, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.7276/1.007, allocations: 200 MB / 0.9794 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01399/1.021, allocations: 7.57 MB / 0.9868 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/1.024, allocations: 41.5 kB / 0.9869 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002401/1.027, allocations: 0.6852 MB / 0.9875 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007068/1.034, allocations: 1.973 MB / 0.9894 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003756/1.037, allocations: 1.174 MB / 0.9906 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005156/1.043, allocations: 2.664 MB / 0.9932 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/1.044, allocations: 0.9829 MB / 0.9942 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004925/1.049, allocations: 1.576 MB / 0.9957 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/1.051, allocations: 0.8177 MB / 0.9965 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001981/1.052, allocations: 113.6 kB / 0.9966 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005752/1.057, allocations: 1.833 MB / 0.9984 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000598/1.058, allocations: 329.6 kB / 0.9987 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/1.059, allocations: 0.612 MB / 0.9993 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005017/1.064, allocations: 2.158 MB / 1.001 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/1.064, allocations: 0 / 1.001 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.526e-06/1.064, allocations: 0 / 1.001 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.976e-05/1.064, allocations: 0 / 1.001 GB, free: 4.656 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.004032/1.068, allocations: 1.672 MB / 1.003 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001092/1.068, allocations: 10.12 kB / 1.003 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00227/1.071, allocations: 429 kB / 1.003 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/1.072, allocations: 0.9619 MB / 1.004 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.574e-05/1.073, allocations: 59.12 kB / 1.004 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/1.073, allocations: 74.44 kB / 1.005 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/1.075, allocations: 1.078 MB / 1.006 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.075, allocations: 6.312 kB / 1.006 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.041e-05/1.075, allocations: 25.44 kB / 1.006 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-05/1.075, allocations: 37.98 kB / 1.006 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/1.078, allocations: 1.175 MB / 1.007 GB, free: 1.172 MB / 0.7325 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.007152/1.085, allocations: 4.104 MB / 1.011 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/1.088, allocations: 0.8371 MB / 1.012 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/1.089, allocations: 495.5 kB / 1.012 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008136/1.09, allocations: 0.6433 MB / 1.013 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/1.091, allocations: 0.58 MB / 1.013 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=57): time 2.394e-06/1.091, allocations: 0 / 1.013 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=57): time 0.004137/1.095, allocations: 1.38 MB / 1.015 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/1.095, allocations: 89.23 kB / 1.015 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/1.096, allocations: 0.8399 MB / 1.016 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.22e-05/1.097, allocations: 38.58 kB / 1.016 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003743/1.097, allocations: 429.2 kB / 1.016 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/1.097, allocations: 188.8 kB / 1.016 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/1.097, allocations: 133.6 kB / 1.016 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.098, allocations: 329.5 kB / 1.017 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/1.099, allocations: 420.5 kB / 1.017 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/1.1, allocations: 0.5291 MB / 1.018 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/1.102, allocations: 0.8835 MB / 1.018 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.102, allocations: 0 / 1.018 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002799/1.105, allocations: 1.07 MB / 1.019 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/1.105, allocations: 35.36 kB / 1.019 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.105, allocations: 2.531 kB / 1.019 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/1.105, allocations: 2.844 kB / 1.019 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/1.106, allocations: 229.5 kB / 1.02 GB, free: 8.168 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007436/1.107, allocations: 1.194 MB / 1.021 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/1.108, allocations: 132.4 kB / 1.021 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-05/1.108, allocations: 31.53 kB / 1.021 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001449/1.11, allocations: 0.6078 MB / 1.022 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001249/1.111, allocations: 0.5272 MB / 1.022 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002322/1.113, allocations: 0.8865 MB / 1.023 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.227e-06/1.113, allocations: 112 / 1.023 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002896/1.116, allocations: 1.066 MB / 1.024 GB, free: 5.164 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/1.116, allocations: 41.25 kB / 1.024 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.116, allocations: 2.75 kB / 1.024 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/1.116, allocations: 4.344 kB / 1.024 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009545/1.117, allocations: 196.2 kB / 1.024 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/1.117, allocations: 2.719 kB / 1.024 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.119, allocations: 131.6 kB / 1.024 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/1.119, allocations: 31.73 kB / 1.024 GB, free: 4.984 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.0003156/1.119, allocations: 222.3 kB / 1.025 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/1.119, allocations: 98.62 kB / 1.025 GB, free: 4.719 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003073/1.122, allocations: 1.104 MB / 1.026 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/1.122, allocations: 7.656 kB / 1.026 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.122, allocations: 0 / 1.026 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.122, allocations: 7.984 kB / 1.026 GB, free: 4.117 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00485/1.127, allocations: 2.292 MB / 1.028 GB, free: 2.598 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.127, allocations: 3.5 kB / 1.028 GB, free: 2.598 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009377/1.128, allocations: 196.1 kB / 1.028 GB, free: 2.539 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/1.128, allocations: 9.375 kB / 1.028 GB, free: 2.535 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.899e-05/1.128, allocations: 23.62 kB / 1.028 GB, free: 2.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006796/1.129, allocations: 1.191 MB / 1.029 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.129, allocations: 3.688 kB / 1.029 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/1.132, allocations: 1.193 MB / 1.031 GB, free: 0.6016 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004898/1.132, allocations: 284.8 kB / 1.031 GB, free: 364 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/1.132, allocations: 17.12 kB / 1.031 GB, free: 352 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009216/1.133, allocations: 105.7 kB / 1.031 GB, free: 304 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/1.133, allocations: 60.66 kB / 1.031 GB, free: 268 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.044e-05/1.134, allocations: 32.41 kB / 1.031 GB, free: 256 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007538/1.134, allocations: 0.5836 MB / 1.032 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.91e-07/1.134, allocations: 0 / 1.032 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001334/1.136, allocations: 495 kB / 1.032 GB, free: 15.2 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.0006975/1.136, allocations: 296.9 kB / 1.032 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004783/1.141, allocations: 1.61 MB / 1.034 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.141, allocations: 0 / 1.034 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/1.143, allocations: 0.5495 MB / 1.035 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/1.145, allocations: 440.6 kB / 1.035 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/1.149, allocations: 1.871 MB / 1.037 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/1.15, allocations: 1.043 MB / 1.038 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001103/1.151, allocations: 282.8 kB / 1.038 GB, free: 9.031 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/1.151, allocations: 83.41 kB / 1.038 GB, free: 8.953 MB / 0.7637 GB Notification: Performance of SimCode: time 9.72e-07/1.151, allocations: 4 kB / 1.038 GB, free: 8.949 MB / 0.7637 GB Notification: Performance of Templates: time 0.03285/1.184, allocations: 19.45 MB / 1.057 GB, free: 5.77 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)