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.001168/0.001167, allocations: 108 kB / 15.61 MB, free: 152 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.001288/0.001288, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.508/1.508, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.712/1.712, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001553/0.001553, allocations: 66.94 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2939, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.7642/1.058, allocations: 200 MB / 0.9787 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01235/1.071, allocations: 7.568 MB / 0.986 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/1.073, allocations: 42.56 kB / 0.9861 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002231/1.075, allocations: 0.6874 MB / 0.9868 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007046/1.082, allocations: 1.963 MB / 0.9887 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00389/1.086, allocations: 1.152 MB / 0.9898 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005499/1.092, allocations: 2.658 MB / 0.9924 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/1.094, allocations: 0.9869 MB / 0.9934 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004817/1.098, allocations: 1.577 MB / 0.9949 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/1.1, allocations: 0.8146 MB / 0.9957 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001974/1.1, allocations: 102.9 kB / 0.9958 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004217/1.104, allocations: 1.838 MB / 0.9976 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003899/1.105, allocations: 328.7 kB / 0.9979 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008409/1.106, allocations: 0.6099 MB / 0.9985 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003722/1.109, allocations: 2.135 MB / 1.001 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.109, allocations: 0 / 1.001 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.923e-06/1.109, allocations: 4 kB / 1.001 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.54e-05/1.109, allocations: 0 / 1.001 GB, free: 4.43 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.003583/1.113, allocations: 1.67 MB / 1.002 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1.113, allocations: 9.781 kB / 1.002 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002414/1.116, allocations: 437.9 kB / 1.003 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/1.117, allocations: 0.9114 MB / 1.004 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006443/1.118, allocations: 167.9 kB / 1.004 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/1.118, allocations: 74.34 kB / 1.004 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/1.12, allocations: 1.09 MB / 1.005 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/1.12, allocations: 1.781 kB / 1.005 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.21e-05/1.12, allocations: 29.91 kB / 1.005 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.56e-05/1.121, allocations: 33.55 kB / 1.005 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00326/1.124, allocations: 1.192 MB / 1.006 GB, free: 0.9219 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.006481/1.13, allocations: 4.146 MB / 1.01 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/1.133, allocations: 0.8615 MB / 1.011 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/1.134, allocations: 0.4905 MB / 1.011 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007727/1.135, allocations: 0.6432 MB / 1.012 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00154/1.137, allocations: 0.5964 MB / 1.013 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=57): time 1.853e-06/1.137, allocations: 0 / 1.013 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of matching and sorting (n=57): time 0.004439/1.141, allocations: 1.404 MB / 1.014 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/1.141, allocations: 87.02 kB / 1.014 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/1.142, allocations: 0.8447 MB / 1.015 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.112e-05/1.142, allocations: 42.64 kB / 1.015 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/1.143, allocations: 425.2 kB / 1.015 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/1.143, allocations: 188.8 kB / 1.016 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/1.143, allocations: 139.5 kB / 1.016 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.143, allocations: 327.2 kB / 1.016 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/1.144, allocations: 424.3 kB / 1.016 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/1.146, allocations: 0.5544 MB / 1.017 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/1.148, allocations: 0.8965 MB / 1.018 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.148, allocations: 2.281 kB / 1.018 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003042/1.151, allocations: 1.081 MB / 1.019 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/1.151, allocations: 39.47 kB / 1.019 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.151, allocations: 2.094 kB / 1.019 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.152, allocations: 4.719 kB / 1.019 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/1.153, allocations: 230.9 kB / 1.019 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007083/1.154, allocations: 1.202 MB / 1.02 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/1.155, allocations: 140 kB / 1.02 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.146e-05/1.155, allocations: 30.22 kB / 1.02 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001631/1.156, allocations: 0.6131 MB / 1.021 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001374/1.158, allocations: 0.5427 MB / 1.022 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002465/1.16, allocations: 0.8944 MB / 1.022 GB, free: 5.371 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/1.16, allocations: 0 / 1.022 GB, free: 5.371 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.003001/1.163, allocations: 1.078 MB / 1.024 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/1.163, allocations: 37.17 kB / 1.024 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.163, allocations: 2.688 kB / 1.024 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.804e-06/1.163, allocations: 4.781 kB / 1.024 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/1.164, allocations: 206.1 kB / 1.024 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.164, allocations: 4.562 kB / 1.024 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/1.166, allocations: 138.7 kB / 1.024 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/1.166, allocations: 28.08 kB / 1.024 GB, free: 4.641 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.0002868/1.166, allocations: 217.6 kB / 1.024 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/1.166, allocations: 98.72 kB / 1.024 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/1.169, allocations: 1.124 MB / 1.025 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/1.169, allocations: 6.875 kB / 1.025 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.169, allocations: 0 / 1.025 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.169, allocations: 7.984 kB / 1.025 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004792/1.174, allocations: 2.319 MB / 1.028 GB, free: 2.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.174, allocations: 2.906 kB / 1.028 GB, free: 2.238 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/1.175, allocations: 203.6 kB / 1.028 GB, free: 2.172 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/1.175, allocations: 5.344 kB / 1.028 GB, free: 2.172 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.499e-05/1.175, allocations: 22.08 kB / 1.028 GB, free: 2.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005722/1.176, allocations: 1.191 MB / 1.029 GB, free: 0.9531 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.176, allocations: 7 kB / 1.029 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/1.179, allocations: 1.21 MB / 1.03 GB, free: 56 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004788/1.179, allocations: 295.6 kB / 1.03 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/1.18, allocations: 15.94 kB / 1.03 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/1.181, allocations: 103.9 kB / 1.031 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/1.181, allocations: 64.36 kB / 1.031 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.345e-05/1.181, allocations: 27.97 kB / 1.031 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007265/1.182, allocations: 0.5782 MB / 1.031 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/1.182, allocations: 3.938 kB / 1.031 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001305/1.183, allocations: 491 kB / 1.032 GB, free: 14.46 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.0006146/1.184, allocations: 295.5 kB / 1.032 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005065/1.189, allocations: 1.68 MB / 1.034 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.189, allocations: 0 / 1.034 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001669/1.19, allocations: 0.5574 MB / 1.034 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/1.193, allocations: 448.3 kB / 1.035 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/1.197, allocations: 1.911 MB / 1.036 GB, free: 9.52 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005794/1.197, allocations: 1.047 MB / 1.037 GB, free: 8.445 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00126/1.199, allocations: 286.4 kB / 1.038 GB, free: 8.164 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/1.199, allocations: 83.41 kB / 1.038 GB, free: 8.086 MB / 0.7637 GB Notification: Performance of SimCode: time 8.42e-07/1.199, allocations: 0 / 1.038 GB, free: 8.086 MB / 0.7637 GB Notification: Performance of Templates: time 0.03311/1.232, allocations: 19.48 MB / 1.057 GB, free: 4.887 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)