Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.695/2.695, allocations: 287.5 MB / 302.4 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001435/0.001434, allocations: 188.8 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009903/0.0009899, allocations: 88.91 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.0004932, allocations: 12.36 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2144, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.06027/0.2747, allocations: 44.39 MB / 1.022 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02844/0.3032, allocations: 13.08 MB / 1.034 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.3056, allocations: 51.62 kB / 1.035 GB, free: 2.719 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.3086, allocations: 0.5238 MB / 1.035 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00694/0.3156, allocations: 1.49 MB / 1.036 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01192/0.3275, allocations: 2.633 MB / 1.039 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007309/0.3349, allocations: 3.702 MB / 1.043 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.3373, allocations: 0.8993 MB / 1.044 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004153/0.3415, allocations: 1.236 MB / 1.045 GB, free: 8.219 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/0.3441, allocations: 0.9098 MB / 1.046 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0005087/0.3446, allocations: 56 kB / 1.046 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006581/0.3512, allocations: 1.99 MB / 1.048 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0007618/0.352, allocations: 258.7 kB / 1.048 GB, free: 5.004 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007918/0.3528, allocations: 312.9 kB / 1.048 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005139/0.358, allocations: 2.081 MB / 1.05 GB, free: 2.605 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.495e-06/0.358, allocations: 0 / 1.05 GB, free: 2.605 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.946e-06/0.358, allocations: 0 / 1.05 GB, free: 2.605 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.252e-05/0.3581, allocations: 3.938 kB / 1.05 GB, free: 2.602 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.005837/0.364, allocations: 1.855 MB / 1.052 GB, free: 0.6836 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.364, allocations: 15.97 kB / 1.052 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/0.3672, allocations: 425.7 kB / 1.052 GB, free: 256 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004034/0.3713, allocations: 1.129 MB / 1.054 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001289/0.3727, allocations: 206.2 kB / 1.054 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004098/0.3731, allocations: 100 kB / 1.054 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004054/0.3772, allocations: 1.134 MB / 1.055 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.3772, allocations: 3.938 kB / 1.055 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.3774, allocations: 36 kB / 1.055 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/0.3775, allocations: 28 kB / 1.055 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005088/0.3826, allocations: 1.062 MB / 1.056 GB, free: 12.46 MB / 0.6823 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.01319/0.3958, allocations: 4.762 MB / 1.061 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004461/0.4003, allocations: 0.9004 MB / 1.062 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00214/0.4025, allocations: 486.6 kB / 1.062 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001917/0.4045, allocations: 1.091 MB / 1.063 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002437/0.4069, allocations: 0.547 MB / 1.064 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 4.869e-06/0.407, allocations: 0 / 1.064 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.006723/0.4137, allocations: 1.398 MB / 1.065 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.4139, allocations: 137.2 kB / 1.065 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/0.4163, allocations: 1.179 MB / 1.066 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000271/0.4166, allocations: 49.7 kB / 1.066 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000826/0.4175, allocations: 0.5992 MB / 1.067 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003972/0.4179, allocations: 248.3 kB / 1.067 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.547e-05/0.418, allocations: 20 kB / 1.067 GB, free: 488 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.4182, allocations: 349.9 kB / 1.068 GB, free: 132 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6197/1.038, allocations: 458.6 kB / 1.068 GB, free: 89.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002859/1.041, allocations: 0.7038 MB / 1.069 GB, free: 88.78 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/1.043, allocations: 0.5308 MB / 1.069 GB, free: 88.74 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/1.043, allocations: 5 kB / 1.069 GB, free: 88.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.005768/1.049, allocations: 1.341 MB / 1.07 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001731/1.049, allocations: 250.5 kB / 1.071 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.218e-05/1.049, allocations: 6.797 kB / 1.071 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-05/1.049, allocations: 9.312 kB / 1.071 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/1.052, allocations: 315 kB / 1.071 GB, free: 88.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008146/1.053, allocations: 1.201 MB / 1.072 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/1.056, allocations: 203.5 kB / 1.072 GB, free: 86.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002678/1.056, allocations: 54.88 kB / 1.072 GB, free: 86.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.056, allocations: 2.938 kB / 1.072 GB, free: 86.96 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005444/1.062, allocations: 1.209 MB / 1.074 GB, free: 86.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.719e-05/1.062, allocations: 9.516 kB / 1.074 GB, free: 86.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/1.062, allocations: 10.44 kB / 1.074 GB, free: 86.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/1.064, allocations: 281.5 kB / 1.074 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.819e-05/1.064, allocations: 9.891 kB / 1.074 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/1.067, allocations: 188.4 kB / 1.074 GB, free: 86.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/1.067, allocations: 53.94 kB / 1.074 GB, free: 86.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 117 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009187/1.068, allocations: 382.7 kB / 1.075 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004206/1.068, allocations: 144.5 kB / 1.075 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005646/1.074, allocations: 1.323 MB / 1.076 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.208e-05/1.074, allocations: 9.891 kB / 1.076 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/1.074, allocations: 0.7812 kB / 1.076 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/1.074, allocations: 4.734 kB / 1.076 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008482/1.083, allocations: 2.546 MB / 1.078 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/1.083, allocations: 5.031 kB / 1.078 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/1.085, allocations: 229.6 kB / 1.079 GB, free: 84.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.616e-05/1.085, allocations: 6.469 kB / 1.079 GB, free: 84.58 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/1.085, allocations: 28.08 kB / 1.079 GB, free: 84.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005773/1.086, allocations: 1.188 MB / 1.08 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.086, allocations: 2.656 kB / 1.08 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007963/1.094, allocations: 1.908 MB / 1.082 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.095, allocations: 352.8 kB / 1.082 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003712/1.095, allocations: 20.38 kB / 1.082 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/1.097, allocations: 121.3 kB / 1.082 GB, free: 82.28 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/1.098, allocations: 72.86 kB / 1.082 GB, free: 82.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/1.098, allocations: 39.75 kB / 1.082 GB, free: 82.26 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001893/1.1, allocations: 0.7792 MB / 1.083 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.91e-07/1.1, allocations: 0 / 1.083 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003472/1.103, allocations: 0.7889 MB / 1.084 GB, free: 81.82 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00184/1.105, allocations: 0.5538 MB / 1.084 GB, free: 81.67 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008824/1.114, allocations: 1.967 MB / 1.086 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.114, allocations: 5.031 kB / 1.086 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003174/1.117, allocations: 0.6056 MB / 1.087 GB, free: 80.78 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005946/1.123, allocations: 0.5989 MB / 1.088 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008454/1.132, allocations: 2.983 MB / 1.09 GB, free: 78.96 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009367/1.133, allocations: 1.167 MB / 1.092 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002994/1.136, allocations: 367.9 kB / 1.092 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006376/1.136, allocations: 128.2 kB / 1.092 GB, free: 78.12 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/1.137, allocations: 0 / 1.092 GB, free: 78.12 MB / 0.6823 GB Notification: Performance of Templates: time 0.0746/1.211, allocations: 27.41 MB / 1.119 GB, free: 66.59 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)