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.481/1.481, allocations: 252 MB / 267.6 MB, free: 10.92 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.001034/0.001034, allocations: 189.4 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.4 MB / 0.5783 GB, free: 20.57 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.0007774/0.0007773, allocations: 95.95 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004255/0.0004252, allocations: 12.78 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2627, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.03288/0.2957, allocations: 44.41 MB / 0.9442 GB, free: 19.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.3127, allocations: 13.02 MB / 0.9569 GB, free: 6.715 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.3149, allocations: 51.62 kB / 0.957 GB, free: 6.664 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.3167, allocations: 0.5277 MB / 0.9575 GB, free: 6.133 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005122/0.3219, allocations: 1.518 MB / 0.959 GB, free: 4.609 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.007532/0.3294, allocations: 2.618 MB / 0.9615 GB, free: 2.016 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005288/0.3347, allocations: 3.724 MB / 0.9652 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/0.3365, allocations: 0.9032 MB / 0.966 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.3397, allocations: 1.213 MB / 0.9672 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.3416, allocations: 0.9176 MB / 0.9681 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004565/0.3421, allocations: 52 kB / 0.9682 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005115/0.3472, allocations: 1.993 MB / 0.9701 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005824/0.3478, allocations: 258.7 kB / 0.9704 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0007676/0.3486, allocations: 316.9 kB / 0.9707 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003881/0.3525, allocations: 2.073 MB / 0.9727 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3525, allocations: 0 / 0.9727 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3525, allocations: 0 / 0.9727 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.3526, allocations: 0 / 0.9727 GB, free: 6.512 MB / 0.6198 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.004334/0.3569, allocations: 1.862 MB / 0.9745 GB, free: 4.586 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.357, allocations: 8.031 kB / 0.9745 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.3589, allocations: 429.6 kB / 0.9749 GB, free: 4.156 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002838/0.3618, allocations: 1.127 MB / 0.976 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006812/0.3625, allocations: 210.2 kB / 0.9762 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.3627, allocations: 103.9 kB / 0.9763 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.3651, allocations: 1.13 MB / 0.9774 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.3651, allocations: 8 kB / 0.9774 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.349e-05/0.3652, allocations: 36 kB / 0.9775 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.3652, allocations: 20 kB / 0.9775 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.3678, allocations: 1.058 MB / 0.9785 GB, free: 384 kB / 0.6198 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.008307/0.3761, allocations: 4.769 MB / 0.9832 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.3784, allocations: 0.9006 MB / 0.9841 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.3796, allocations: 480.6 kB / 0.9845 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/0.3809, allocations: 1.08 MB / 0.9856 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/0.3823, allocations: 0.5391 MB / 0.9861 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 3.767e-06/0.3823, allocations: 4 kB / 0.9861 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.00393/0.3863, allocations: 1.402 MB / 0.9875 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.3864, allocations: 141.2 kB / 0.9876 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.3881, allocations: 1.175 MB / 0.9888 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.3883, allocations: 49.64 kB / 0.9888 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005685/0.3889, allocations: 0.603 MB / 0.9894 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.3891, allocations: 252.3 kB / 0.9896 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.3892, allocations: 20 kB / 0.9896 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3894, allocations: 349.9 kB / 0.99 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.3905, allocations: 461.7 kB / 0.9904 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.392, allocations: 0.7065 MB / 0.9911 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.3933, allocations: 0.5278 MB / 0.9916 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3933, allocations: 0 / 0.9916 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003332/0.3966, allocations: 1.349 MB / 0.9929 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002284/0.3968, allocations: 251.6 kB / 0.9932 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.3969, allocations: 8 kB / 0.9932 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.3969, allocations: 8 kB / 0.9932 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.3984, allocations: 311.6 kB / 0.9935 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008802/0.3993, allocations: 1.203 MB / 0.9947 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.4009, allocations: 198.9 kB / 0.9949 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.4011, allocations: 51.97 kB / 0.9949 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.4011, allocations: 7.938 kB / 0.9949 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002844/0.4039, allocations: 1.208 MB / 0.9961 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.404, allocations: 7.984 kB / 0.9961 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.404, allocations: 11.95 kB / 0.9961 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.4051, allocations: 283.8 kB / 0.9964 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.4052, allocations: 8 kB / 0.9964 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.4066, allocations: 194.9 kB / 0.9966 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.4067, allocations: 51.97 kB / 0.9966 GB, free: 13.01 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 (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.0008435/0.4076, allocations: 388.7 kB / 0.997 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/0.4079, allocations: 142.2 kB / 0.9971 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003131/0.411, allocations: 1.327 MB / 0.9984 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.4111, allocations: 8 kB / 0.9984 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4111, allocations: 0 / 0.9984 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.4111, allocations: 3.984 kB / 0.9984 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004905/0.416, allocations: 2.545 MB / 1.001 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.416, allocations: 8.031 kB / 1.001 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.4171, allocations: 219.7 kB / 1.001 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/0.4171, allocations: 4 kB / 1.001 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.4172, allocations: 35.97 kB / 1.001 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007279/0.4179, allocations: 1.188 MB / 1.002 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4179, allocations: 0 / 1.002 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004267/0.4222, allocations: 1.911 MB / 1.004 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007941/0.423, allocations: 350.9 kB / 1.005 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.4232, allocations: 20 kB / 1.005 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.4243, allocations: 127.7 kB / 1.005 GB, free: 4.562 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.4244, allocations: 68.5 kB / 1.005 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.05e-05/0.4245, allocations: 39.97 kB / 1.005 GB, free: 4.453 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001274/0.4258, allocations: 0.7817 MB / 1.006 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4258, allocations: 0 / 1.006 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002443/0.4283, allocations: 0.7918 MB / 1.006 GB, free: 2.879 MB / 0.6511 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.00135/0.4296, allocations: 0.5545 MB / 1.007 GB, free: 2.328 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005166/0.4348, allocations: 1.965 MB / 1.009 GB, free: 336 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.4348, allocations: 4 kB / 1.009 GB, free: 332 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.4364, allocations: 0.5945 MB / 1.009 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003577/0.44, allocations: 0.598 MB / 1.01 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005919/0.4459, allocations: 3.008 MB / 1.013 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009824/0.447, allocations: 1.157 MB / 1.014 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/0.4475, allocations: 139.4 kB / 1.014 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of SimCode: time 1.343e-06/0.4475, allocations: 4 kB / 1.014 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of Templates: time 0.05455/0.5021, allocations: 36.07 MB / 1.049 GB, free: 6.785 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)