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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.00112/0.00112, allocations: 178.5 kB / 326.5 MB, free: 2.246 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.866/1.866, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0009283/0.0009283, allocations: 93.88 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 13.59 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2282, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.967/1.195, allocations: 416.3 MB / 1.307 GB, free: 15.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/1.196, allocations: 98.56 kB / 1.307 GB, free: 15.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.136/3.332, allocations: 0.5989 GB / 1.906 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.332e-06/3.332, allocations: 0 / 1.906 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000278/3.332, allocations: 42.7 kB / 1.906 GB, free: 172.8 MB / 0.8855 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.006209/3.339, allocations: 2.113 MB / 1.908 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/3.339, allocations: 9.812 kB / 1.908 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004456/3.339, allocations: 139.3 kB / 1.908 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/3.341, allocations: 390.8 kB / 1.908 GB, free: 171 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003708/3.345, allocations: 1.313 MB / 1.91 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006356/3.345, allocations: 212.4 kB / 1.91 GB, free: 170 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002755/3.346, allocations: 106.6 kB / 1.91 GB, free: 170 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/3.348, allocations: 1.162 MB / 1.911 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/3.348, allocations: 3.969 kB / 1.911 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/3.348, allocations: 43.39 kB / 1.911 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/3.348, allocations: 19.09 kB / 1.911 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/3.351, allocations: 1.083 MB / 1.912 GB, free: 168.7 MB / 0.8855 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.007374/3.358, allocations: 4.83 MB / 1.917 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/3.36, allocations: 0.9307 MB / 1.918 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008959/3.361, allocations: 1.059 MB / 1.919 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001149/3.362, allocations: 0.5528 MB / 1.919 GB, free: 163 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.036e-06/3.362, allocations: 0 / 1.919 GB, free: 163 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.003463/3.366, allocations: 1.435 MB / 1.921 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/3.366, allocations: 195.6 kB / 1.921 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/3.367, allocations: 1.036 MB / 1.922 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001498/3.367, allocations: 47.89 kB / 1.922 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/3.368, allocations: 0.5974 MB / 1.923 GB, free: 161 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/3.368, allocations: 251 kB / 1.923 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/3.368, allocations: 19.94 kB / 1.923 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.172e-05/3.368, allocations: 341.8 kB / 1.923 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/3.369, allocations: 473.9 kB / 1.924 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/3.37, allocations: 0.7481 MB / 1.924 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/3.371, allocations: 0.5412 MB / 1.925 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/3.371, allocations: 3.875 kB / 1.925 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002843/3.374, allocations: 1.36 MB / 1.926 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003214/3.374, allocations: 1.642 MB / 1.928 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/3.374, allocations: 7.141 kB / 1.928 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/3.374, allocations: 10.5 kB / 1.928 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/3.376, allocations: 305.3 kB / 1.928 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005368/3.376, allocations: 1.193 MB / 1.929 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/3.378, allocations: 219 kB / 1.929 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/3.378, allocations: 57.02 kB / 1.93 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/3.378, allocations: 6 kB / 1.93 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002538/3.381, allocations: 1.224 MB / 1.931 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/3.381, allocations: 11.25 kB / 1.931 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/3.381, allocations: 6.562 kB / 1.931 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/3.382, allocations: 288.4 kB / 1.931 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/3.382, allocations: 8 kB / 1.931 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/3.383, allocations: 198.5 kB / 1.931 GB, free: 154.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/3.384, allocations: 59.89 kB / 1.931 GB, free: 154.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (121): * Single equations (assignments): 116 * 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.0007736/3.384, allocations: 380.9 kB / 1.932 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/3.385, allocations: 146.2 kB / 1.932 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/3.387, allocations: 1.349 MB / 1.933 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/3.387, allocations: 11.42 kB / 1.933 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/3.387, allocations: 0 / 1.933 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/3.387, allocations: 3.984 kB / 1.933 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004473/3.392, allocations: 2.598 MB / 1.936 GB, free: 150.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/3.392, allocations: 0 / 1.936 GB, free: 150.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/3.393, allocations: 229.3 kB / 1.936 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/3.393, allocations: 4 kB / 1.936 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.226e-05/3.393, allocations: 31.97 kB / 1.936 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003948/3.394, allocations: 1.186 MB / 1.937 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/3.394, allocations: 7.969 kB / 1.937 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003801/3.397, allocations: 2.069 MB / 1.939 GB, free: 146.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008347/3.398, allocations: 354.9 kB / 1.939 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/3.398, allocations: 22.56 kB / 1.939 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/3.4, allocations: 135.7 kB / 1.94 GB, free: 146 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/3.4, allocations: 75.2 kB / 1.94 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-05/3.4, allocations: 39.97 kB / 1.94 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001098/3.401, allocations: 0.7895 MB / 1.94 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.72e-07/3.401, allocations: 0 / 1.94 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002945/3.404, allocations: 0.8797 MB / 1.941 GB, free: 144.2 MB / 0.8855 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.006051/3.41, allocations: 3.94 MB / 1.945 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004433/3.414, allocations: 1.995 MB / 1.947 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/3.414, allocations: 0 / 1.947 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/3.416, allocations: 0.6152 MB / 1.948 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/3.419, allocations: 0.5713 MB / 1.948 GB, free: 137.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007784/3.427, allocations: 6.358 MB / 1.954 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/3.427, allocations: 1.199 MB / 1.956 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001926/3.429, allocations: 362.6 kB / 1.956 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007665/3.43, allocations: 0.5461 MB / 1.957 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.132e-06/3.43, allocations: 0 / 1.957 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07264/3.503, allocations: 44.23 MB / 2 GB, free: 85.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/3.503, allocations: 294 kB / 2 GB, free: 85.14 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.523/7.026, allocations: 0 / 2 GB, free: 85.14 MB / 0.8855 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)