Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.702/1.702, allocations: 288.4 MB / 303.4 MB, free: 8.211 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.00108/0.00108, allocations: 194.9 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.4 MB / 0.6307 GB, free: 9.961 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.0007922/0.0007923, allocations: 85.73 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003618, allocations: 11.94 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2016, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.03564/0.2373, allocations: 44.4 MB / 1.023 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01925/0.2566, allocations: 13.06 MB / 1.036 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.2591, allocations: 51.62 kB / 1.036 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.2611, allocations: 0.5277 MB / 1.036 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005596/0.2667, allocations: 1.492 MB / 1.038 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007983/0.2747, allocations: 2.632 MB / 1.04 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004959/0.2797, allocations: 3.698 MB / 1.044 GB, free: 9.668 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.2812, allocations: 0.8993 MB / 1.045 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/0.2838, allocations: 1.248 MB / 1.046 GB, free: 7.5 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.2851, allocations: 0.9058 MB / 1.047 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.2853, allocations: 56 kB / 1.047 GB, free: 6.535 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003761/0.2891, allocations: 1.993 MB / 1.049 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003019/0.2894, allocations: 258.7 kB / 1.049 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005121/0.2899, allocations: 312.9 kB / 1.049 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00322/0.2931, allocations: 2.073 MB / 1.051 GB, free: 1.895 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2932, allocations: 3.938 kB / 1.051 GB, free: 1.891 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.126e-06/0.2932, allocations: 0 / 1.051 GB, free: 1.891 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.112e-05/0.2932, allocations: 0 / 1.051 GB, free: 1.891 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.003637/0.2968, allocations: 1.855 MB / 1.053 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2969, allocations: 16.02 kB / 1.053 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.2986, allocations: 421.7 kB / 1.054 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.3008, allocations: 1.142 MB / 1.055 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006645/0.3015, allocations: 210.2 kB / 1.055 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.3017, allocations: 100 kB / 1.055 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.3039, allocations: 1.134 MB / 1.056 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.3039, allocations: 3.938 kB / 1.056 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/0.304, allocations: 36 kB / 1.056 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.3041, allocations: 20 kB / 1.056 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/0.3065, allocations: 1.054 MB / 1.057 GB, free: 11.75 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.00723/0.3138, allocations: 4.766 MB / 1.062 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.3161, allocations: 0.9052 MB / 1.063 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.3171, allocations: 474.6 kB / 1.063 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/0.3184, allocations: 1.084 MB / 1.064 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/0.3197, allocations: 0.547 MB / 1.065 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.547e-06/0.3197, allocations: 0 / 1.065 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.003726/0.3234, allocations: 1.398 MB / 1.066 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.3235, allocations: 137.2 kB / 1.066 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.3251, allocations: 1.179 MB / 1.068 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.3252, allocations: 49.7 kB / 1.068 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004948/0.3257, allocations: 0.5953 MB / 1.068 GB, free: 44 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.4471/0.7729, allocations: 242.1 kB / 1.068 GB, free: 89.28 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.773, allocations: 19.16 kB / 1.068 GB, free: 89.28 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.7732, allocations: 344.8 kB / 1.069 GB, free: 88.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.7747, allocations: 467.1 kB / 1.069 GB, free: 88.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.7764, allocations: 0.7101 MB / 1.07 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.7777, allocations: 0.5263 MB / 1.07 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.7777, allocations: 5.344 kB / 1.07 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003416/0.7811, allocations: 1.352 MB / 1.072 GB, free: 88.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.7813, allocations: 249.2 kB / 1.072 GB, free: 88.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.7813, allocations: 11.7 kB / 1.072 GB, free: 88.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.7813, allocations: 14.89 kB / 1.072 GB, free: 88.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.7829, allocations: 308.9 kB / 1.072 GB, free: 88.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005086/0.7834, allocations: 1.194 MB / 1.073 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.7849, allocations: 208.8 kB / 1.074 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.785, allocations: 51.06 kB / 1.074 GB, free: 86.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.785, allocations: 4.531 kB / 1.074 GB, free: 86.85 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003033/0.7881, allocations: 1.211 MB / 1.075 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.7881, allocations: 6.109 kB / 1.075 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.7881, allocations: 9 kB / 1.075 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.7894, allocations: 277.4 kB / 1.075 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.7894, allocations: 15.44 kB / 1.075 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.7911, allocations: 197.2 kB / 1.075 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.7913, allocations: 54.11 kB / 1.075 GB, free: 86.37 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.0009402/0.7922, allocations: 375.1 kB / 1.076 GB, free: 86.08 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004271/0.7927, allocations: 142.8 kB / 1.076 GB, free: 86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003757/0.7964, allocations: 1.321 MB / 1.077 GB, free: 85.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.749e-05/0.7965, allocations: 10.75 kB / 1.077 GB, free: 85.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.7965, allocations: 3.953 kB / 1.077 GB, free: 85.56 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/0.7965, allocations: 5.125 kB / 1.077 GB, free: 85.56 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006003/0.8025, allocations: 2.544 MB / 1.08 GB, free: 84.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.8025, allocations: 2.406 kB / 1.08 GB, free: 84.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.8037, allocations: 222.9 kB / 1.08 GB, free: 84.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.8037, allocations: 5.828 kB / 1.08 GB, free: 84.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.232e-05/0.8038, allocations: 33.42 kB / 1.08 GB, free: 84.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003947/0.8042, allocations: 1.188 MB / 1.081 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.8042, allocations: 7.438 kB / 1.081 GB, free: 83.19 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004343/0.8085, allocations: 1.906 MB / 1.083 GB, free: 82.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/0.8091, allocations: 356.7 kB / 1.083 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.8093, allocations: 24.69 kB / 1.083 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.8103, allocations: 117.5 kB / 1.083 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.8105, allocations: 70.52 kB / 1.083 GB, free: 82.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.499e-05/0.8106, allocations: 40.53 kB / 1.084 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001234/0.8119, allocations: 0.7783 MB / 1.084 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8119, allocations: 1.25 kB / 1.084 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00261/0.8145, allocations: 0.7893 MB / 1.085 GB, free: 81.61 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.001297/0.8158, allocations: 0.5621 MB / 1.086 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005393/0.8212, allocations: 1.973 MB / 1.088 GB, free: 80.74 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.8212, allocations: 1.094 kB / 1.088 GB, free: 80.74 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.8227, allocations: 0.6016 MB / 1.088 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/0.8257, allocations: 0.5936 MB / 1.089 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006214/0.8319, allocations: 2.986 MB / 1.092 GB, free: 78.76 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.8331, allocations: 1.181 MB / 1.093 GB, free: 78.01 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001793/0.8349, allocations: 366.8 kB / 1.093 GB, free: 77.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/0.8353, allocations: 123.2 kB / 1.093 GB, free: 77.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.102e-06/0.8353, allocations: 0 / 1.093 GB, free: 77.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.05604/0.8914, allocations: 27.42 MB / 1.12 GB, free: 65.48 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)