Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.683/1.683, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001119/0.001119, allocations: 188.2 kB / 377.1 MB, free: 1.512 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.236/2.236, allocations: 205.4 MB / 0.6366 GB, free: 9.473 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009927/0.0009923, allocations: 95.77 kB / 0.7509 GB, free: 62.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003546, allocations: 12 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2937, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.634/1.928, allocations: 424.9 MB / 1.403 GB, free: 247.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/1.928, allocations: 98.8 kB / 1.403 GB, free: 247.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.734/3.663, allocations: 0.6157 GB / 2.019 GB, free: 71.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.685e-06/3.663, allocations: 3.984 kB / 2.019 GB, free: 71.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001614/3.663, allocations: 43.92 kB / 2.019 GB, free: 71.79 MB / 0.948 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.004845/3.668, allocations: 2.109 MB / 2.021 GB, free: 69.62 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/3.668, allocations: 12.03 kB / 2.021 GB, free: 69.61 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002287/3.668, allocations: 135.3 kB / 2.021 GB, free: 69.46 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/3.67, allocations: 390.8 kB / 2.022 GB, free: 69.08 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/3.672, allocations: 1.322 MB / 2.023 GB, free: 67.71 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005995/3.673, allocations: 214.2 kB / 2.023 GB, free: 67.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/3.673, allocations: 100 kB / 2.023 GB, free: 67.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/3.675, allocations: 1.169 MB / 2.025 GB, free: 66.17 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/3.675, allocations: 3.953 kB / 2.025 GB, free: 66.17 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-05/3.675, allocations: 36 kB / 2.025 GB, free: 66.13 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/3.675, allocations: 20 kB / 2.025 GB, free: 66.11 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/3.678, allocations: 1.081 MB / 2.026 GB, free: 65.03 MB / 0.948 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.007076/3.685, allocations: 4.834 MB / 2.03 GB, free: 59.92 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/3.687, allocations: 0.9273 MB / 2.031 GB, free: 58.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008617/3.688, allocations: 1.06 MB / 2.032 GB, free: 57.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/3.689, allocations: 0.5547 MB / 2.033 GB, free: 57.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.547e-06/3.689, allocations: 0 / 2.033 GB, free: 57.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.003535/3.692, allocations: 1.438 MB / 2.034 GB, free: 55.69 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/3.692, allocations: 192.6 kB / 2.034 GB, free: 55.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/3.694, allocations: 1.043 MB / 2.035 GB, free: 54.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001669/3.694, allocations: 45.7 kB / 2.035 GB, free: 54.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/3.694, allocations: 0.5919 MB / 2.036 GB, free: 53.76 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/3.694, allocations: 252.3 kB / 2.036 GB, free: 53.51 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/3.695, allocations: 23.94 kB / 2.036 GB, free: 53.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.477e-05/3.695, allocations: 341.9 kB / 2.037 GB, free: 53.14 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/3.696, allocations: 469.7 kB / 2.037 GB, free: 52.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/3.697, allocations: 0.7545 MB / 2.038 GB, free: 51.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/3.698, allocations: 0.5415 MB / 2.038 GB, free: 51.28 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/3.698, allocations: 0 / 2.038 GB, free: 51.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002885/3.701, allocations: 1.364 MB / 2.04 GB, free: 49.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002937/3.701, allocations: 1.632 MB / 2.041 GB, free: 48.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/3.701, allocations: 15.98 kB / 2.041 GB, free: 48.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/3.701, allocations: 8 kB / 2.041 GB, free: 48.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/3.703, allocations: 303.5 kB / 2.042 GB, free: 47.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000495/3.703, allocations: 1.195 MB / 2.043 GB, free: 46.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/3.705, allocations: 222.9 kB / 2.043 GB, free: 46.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/3.705, allocations: 55.97 kB / 2.043 GB, free: 46.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/3.705, allocations: 5.719 kB / 2.043 GB, free: 46.32 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002485/3.707, allocations: 1.216 MB / 2.044 GB, free: 45.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/3.707, allocations: 11.98 kB / 2.044 GB, free: 45.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/3.707, allocations: 8 kB / 2.044 GB, free: 45.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/3.709, allocations: 283.8 kB / 2.045 GB, free: 44.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/3.709, allocations: 15.92 kB / 2.045 GB, free: 44.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/3.71, allocations: 198.9 kB / 2.045 GB, free: 44.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/3.71, allocations: 51.97 kB / 2.045 GB, free: 44.54 MB / 0.948 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.0007691/3.711, allocations: 384.9 kB / 2.045 GB, free: 44.15 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/3.711, allocations: 146.2 kB / 2.045 GB, free: 44.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/3.714, allocations: 1.343 MB / 2.047 GB, free: 42.65 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/3.714, allocations: 12 kB / 2.047 GB, free: 42.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/3.714, allocations: 4 kB / 2.047 GB, free: 42.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/3.714, allocations: 3.984 kB / 2.047 GB, free: 42.63 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004212/3.718, allocations: 2.592 MB / 2.049 GB, free: 39.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/3.718, allocations: 4 kB / 2.049 GB, free: 39.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/3.719, allocations: 228 kB / 2.049 GB, free: 39.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/3.719, allocations: 4 kB / 2.049 GB, free: 39.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.339e-05/3.72, allocations: 35.91 kB / 2.049 GB, free: 39.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000356/3.72, allocations: 1.184 MB / 2.051 GB, free: 38.46 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/3.72, allocations: 4.031 kB / 2.051 GB, free: 38.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/3.723, allocations: 2.066 MB / 2.053 GB, free: 36.29 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007019/3.724, allocations: 366.8 kB / 2.053 GB, free: 35.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/3.724, allocations: 20 kB / 2.053 GB, free: 35.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/3.726, allocations: 135.8 kB / 2.053 GB, free: 35.75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/3.726, allocations: 64.56 kB / 2.053 GB, free: 35.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.921e-05/3.726, allocations: 43.91 kB / 2.053 GB, free: 35.65 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001038/3.727, allocations: 0.7934 MB / 2.054 GB, free: 34.86 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.8e-07/3.727, allocations: 0 / 2.054 GB, free: 34.86 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002657/3.729, allocations: 0.8817 MB / 2.055 GB, free: 33.97 MB / 0.948 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.005517/3.735, allocations: 3.936 MB / 2.059 GB, free: 29.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004198/3.739, allocations: 1.984 MB / 2.061 GB, free: 27.95 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/3.739, allocations: 0 / 2.061 GB, free: 27.95 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/3.74, allocations: 0.6178 MB / 2.061 GB, free: 27.33 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/3.743, allocations: 0.5772 MB / 2.062 GB, free: 26.76 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006307/3.75, allocations: 6.382 MB / 2.068 GB, free: 20.21 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/3.75, allocations: 1.199 MB / 2.069 GB, free: 18.98 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001494/3.752, allocations: 374.8 kB / 2.07 GB, free: 18.61 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006499/3.752, allocations: 0.5422 MB / 2.07 GB, free: 18.07 MB / 0.948 GB Notification: Performance of SimCode: time 1.303e-06/3.752, allocations: 0 / 2.07 GB, free: 18.07 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5592/4.311, allocations: 44.22 MB / 2.113 GB, free: 139.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/4.312, allocations: 272.7 kB / 2.113 GB, free: 139.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.649/7.961, allocations: 6.812 kB / 2.113 GB, free: 139.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)