Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.724/1.724, allocations: 288.2 MB / 303.2 MB, free: 8.176 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.001364/0.001364, allocations: 181.6 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001032/0.001033, allocations: 99.92 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.0004142, allocations: 12 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2729, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.03489/0.3079, allocations: 40.47 MB / 1.019 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02321/0.3311, allocations: 12.22 MB / 1.031 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002494/0.3337, allocations: 51.62 kB / 1.031 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002566/0.3362, allocations: 0.6452 MB / 1.032 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007172/0.3434, allocations: 1.781 MB / 1.033 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.009835/0.3533, allocations: 2.862 MB / 1.036 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005356/0.3586, allocations: 2.101 MB / 1.038 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/0.3606, allocations: 0.923 MB / 1.039 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/0.364, allocations: 1.191 MB / 1.04 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.3657, allocations: 0.7193 MB / 1.041 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.366, allocations: 52 kB / 1.041 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004606/0.3706, allocations: 1.841 MB / 1.043 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003478/0.371, allocations: 254.9 kB / 1.043 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006714/0.3717, allocations: 316.8 kB / 1.043 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003846/0.3755, allocations: 2.023 MB / 1.045 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3755, allocations: 0 / 1.045 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.925e-06/0.3755, allocations: 0 / 1.045 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.849e-05/0.3756, allocations: 0 / 1.045 GB, free: 8.023 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.00433/0.3799, allocations: 1.847 MB / 1.047 GB, free: 6.113 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.38, allocations: 8.031 kB / 1.047 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002185/0.3802, allocations: 131.3 kB / 1.047 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.382, allocations: 425.6 kB / 1.048 GB, free: 5.551 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.3842, allocations: 1.098 MB / 1.049 GB, free: 4.402 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006787/0.3849, allocations: 210.2 kB / 1.049 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.3851, allocations: 100 kB / 1.049 GB, free: 4.098 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/0.3874, allocations: 1.126 MB / 1.05 GB, free: 2.93 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.3874, allocations: 4 kB / 1.05 GB, free: 2.926 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.452e-05/0.3875, allocations: 32 kB / 1.05 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.3876, allocations: 20 kB / 1.05 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/0.3901, allocations: 1.062 MB / 1.051 GB, free: 1.809 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.008254/0.3984, allocations: 4.814 MB / 1.056 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/0.4007, allocations: 0.9129 MB / 1.057 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/0.4021, allocations: 1.08 MB / 1.058 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001366/0.4035, allocations: 0.5392 MB / 1.058 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 4.548e-06/0.4035, allocations: 0 / 1.058 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.004044/0.4076, allocations: 1.406 MB / 1.06 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.4077, allocations: 137.2 kB / 1.06 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.4095, allocations: 1.187 MB / 1.061 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.4097, allocations: 45.7 kB / 1.061 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005725/0.4102, allocations: 0.5992 MB / 1.062 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.4105, allocations: 256.3 kB / 1.062 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.4106, allocations: 20 kB / 1.062 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4107, allocations: 341.9 kB / 1.062 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.4119, allocations: 465.7 kB / 1.063 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.4134, allocations: 0.7041 MB / 1.063 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.4148, allocations: 0.5316 MB / 1.064 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.998e-06/0.4148, allocations: 7.938 kB / 1.064 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00346/0.4183, allocations: 1.353 MB / 1.065 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007776/0.4191, allocations: 1.711 MB / 1.067 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.4191, allocations: 8 kB / 1.067 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.4191, allocations: 8 kB / 1.067 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.4206, allocations: 315.5 kB / 1.067 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5995/1.02, allocations: 1.189 MB / 1.068 GB, free: 87.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/1.022, allocations: 204.1 kB / 1.069 GB, free: 87.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/1.023, allocations: 52.23 kB / 1.069 GB, free: 87.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.023, allocations: 3.781 kB / 1.069 GB, free: 87.23 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00358/1.026, allocations: 1.208 MB / 1.07 GB, free: 87.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/1.026, allocations: 5.375 kB / 1.07 GB, free: 87.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.026, allocations: 13.31 kB / 1.07 GB, free: 87.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.027, allocations: 284.5 kB / 1.07 GB, free: 87.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/1.027, allocations: 13.59 kB / 1.07 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/1.029, allocations: 192.3 kB / 1.07 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/1.029, allocations: 51.05 kB / 1.07 GB, free: 87.18 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.0008315/1.03, allocations: 383.3 kB / 1.071 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/1.03, allocations: 143.1 kB / 1.071 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/1.034, allocations: 1.324 MB / 1.072 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/1.034, allocations: 9.312 kB / 1.072 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.034, allocations: 0 / 1.072 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/1.034, allocations: 6.297 kB / 1.072 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005928/1.04, allocations: 2.563 MB / 1.075 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/1.04, allocations: 4.625 kB / 1.075 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/1.041, allocations: 228.1 kB / 1.075 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.807e-05/1.041, allocations: 5.781 kB / 1.075 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.554e-05/1.041, allocations: 30.28 kB / 1.075 GB, free: 85.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004962/1.041, allocations: 1.187 MB / 1.076 GB, free: 84.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/1.041, allocations: 2.969 kB / 1.076 GB, free: 84.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005637/1.047, allocations: 2.025 MB / 1.078 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009777/1.048, allocations: 366.2 kB / 1.078 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/1.048, allocations: 20.09 kB / 1.078 GB, free: 83.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/1.049, allocations: 118 kB / 1.079 GB, free: 83.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/1.05, allocations: 70.16 kB / 1.079 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.05, allocations: 36.53 kB / 1.079 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001586/1.051, allocations: 0.7906 MB / 1.079 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.01e-07/1.051, allocations: 0.9375 kB / 1.079 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003352/1.055, allocations: 0.8001 MB / 1.08 GB, free: 82.66 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.006918/1.062, allocations: 3.572 MB / 1.084 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005784/1.067, allocations: 1.971 MB / 1.086 GB, free: 79.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/1.067, allocations: 1.219 kB / 1.086 GB, free: 79.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/1.069, allocations: 0.6019 MB / 1.086 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/1.073, allocations: 0.5762 MB / 1.087 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008655/1.081, allocations: 6.469 MB / 1.093 GB, free: 74.71 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009432/1.082, allocations: 1.206 MB / 1.094 GB, free: 73.97 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00215/1.085, allocations: 369 kB / 1.095 GB, free: 73.89 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000829/1.085, allocations: 0.548 MB / 1.095 GB, free: 73.49 MB / 0.6823 GB Notification: Performance of SimCode: time 9.32e-07/1.085, allocations: 0 / 1.095 GB, free: 73.49 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08572/1.171, allocations: 39.73 MB / 1.134 GB, free: 49.92 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/1.171, allocations: 302 kB / 1.134 GB, free: 49.56 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.372/4.543, allocations: 0 / 1.134 GB, free: 49.56 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)