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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009966/0.0009966, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001094/0.001095, allocations: 177.3 kB / 15.94 MB, free: 228 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.595/1.595, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.622/1.622, allocations: 251.9 MB / 0.51 GB, free: 4.902 MB / 414.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.0005233/0.0005234, allocations: 12 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.615/0.6156, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.04283/0.6585, allocations: 40.47 MB / 0.7675 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02123/0.6797, allocations: 12.2 MB / 0.7794 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002966/0.6827, allocations: 55.56 kB / 0.7795 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002824/0.6856, allocations: 0.6529 MB / 0.7801 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007896/0.6935, allocations: 1.806 MB / 0.7819 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009536/0.7031, allocations: 2.786 MB / 0.7846 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005551/0.7086, allocations: 2.126 MB / 0.7867 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001805/0.7104, allocations: 0.9229 MB / 0.7876 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002809/0.7133, allocations: 1.152 MB / 0.7887 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.7147, allocations: 0.7349 MB / 0.7894 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.7149, allocations: 56 kB / 0.7895 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004481/0.7194, allocations: 1.837 MB / 0.7912 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003226/0.7197, allocations: 250.9 kB / 0.7915 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004851/0.7202, allocations: 316.9 kB / 0.7918 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.7235, allocations: 2.03 MB / 0.7938 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.7235, allocations: 0 / 0.7938 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7235, allocations: 0 / 0.7938 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.247e-05/0.7235, allocations: 0 / 0.7938 GB, free: 7.891 MB / 0.6075 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.003978/0.7275, allocations: 1.839 MB / 0.7956 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.7276, allocations: 8.031 kB / 0.7956 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.7293, allocations: 429.6 kB / 0.796 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.7314, allocations: 1.087 MB / 0.797 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006566/0.732, allocations: 206.2 kB / 0.7972 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.7322, allocations: 104 kB / 0.7973 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.7345, allocations: 1.134 MB / 0.7984 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.7346, allocations: 0 / 0.7984 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.311e-05/0.7347, allocations: 32 kB / 0.7985 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.7347, allocations: 24 kB / 0.7985 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.7372, allocations: 1.066 MB / 0.7995 GB, free: 1.816 MB / 0.6075 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.007898/0.7451, allocations: 4.814 MB / 0.8042 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.7474, allocations: 0.9073 MB / 0.8051 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/0.7486, allocations: 1.08 MB / 0.8062 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/0.75, allocations: 0.5469 MB / 0.8067 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 4.539e-06/0.75, allocations: 0 / 0.8067 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.004456/0.7545, allocations: 1.398 MB / 0.8081 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.7547, allocations: 141.2 kB / 0.8082 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.7568, allocations: 1.187 MB / 0.8094 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001919/0.757, allocations: 49.64 kB / 0.8094 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008001/0.7578, allocations: 0.6069 MB / 0.81 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/0.7581, allocations: 248.3 kB / 0.8103 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/0.7582, allocations: 20 kB / 0.8103 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002641/0.7585, allocations: 345.9 kB / 0.8106 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.7598, allocations: 465.7 kB / 0.811 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.7613, allocations: 0.7026 MB / 0.8117 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.7627, allocations: 0.5239 MB / 0.8122 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.7628, allocations: 0 / 0.8122 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003748/0.7665, allocations: 1.349 MB / 0.8136 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.001132/0.7677, allocations: 1.711 MB / 0.8152 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.125e-05/0.7677, allocations: 8 kB / 0.8152 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.643e-05/0.7678, allocations: 15.98 kB / 0.8153 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.7694, allocations: 316.6 kB / 0.8156 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009541/0.7703, allocations: 1.195 MB / 0.8167 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.7721, allocations: 195 kB / 0.8169 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.7723, allocations: 59.91 kB / 0.817 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.7723, allocations: 4 kB / 0.817 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002927/0.7752, allocations: 1.208 MB / 0.8182 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.7753, allocations: 12.03 kB / 0.8182 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.7753, allocations: 8 kB / 0.8182 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.7764, allocations: 283.5 kB / 0.8184 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/0.7765, allocations: 12 kB / 0.8185 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.778, allocations: 201.4 kB / 0.8186 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.7781, allocations: 47.97 kB / 0.8187 GB, free: 13.35 MB / 0.6387 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.0007987/0.7789, allocations: 384.8 kB / 0.8191 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00044/0.7794, allocations: 146.2 kB / 0.8192 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003409/0.7828, allocations: 1.331 MB / 0.8205 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.7828, allocations: 12 kB / 0.8205 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.7829, allocations: 4 kB / 0.8205 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.7829, allocations: 3.984 kB / 0.8205 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005283/0.7882, allocations: 2.557 MB / 0.823 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.7882, allocations: 4 kB / 0.823 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.7892, allocations: 224 kB / 0.8232 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.809e-05/0.7893, allocations: 11.94 kB / 0.8232 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.084e-05/0.7894, allocations: 31.97 kB / 0.8233 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006555/0.79, allocations: 1.184 MB / 0.8244 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.7901, allocations: 0 / 0.8244 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004304/0.7944, allocations: 2.023 MB / 0.8264 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000857/0.7952, allocations: 362.8 kB / 0.8268 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/0.7956, allocations: 20 kB / 0.8268 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.7968, allocations: 127.8 kB / 0.8269 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.797, allocations: 72.45 kB / 0.827 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-05/0.7971, allocations: 39.97 kB / 0.827 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001459/0.7985, allocations: 0.7856 MB / 0.8278 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7986, allocations: 4 kB / 0.8278 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003017/0.8016, allocations: 0.788 MB / 0.8285 GB, free: 3.004 MB / 0.6387 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.001856/0.8035, allocations: 0.5727 MB / 0.8291 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005603/0.8091, allocations: 1.972 MB / 0.831 GB, free: 436 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.8091, allocations: 0.625 kB / 0.831 GB, free: 436 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.8108, allocations: 0.6018 MB / 0.8316 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003758/0.8145, allocations: 0.5732 MB / 0.8322 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006724/0.8213, allocations: 2.973 MB / 0.8351 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.8224, allocations: 1.206 MB / 0.8363 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002011/0.8244, allocations: 363.9 kB / 0.8366 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/0.8249, allocations: 119.4 kB / 0.8367 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of SimCode: time 1.272e-06/0.8249, allocations: 4 kB / 0.8367 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.05265/0.8776, allocations: 27.63 MB / 0.8637 GB, free: 15.3 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: