Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008611/0.0008611, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001066/0.001066, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.582/1.582, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0005142/0.0005146, allocations: 16.97 kB / 0.6737 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.224, allocations: 116.3 MB / 0.7873 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.0388/0.2628, allocations: 44.4 MB / 0.8306 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01691/0.2798, allocations: 13.06 MB / 0.8434 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.2813, allocations: 55.62 kB / 0.8434 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.2828, allocations: 0.5238 MB / 0.8439 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003651/0.2864, allocations: 1.492 MB / 0.8454 GB, free: 216 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00655/0.293, allocations: 2.639 MB / 0.848 GB, free: 13.61 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004303/0.2973, allocations: 3.71 MB / 0.8516 GB, free: 9.883 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.2986, allocations: 0.9071 MB / 0.8525 GB, free: 8.953 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.3007, allocations: 1.24 MB / 0.8537 GB, free: 7.707 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.3019, allocations: 0.9059 MB / 0.8546 GB, free: 6.797 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.302, allocations: 52 kB / 0.8546 GB, free: 6.746 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003328/0.3054, allocations: 1.997 MB / 0.8566 GB, free: 4.746 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002752/0.3057, allocations: 258.7 kB / 0.8568 GB, free: 4.492 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003575/0.306, allocations: 312.9 kB / 0.8571 GB, free: 4.18 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.3083, allocations: 2.081 MB / 0.8592 GB, free: 2.094 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3083, allocations: 4 kB / 0.8592 GB, free: 2.09 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3083, allocations: 0 / 0.8592 GB, free: 2.09 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.3083, allocations: 0 / 0.8592 GB, free: 2.09 MB / 0.67 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.002941/0.3112, allocations: 1.855 MB / 0.861 GB, free: 176 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3113, allocations: 8.031 kB / 0.861 GB, free: 168 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.3127, allocations: 425.7 kB / 0.8614 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.3146, allocations: 1.133 MB / 0.8625 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005412/0.3152, allocations: 210.2 kB / 0.8627 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.3154, allocations: 104 kB / 0.8628 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.3173, allocations: 1.134 MB / 0.8639 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.3174, allocations: 0 / 0.8639 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-05/0.3175, allocations: 36 kB / 0.8639 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.3175, allocations: 20 kB / 0.864 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.3198, allocations: 1.058 MB / 0.865 GB, free: 11.96 MB / 0.6856 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.006471/0.3263, allocations: 4.754 MB / 0.8696 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.3283, allocations: 0.915 MB / 0.8705 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009573/0.3292, allocations: 478.6 kB / 0.871 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/0.3303, allocations: 1.088 MB / 0.872 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/0.3315, allocations: 0.5441 MB / 0.8726 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=73): time 2.384e-06/0.3315, allocations: 0 / 0.8726 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=73): time 0.003228/0.3347, allocations: 1.398 MB / 0.8739 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.3348, allocations: 137.2 kB / 0.8741 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.3362, allocations: 1.179 MB / 0.8752 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-05/0.3363, allocations: 49.7 kB / 0.8753 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004524/0.3368, allocations: 0.603 MB / 0.8759 GB, free: 260 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.3369, allocations: 248.3 kB / 0.8761 GB, free: 8 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.337, allocations: 23.98 kB / 0.8761 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3372, allocations: 349.9 kB / 0.8765 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.3382, allocations: 457.7 kB / 0.8769 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.3394, allocations: 0.7104 MB / 0.8776 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.3406, allocations: 0.5316 MB / 0.8781 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3406, allocations: 0 / 0.8781 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002745/0.3433, allocations: 1.349 MB / 0.8794 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.3435, allocations: 247.6 kB / 0.8797 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.3435, allocations: 8 kB / 0.8797 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3435, allocations: 8 kB / 0.8797 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.3449, allocations: 311.6 kB / 0.88 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005819/0.3455, allocations: 1.207 MB / 0.8812 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.3466, allocations: 198.8 kB / 0.8813 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.3467, allocations: 51.97 kB / 0.8814 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.305e-06/0.3467, allocations: 4 kB / 0.8814 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002479/0.3492, allocations: 1.2 MB / 0.8826 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.3492, allocations: 15.92 kB / 0.8826 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3493, allocations: 8 kB / 0.8826 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.3503, allocations: 283.8 kB / 0.8829 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.3504, allocations: 12 kB / 0.8829 GB, free: 8.836 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.3515, allocations: 198.9 kB / 0.8831 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.853e-05/0.3516, allocations: 47.97 kB / 0.8831 GB, free: 8.594 MB / 0.7012 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.0005683/0.3522, allocations: 380.8 kB / 0.8835 GB, free: 8.211 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.3524, allocations: 138.3 kB / 0.8836 GB, free: 8.074 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/0.3551, allocations: 1.326 MB / 0.8849 GB, free: 6.754 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.3552, allocations: 12 kB / 0.8849 GB, free: 6.742 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3552, allocations: 3.953 kB / 0.8849 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.3552, allocations: 7.969 kB / 0.8849 GB, free: 6.73 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004036/0.3592, allocations: 2.545 MB / 0.8874 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.3593, allocations: 4 kB / 0.8874 GB, free: 4.098 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009266/0.3602, allocations: 219.8 kB / 0.8876 GB, free: 3.883 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.966e-06/0.3602, allocations: 4 kB / 0.8876 GB, free: 3.879 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/0.3603, allocations: 31.97 kB / 0.8877 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005392/0.3608, allocations: 1.191 MB / 0.8888 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.3609, allocations: 4.031 kB / 0.8888 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/0.3644, allocations: 1.907 MB / 0.8907 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004793/0.3649, allocations: 354.8 kB / 0.891 GB, free: 292 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.3651, allocations: 27.89 kB / 0.891 GB, free: 264 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008904/0.366, allocations: 119.9 kB / 0.8912 GB, free: 144 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.3661, allocations: 68.5 kB / 0.8912 GB, free: 72 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.419e-05/0.3662, allocations: 43.97 kB / 0.8913 GB, free: 28 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009721/0.3672, allocations: 0.7818 MB / 0.892 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3672, allocations: 0 / 0.892 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001819/0.369, allocations: 0.7918 MB / 0.8928 GB, free: 14.45 MB / 0.7169 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.001021/0.37, allocations: 0.5606 MB / 0.8934 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00419/0.3742, allocations: 1.968 MB / 0.8953 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3743, allocations: 0 / 0.8953 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.3756, allocations: 0.6062 MB / 0.8959 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/0.3781, allocations: 0.5897 MB / 0.8964 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/0.3825, allocations: 2.977 MB / 0.8994 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/0.3832, allocations: 1.179 MB / 0.9005 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001477/0.3847, allocations: 361.1 kB / 0.9008 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.385, allocations: 127.4 kB / 0.901 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/0.385, allocations: 4 kB / 0.901 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of Templates: time 0.3891/0.7742, allocations: 27.4 MB / 0.9277 GB, free: 130.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: