Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.867/2.867, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.002119/0.002119, allocations: 187.5 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001147/0.001147, allocations: 95.91 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004965, allocations: 16.67 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2205, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.05868/0.2792, allocations: 40.47 MB / 1.018 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0292/0.3084, allocations: 12.23 MB / 1.03 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002563/0.3111, allocations: 51.62 kB / 1.03 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003649/0.3148, allocations: 0.6451 MB / 1.03 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008979/0.3238, allocations: 1.774 MB / 1.032 GB, free: 5.113 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01424/0.3381, allocations: 2.871 MB / 1.035 GB, free: 2.285 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005914/0.344, allocations: 2.111 MB / 1.037 GB, free: 176 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002505/0.3466, allocations: 0.923 MB / 1.038 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00414/0.3508, allocations: 1.191 MB / 1.039 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/0.353, allocations: 0.7154 MB / 1.04 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0005101/0.3535, allocations: 56 kB / 1.04 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00607/0.3596, allocations: 1.833 MB / 1.042 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0007904/0.3605, allocations: 262.8 kB / 1.042 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007868/0.3613, allocations: 312.9 kB / 1.042 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005235/0.3665, allocations: 2.023 MB / 1.044 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3666, allocations: 4 kB / 1.044 GB, free: 8.828 MB / 0.6667 GB Notification: Performance of FrontEnd: time 6.322e-06/0.3666, allocations: 0 / 1.044 GB, free: 8.828 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.954e-05/0.3667, allocations: 3.938 kB / 1.044 GB, free: 8.824 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.007417/0.3741, allocations: 1.843 MB / 1.046 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.3742, allocations: 8.031 kB / 1.046 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004368/0.3786, allocations: 417.7 kB / 1.046 GB, free: 6.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005142/0.3838, allocations: 1.098 MB / 1.047 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001996/0.3858, allocations: 214.2 kB / 1.048 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005339/0.3864, allocations: 100 kB / 1.048 GB, free: 5.043 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005679/0.3921, allocations: 1.122 MB / 1.049 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.671e-05/0.3922, allocations: 0 / 1.049 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/0.3925, allocations: 39.98 kB / 1.049 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.493e-05/0.3925, allocations: 27.92 kB / 1.049 GB, free: 3.812 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006809/0.3993, allocations: 1.054 MB / 1.05 GB, free: 2.758 MB / 0.6667 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.01883/0.4182, allocations: 4.824 MB / 1.055 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006167/0.4244, allocations: 0.9079 MB / 1.055 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002533/0.427, allocations: 1.076 MB / 1.056 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003332/0.4304, allocations: 0.5395 MB / 1.057 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 6.322e-06/0.4305, allocations: 0 / 1.057 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.009384/0.4399, allocations: 1.402 MB / 1.058 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.4401, allocations: 141.1 kB / 1.059 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/0.4437, allocations: 1.191 MB / 1.06 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004037/0.4442, allocations: 45.7 kB / 1.06 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.4454, allocations: 0.5993 MB / 1.06 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005833/0.446, allocations: 256.3 kB / 1.061 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.4461, allocations: 16 kB / 1.061 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002417/0.4464, allocations: 341.9 kB / 1.061 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003012/0.4494, allocations: 469.7 kB / 1.061 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003743/0.4532, allocations: 0.7064 MB / 1.062 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00366/0.4569, allocations: 0.5316 MB / 1.063 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.89e-05/0.457, allocations: 0 / 1.063 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008527/0.4656, allocations: 1.345 MB / 1.064 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001153/0.4668, allocations: 1.715 MB / 1.066 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.543e-05/0.4669, allocations: 4 kB / 1.066 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.568e-05/0.4669, allocations: 12 kB / 1.066 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003932/0.4709, allocations: 315.5 kB / 1.066 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.4724, allocations: 1.195 MB / 1.067 GB, free: 308 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003661/0.4761, allocations: 210.8 kB / 1.067 GB, free: 96 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004329/0.4766, allocations: 51.97 kB / 1.067 GB, free: 44 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4766, allocations: 4 kB / 1.067 GB, free: 40 kB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7211/1.198, allocations: 1.206 MB / 1.068 GB, free: 88.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-05/1.198, allocations: 5.75 kB / 1.068 GB, free: 88.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/1.198, allocations: 12.11 kB / 1.068 GB, free: 88.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/1.2, allocations: 280 kB / 1.069 GB, free: 88.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.673e-05/1.2, allocations: 14.03 kB / 1.069 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/1.203, allocations: 186 kB / 1.069 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/1.203, allocations: 56.89 kB / 1.069 GB, free: 88.32 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.001165/1.204, allocations: 376.3 kB / 1.069 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007131/1.205, allocations: 144.9 kB / 1.069 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/1.215, allocations: 1.326 MB / 1.071 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.129e-05/1.215, allocations: 13.95 kB / 1.071 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.819e-05/1.215, allocations: 0.9688 kB / 1.071 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.473e-05/1.215, allocations: 4.547 kB / 1.071 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/1.226, allocations: 2.564 MB / 1.073 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.226, allocations: 2.422 kB / 1.073 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/1.228, allocations: 221.4 kB / 1.074 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/1.228, allocations: 5.844 kB / 1.074 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/1.228, allocations: 32.81 kB / 1.074 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005662/1.229, allocations: 1.192 MB / 1.075 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.229, allocations: 2.719 kB / 1.075 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008331/1.237, allocations: 2.02 MB / 1.077 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/1.238, allocations: 367.8 kB / 1.077 GB, free: 84.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003795/1.239, allocations: 22.81 kB / 1.077 GB, free: 84.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/1.241, allocations: 122.3 kB / 1.077 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003232/1.241, allocations: 70.88 kB / 1.077 GB, free: 84.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/1.241, allocations: 40.91 kB / 1.077 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002058/1.243, allocations: 0.7935 MB / 1.078 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.21e-07/1.244, allocations: 0 / 1.078 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003801/1.247, allocations: 0.7929 MB / 1.079 GB, free: 83.89 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.002109/1.249, allocations: 0.5647 MB / 1.079 GB, free: 83.76 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009457/1.259, allocations: 1.974 MB / 1.081 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.259, allocations: 5 kB / 1.081 GB, free: 83.08 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002744/1.262, allocations: 0.6001 MB / 1.082 GB, free: 82.92 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005182/1.267, allocations: 0.5743 MB / 1.082 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008233/1.275, allocations: 2.981 MB / 1.085 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.276, allocations: 1.202 MB / 1.087 GB, free: 80.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002923/1.279, allocations: 368.4 kB / 1.087 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006456/1.28, allocations: 125.6 kB / 1.087 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.563e-06/1.28, allocations: 1.641 kB / 1.087 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.0817/1.362, allocations: 27.65 MB / 1.114 GB, free: 69.8 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)