Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.007074/0.007074, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001562/0.001562, allocations: 194.4 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7273/0.7273, allocations: 122.9 MB / 413.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 68.58 kB / 0.4904 GB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1638, allocations: 77.92 MB / 0.5665 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.4712/0.635, allocations: 197.6 MB / 0.7595 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01229/0.6473, allocations: 7.737 MB / 0.767 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.6492, allocations: 35.75 kB / 0.7671 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002496/0.6517, allocations: 0.5711 MB / 0.7676 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005993/0.6577, allocations: 1.879 MB / 0.7694 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.6609, allocations: 1.014 MB / 0.7704 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004557/0.6654, allocations: 3.476 MB / 0.7738 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.6673, allocations: 0.8285 MB / 0.7746 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003728/0.6711, allocations: 1.397 MB / 0.776 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.6734, allocations: 0.8225 MB / 0.7768 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003694/0.6738, allocations: 52 kB / 0.7769 GB, free: 500 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004943/0.6787, allocations: 1.98 MB / 0.7788 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007026/0.6795, allocations: 278.9 kB / 0.7791 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.681, allocations: 0.5634 MB / 0.7796 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004378/0.6854, allocations: 2.15 MB / 0.7817 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6854, allocations: 0 / 0.7817 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6854, allocations: 0 / 0.7817 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.104e-05/0.6855, allocations: 0 / 0.7817 GB, free: 11.51 MB / 0.6075 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.005768/0.6913, allocations: 1.662 MB / 0.7833 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.6914, allocations: 8.031 kB / 0.7833 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00267/0.694, allocations: 434.1 kB / 0.7837 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.6962, allocations: 0.9212 MB / 0.7846 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006271/0.6969, allocations: 169.9 kB / 0.7848 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.6971, allocations: 75.94 kB / 0.7849 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/0.6998, allocations: 1.087 MB / 0.7859 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.6999, allocations: 0 / 0.7859 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.7, allocations: 35.98 kB / 0.786 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.078e-05/0.7001, allocations: 33.98 kB / 0.786 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003281/0.7033, allocations: 1.194 MB / 0.7872 GB, free: 5.777 MB / 0.6075 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.007145/0.7105, allocations: 4.111 MB / 0.7912 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/0.7131, allocations: 0.8562 MB / 0.792 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.7145, allocations: 0.4982 MB / 0.7925 GB, free: 12 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008753/0.7154, allocations: 0.6331 MB / 0.7931 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001631/0.717, allocations: 0.5952 MB / 0.7937 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 4.599e-06/0.717, allocations: 4 kB / 0.7937 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.004658/0.7217, allocations: 1.403 MB / 0.7951 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/0.7218, allocations: 81.67 kB / 0.7952 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.7233, allocations: 0.8395 MB / 0.796 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.7234, allocations: 37.7 kB / 0.796 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.7239, allocations: 428.4 kB / 0.7964 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.7241, allocations: 193.1 kB / 0.7966 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/0.7243, allocations: 126.1 kB / 0.7967 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.7245, allocations: 337.9 kB / 0.7971 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.7257, allocations: 422.8 kB / 0.7975 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.727, allocations: 0.5274 MB / 0.798 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/0.7295, allocations: 0.889 MB / 0.7988 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.7295, allocations: 0 / 0.7988 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003011/0.7325, allocations: 1.069 MB / 0.7999 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.7326, allocations: 35.73 kB / 0.7999 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.7326, allocations: 2.109 kB / 0.7999 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.7326, allocations: 4 kB / 0.7999 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.734, allocations: 227.8 kB / 0.8001 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007394/0.7348, allocations: 1.192 MB / 0.8013 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.7361, allocations: 171.3 kB / 0.8015 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.7362, allocations: 27.98 kB / 0.8015 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001542/0.7378, allocations: 0.6142 MB / 0.8021 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001309/0.7391, allocations: 0.5236 MB / 0.8026 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002369/0.7415, allocations: 0.885 MB / 0.8035 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.899e-06/0.7415, allocations: 3.984 kB / 0.8035 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.002959/0.7444, allocations: 1.058 MB / 0.8045 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.7445, allocations: 33.7 kB / 0.8045 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7445, allocations: 0 / 0.8045 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.7445, allocations: 4 kB / 0.8045 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.7455, allocations: 199.9 kB / 0.8047 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.7456, allocations: 4 kB / 0.8047 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.7468, allocations: 155.4 kB / 0.8049 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.138e-05/0.7469, allocations: 27.98 kB / 0.8049 GB, free: 2.879 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (66): * Single equations (assignments): 63 * 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.0002951/0.7472, allocations: 222.3 kB / 0.8051 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.7475, allocations: 98.78 kB / 0.8052 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.7507, allocations: 1.137 MB / 0.8063 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.7507, allocations: 4 kB / 0.8063 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.7507, allocations: 0 / 0.8063 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.7507, allocations: 3.984 kB / 0.8063 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005142/0.7559, allocations: 2.318 MB / 0.8086 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.7559, allocations: 4 kB / 0.8086 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.757, allocations: 196 kB / 0.8088 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.757, allocations: 4 kB / 0.8088 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/0.7571, allocations: 19.98 kB / 0.8088 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006512/0.7578, allocations: 1.199 MB / 0.81 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.7578, allocations: 7.938 kB / 0.81 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/0.7609, allocations: 1.216 MB / 0.8112 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006036/0.7615, allocations: 283.7 kB / 0.8115 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.7617, allocations: 19.98 kB / 0.8115 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.763, allocations: 151.6 kB / 0.8116 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.7632, allocations: 56.36 kB / 0.8117 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.655e-05/0.7633, allocations: 27.98 kB / 0.8117 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008922/0.7642, allocations: 0.5821 MB / 0.8123 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7642, allocations: 0 / 0.8123 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001547/0.7657, allocations: 483.2 kB / 0.8127 GB, free: 10.64 MB / 0.6387 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.0007753/0.7665, allocations: 298 kB / 0.813 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004736/0.7713, allocations: 1.606 MB / 0.8146 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7713, allocations: 4 kB / 0.8146 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.7729, allocations: 0.5651 MB / 0.8151 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/0.7757, allocations: 474.3 kB / 0.8156 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005083/0.7808, allocations: 2.244 MB / 0.8178 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.7815, allocations: 1.047 MB / 0.8188 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001486/0.783, allocations: 295 kB / 0.8191 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003355/0.7834, allocations: 79.41 kB / 0.8192 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of SimCode: time 1.543e-06/0.7834, allocations: 0 / 0.8192 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of Templates: time 0.3059/1.089, allocations: 18.96 MB / 0.8377 GB, free: 221.9 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)