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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.753/2.753, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.001537/0.001537, allocations: 173 kB / 370.8 MB, free: 10.84 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.273/2.273, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001198/0.001197, allocations: 100.4 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.000499, allocations: 15.78 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.229, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.06735/0.2964, allocations: 40.46 MB / 1.018 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03062/0.3271, allocations: 12.23 MB / 1.03 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/0.3296, allocations: 51.62 kB / 1.03 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003764/0.3334, allocations: 0.649 MB / 1.03 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00901/0.3425, allocations: 1.778 MB / 1.032 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01404/0.3566, allocations: 2.852 MB / 1.035 GB, free: 2.156 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006467/0.363, allocations: 2.115 MB / 1.037 GB, free: 40 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0027/0.3658, allocations: 0.9229 MB / 1.038 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00433/0.3702, allocations: 1.187 MB / 1.039 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002182/0.3724, allocations: 0.7154 MB / 1.04 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0005989/0.3731, allocations: 56 kB / 1.04 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006465/0.3795, allocations: 1.841 MB / 1.042 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0008752/0.3805, allocations: 254.9 kB / 1.042 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0009893/0.3815, allocations: 312.9 kB / 1.042 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005375/0.3869, allocations: 2.027 MB / 1.044 GB, free: 8.699 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.387, allocations: 0 / 1.044 GB, free: 8.699 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.444e-06/0.387, allocations: 0 / 1.044 GB, free: 8.699 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.729e-05/0.3871, allocations: 0 / 1.044 GB, free: 8.699 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.006224/0.3933, allocations: 1.843 MB / 1.046 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 9.156e-05/0.3935, allocations: 8.031 kB / 1.046 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004853/0.394, allocations: 139.3 kB / 1.046 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003193/0.3972, allocations: 417.7 kB / 1.046 GB, free: 6.23 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003713/0.4009, allocations: 1.098 MB / 1.048 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001347/0.4023, allocations: 210.2 kB / 1.048 GB, free: 4.875 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004629/0.4029, allocations: 99.98 kB / 1.048 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004461/0.4073, allocations: 1.134 MB / 1.049 GB, free: 3.602 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.4074, allocations: 0 / 1.049 GB, free: 3.602 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.4076, allocations: 39.94 kB / 1.049 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.4077, allocations: 20 kB / 1.049 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005306/0.413, allocations: 1.066 MB / 1.05 GB, free: 2.477 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.01487/0.4279, allocations: 4.808 MB / 1.055 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004636/0.4326, allocations: 0.9006 MB / 1.056 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002075/0.4347, allocations: 1.084 MB / 1.057 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002625/0.4374, allocations: 0.543 MB / 1.057 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 5.571e-06/0.4375, allocations: 4 kB / 1.057 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.00741/0.4449, allocations: 1.398 MB / 1.059 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.4451, allocations: 141.2 kB / 1.059 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/0.448, allocations: 1.191 MB / 1.06 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003038/0.4484, allocations: 45.7 kB / 1.06 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009008/0.4493, allocations: 0.5954 MB / 1.061 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005178/0.4498, allocations: 256.3 kB / 1.061 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.45, allocations: 16 kB / 1.061 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.4502, allocations: 345.9 kB / 1.061 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002364/0.4526, allocations: 469.7 kB / 1.062 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002839/0.4554, allocations: 0.6987 MB / 1.062 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/0.4581, allocations: 0.5317 MB / 1.063 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.4582, allocations: 0 / 1.063 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.006344/0.4646, allocations: 1.349 MB / 1.064 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009024/0.4655, allocations: 1.715 MB / 1.066 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-05/0.4656, allocations: 4 kB / 1.066 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.812e-05/0.4657, allocations: 12 kB / 1.066 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003119/0.4688, allocations: 303.6 kB / 1.066 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.47, allocations: 1.203 MB / 1.067 GB, free: 40 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6579/1.128, allocations: 203.8 kB / 1.067 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004003/1.128, allocations: 52.56 kB / 1.067 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.128, allocations: 7.156 kB / 1.067 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006271/1.135, allocations: 1.209 MB / 1.069 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.485e-05/1.135, allocations: 7.125 kB / 1.069 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/1.135, allocations: 12.83 kB / 1.069 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/1.137, allocations: 281.9 kB / 1.069 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.855e-05/1.137, allocations: 11.41 kB / 1.069 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/1.14, allocations: 188.6 kB / 1.069 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003417/1.14, allocations: 52.83 kB / 1.069 GB, free: 88.2 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.001154/1.142, allocations: 379.9 kB / 1.07 GB, free: 88 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005436/1.142, allocations: 147 kB / 1.07 GB, free: 88 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006089/1.148, allocations: 1.329 MB / 1.071 GB, free: 87.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.106e-05/1.148, allocations: 15.03 kB / 1.071 GB, free: 87.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/1.148, allocations: 2.406 kB / 1.071 GB, free: 87.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-05/1.148, allocations: 4.172 kB / 1.071 GB, free: 87.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009724/1.158, allocations: 2.565 MB / 1.074 GB, free: 86.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/1.158, allocations: 3.219 kB / 1.074 GB, free: 86.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002177/1.16, allocations: 220.5 kB / 1.074 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-05/1.161, allocations: 5.375 kB / 1.074 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/1.161, allocations: 29.3 kB / 1.074 GB, free: 86.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006521/1.161, allocations: 1.188 MB / 1.075 GB, free: 85.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.161, allocations: 2.969 kB / 1.075 GB, free: 85.37 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008457/1.17, allocations: 2.025 MB / 1.077 GB, free: 84.42 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.171, allocations: 364.3 kB / 1.077 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004421/1.172, allocations: 21.48 kB / 1.077 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/1.174, allocations: 124.6 kB / 1.077 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003623/1.174, allocations: 71.39 kB / 1.077 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/1.175, allocations: 40.77 kB / 1.077 GB, free: 84.13 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002241/1.177, allocations: 0.787 MB / 1.078 GB, free: 83.81 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.52e-07/1.177, allocations: 0.75 kB / 1.078 GB, free: 83.81 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004317/1.181, allocations: 0.7935 MB / 1.079 GB, free: 83.71 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.01085/1.192, allocations: 3.572 MB / 1.083 GB, free: 81.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00941/1.202, allocations: 1.967 MB / 1.084 GB, free: 80.97 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.202, allocations: 1.219 kB / 1.084 GB, free: 80.97 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003061/1.205, allocations: 0.6062 MB / 1.085 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005672/1.211, allocations: 0.5761 MB / 1.086 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/1.223, allocations: 6.47 MB / 1.092 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.224, allocations: 1.202 MB / 1.093 GB, free: 75.01 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00315/1.227, allocations: 374.1 kB / 1.093 GB, free: 74.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/1.229, allocations: 0.5483 MB / 1.094 GB, free: 74.52 MB / 0.6823 GB Notification: Performance of SimCode: time 1.933e-06/1.229, allocations: 0 / 1.094 GB, free: 74.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1247/1.354, allocations: 39.72 MB / 1.133 GB, free: 51.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003054/1.354, allocations: 291.1 kB / 1.133 GB, free: 51.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.471/5.825, allocations: 0 / 1.133 GB, free: 51.4 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)