Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009329/0.0009329, allocations: 179.8 kB / 327.6 MB, free: 2.07 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000824/0.0008239, allocations: 99.48 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003563, allocations: 11.34 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2082, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.03296/0.2412, allocations: 46.94 MB / 0.9473 GB, free: 16.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01716/0.2585, allocations: 14.2 MB / 0.9612 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.261, allocations: 55.56 kB / 0.9612 GB, free: 2.102 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00212/0.2632, allocations: 0.6215 MB / 0.9618 GB, free: 1.477 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005484/0.2687, allocations: 1.76 MB / 0.9635 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.009485/0.2782, allocations: 2.861 MB / 0.9663 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00609/0.2843, allocations: 4.26 MB / 0.9705 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002175/0.2865, allocations: 1.007 MB / 0.9715 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003325/0.2899, allocations: 1.306 MB / 0.9727 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.2918, allocations: 0.9718 MB / 0.9737 GB, free: 5.273 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004644/0.2923, allocations: 55.94 kB / 0.9737 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004655/0.297, allocations: 2.219 MB / 0.9759 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006078/0.2976, allocations: 274.7 kB / 0.9762 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.2991, allocations: 0.7436 MB / 0.9769 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004141/0.3032, allocations: 2.128 MB / 0.979 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3033, allocations: 0 / 0.979 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3033, allocations: 0 / 0.979 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.49e-05/0.3034, allocations: 0 / 0.979 GB, free: 15.84 MB / 0.6355 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.004292/0.3077, allocations: 1.849 MB / 0.9808 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.3077, allocations: 8.031 kB / 0.9808 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.3097, allocations: 433.7 kB / 0.9812 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/0.3126, allocations: 1.167 MB / 0.9823 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007004/0.3133, allocations: 214.2 kB / 0.9826 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002775/0.3136, allocations: 104 kB / 0.9827 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/0.3163, allocations: 1.13 MB / 0.9838 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.3163, allocations: 8 kB / 0.9838 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.3164, allocations: 43.88 kB / 0.9838 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.3165, allocations: 20 kB / 0.9838 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002771/0.3192, allocations: 1.066 MB / 0.9849 GB, free: 9.652 MB / 0.6355 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.008553/0.3278, allocations: 4.758 MB / 0.9895 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.3303, allocations: 0.9195 MB / 0.9904 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.3314, allocations: 477.8 kB / 0.9909 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.3327, allocations: 1.088 MB / 0.9919 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/0.3341, allocations: 0.543 MB / 0.9925 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 5.05e-06/0.3341, allocations: 4 kB / 0.9925 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.004088/0.3382, allocations: 1.413 MB / 0.9938 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/0.3383, allocations: 137.2 kB / 0.994 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/0.3404, allocations: 1.191 MB / 0.9951 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.3405, allocations: 45.7 kB / 0.9952 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006078/0.3412, allocations: 0.5992 MB / 0.9958 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.3414, allocations: 248.3 kB / 0.996 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/0.3415, allocations: 20 kB / 0.996 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3417, allocations: 353.9 kB / 0.9964 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.3429, allocations: 465.7 kB / 0.9968 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.3443, allocations: 0.7104 MB / 0.9975 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/0.3468, allocations: 1.083 MB / 0.9986 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3468, allocations: 0 / 0.9986 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003403/0.3502, allocations: 1.364 MB / 0.9999 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.3504, allocations: 247.6 kB / 1 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.3505, allocations: 4 kB / 1 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/0.3505, allocations: 15.98 kB / 1 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.3521, allocations: 307.6 kB / 1 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000745/0.3528, allocations: 1.207 MB / 1.002 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.3543, allocations: 200.3 kB / 1.002 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.3545, allocations: 51.95 kB / 1.002 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.3545, allocations: 6.656 kB / 1.002 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002873/0.3574, allocations: 1.22 MB / 1.003 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.3574, allocations: 7.938 kB / 1.003 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3575, allocations: 8 kB / 1.003 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.3586, allocations: 287.7 kB / 1.003 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/0.3587, allocations: 8 kB / 1.003 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.3602, allocations: 198.9 kB / 1.004 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.3604, allocations: 51.97 kB / 1.004 GB, free: 5.609 MB / 0.6511 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 (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.000853/0.3612, allocations: 378.4 kB / 1.004 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004535/0.3617, allocations: 142.2 kB / 1.004 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00344/0.3651, allocations: 1.331 MB / 1.005 GB, free: 3.766 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.3652, allocations: 12 kB / 1.005 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.3652, allocations: 3.938 kB / 1.005 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.3652, allocations: 7.984 kB / 1.005 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005343/0.3706, allocations: 2.541 MB / 1.008 GB, free: 1.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.3706, allocations: 8 kB / 1.008 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.3716, allocations: 224 kB / 1.008 GB, free: 0.8867 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/0.3717, allocations: 8 kB / 1.008 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.128e-05/0.3718, allocations: 27.98 kB / 1.008 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006313/0.3724, allocations: 1.184 MB / 1.009 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3724, allocations: 4 kB / 1.009 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004257/0.3767, allocations: 1.918 MB / 1.011 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007258/0.3774, allocations: 358.8 kB / 1.012 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002726/0.3777, allocations: 23.98 kB / 1.012 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.3789, allocations: 115.9 kB / 1.012 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.379, allocations: 68.5 kB / 1.012 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-05/0.3792, allocations: 39.97 kB / 1.012 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001325/0.3805, allocations: 0.7935 MB / 1.013 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3805, allocations: 0 / 1.013 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002491/0.383, allocations: 0.7918 MB / 1.013 GB, free: 11.46 MB / 0.6667 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 (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.001497/0.3845, allocations: 0.553 MB / 1.014 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005187/0.3897, allocations: 1.981 MB / 1.016 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.3897, allocations: 4.062 kB / 1.016 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.3913, allocations: 0.6016 MB / 1.016 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003863/0.3952, allocations: 0.5979 MB / 1.017 GB, free: 7.695 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/0.401, allocations: 3.073 MB / 1.02 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009113/0.4019, allocations: 1.169 MB / 1.021 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005592/0.4025, allocations: 135.4 kB / 1.021 GB, free: 3.234 MB / 0.6667 GB Notification: Performance of SimCode: time 1.413e-06/0.4025, allocations: 0 / 1.021 GB, free: 3.234 MB / 0.6667 GB Notification: Performance of Templates: time 0.44/0.8425, allocations: 36.05 MB / 1.056 GB, free: 144.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)