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.631/1.631, allocations: 288.2 MB / 303.2 MB, free: 8.305 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.001161/0.001161, allocations: 179.1 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.685/1.685, allocations: 205.4 MB / 0.6305 GB, free: 9.969 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.0009993/0.0009993, allocations: 94.86 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004267, allocations: 15.33 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2557, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.309, allocations: 423.9 MB / 1.393 GB, free: 5.051 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/1.309, allocations: 100.4 kB / 1.394 GB, free: 4.996 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.306/3.615, allocations: 0.6157 GB / 2.009 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.332e-06/3.615, allocations: 0 / 2.009 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001498/3.615, allocations: 43.98 kB / 2.009 GB, free: 121.5 MB / 0.9323 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.004518/3.62, allocations: 2.111 MB / 2.011 GB, free: 119.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/3.62, allocations: 10.91 kB / 2.011 GB, free: 119.3 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/3.62, allocations: 139.3 kB / 2.011 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/3.621, allocations: 388.8 kB / 2.012 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/3.624, allocations: 1.323 MB / 2.013 GB, free: 117.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006208/3.625, allocations: 215.7 kB / 2.013 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/3.625, allocations: 104 kB / 2.013 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/3.627, allocations: 1.164 MB / 2.015 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/3.627, allocations: 3.938 kB / 2.015 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.885e-05/3.627, allocations: 42.05 kB / 2.015 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/3.627, allocations: 20 kB / 2.015 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/3.629, allocations: 1.076 MB / 2.016 GB, free: 114.8 MB / 0.9323 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.006638/3.636, allocations: 4.835 MB / 2.02 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/3.638, allocations: 0.9316 MB / 2.021 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008547/3.639, allocations: 1.056 MB / 2.022 GB, free: 107.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/3.64, allocations: 0.5544 MB / 2.023 GB, free: 107 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 3.957e-06/3.64, allocations: 1.938 kB / 2.023 GB, free: 107 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.003409/3.643, allocations: 1.431 MB / 2.024 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/3.643, allocations: 200.5 kB / 2.024 GB, free: 105.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/3.645, allocations: 1.043 MB / 2.026 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/3.645, allocations: 45.7 kB / 2.026 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004832/3.645, allocations: 0.5919 MB / 2.026 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/3.646, allocations: 248.4 kB / 2.026 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/3.646, allocations: 20 kB / 2.026 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001011/3.646, allocations: 347 kB / 2.027 GB, free: 103 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/3.647, allocations: 473.7 kB / 2.027 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/3.648, allocations: 0.7476 MB / 2.028 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/3.649, allocations: 0.5461 MB / 2.028 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/3.649, allocations: 0 / 2.028 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002824/3.652, allocations: 1.364 MB / 2.03 GB, free: 99.79 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003427/3.652, allocations: 1.624 MB / 2.031 GB, free: 98.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/3.652, allocations: 7.938 kB / 2.031 GB, free: 98.04 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/3.652, allocations: 19.64 kB / 2.031 GB, free: 98.03 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/3.654, allocations: 299.6 kB / 2.032 GB, free: 97.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005313/3.654, allocations: 1.199 MB / 2.033 GB, free: 96.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/3.656, allocations: 214.9 kB / 2.033 GB, free: 96.28 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/3.656, allocations: 59.92 kB / 2.033 GB, free: 96.22 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/3.656, allocations: 0 / 2.033 GB, free: 96.22 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002429/3.658, allocations: 1.227 MB / 2.034 GB, free: 94.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/3.658, allocations: 4 kB / 2.034 GB, free: 94.99 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/3.658, allocations: 12 kB / 2.034 GB, free: 94.98 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/3.659, allocations: 287.8 kB / 2.035 GB, free: 94.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/3.66, allocations: 11.94 kB / 2.035 GB, free: 94.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/3.661, allocations: 206.9 kB / 2.035 GB, free: 94.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.876e-05/3.661, allocations: 51.97 kB / 2.035 GB, free: 94.43 MB / 0.9323 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.0006963/3.662, allocations: 386.4 kB / 2.035 GB, free: 94.04 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/3.662, allocations: 142.3 kB / 2.035 GB, free: 93.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/3.665, allocations: 1.349 MB / 2.037 GB, free: 92.55 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/3.665, allocations: 12 kB / 2.037 GB, free: 92.54 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/3.665, allocations: 0 / 2.037 GB, free: 92.54 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/3.665, allocations: 3.984 kB / 2.037 GB, free: 92.53 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004235/3.669, allocations: 2.601 MB / 2.039 GB, free: 89.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/3.669, allocations: 0 / 2.039 GB, free: 89.84 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009606/3.67, allocations: 231.5 kB / 2.039 GB, free: 89.62 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/3.67, allocations: 8 kB / 2.039 GB, free: 89.61 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.48e-05/3.67, allocations: 27.98 kB / 2.039 GB, free: 89.59 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000366/3.67, allocations: 1.191 MB / 2.041 GB, free: 88.35 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/3.67, allocations: 8.188 kB / 2.041 GB, free: 88.34 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/3.674, allocations: 2.062 MB / 2.043 GB, free: 86.17 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006134/3.674, allocations: 358.9 kB / 2.043 GB, free: 85.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/3.675, allocations: 19.98 kB / 2.043 GB, free: 85.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/3.676, allocations: 131.9 kB / 2.043 GB, free: 85.65 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/3.676, allocations: 76.44 kB / 2.043 GB, free: 85.58 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/3.676, allocations: 39.97 kB / 2.043 GB, free: 85.54 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009631/3.677, allocations: 0.7895 MB / 2.044 GB, free: 84.75 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/3.677, allocations: 0 / 2.044 GB, free: 84.75 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002422/3.679, allocations: 0.8856 MB / 2.045 GB, free: 83.86 MB / 0.9323 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.005489/3.685, allocations: 3.935 MB / 2.049 GB, free: 79.89 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004099/3.689, allocations: 1.992 MB / 2.051 GB, free: 77.87 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/3.689, allocations: 4.062 kB / 2.051 GB, free: 77.87 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/3.69, allocations: 0.6134 MB / 2.051 GB, free: 77.25 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/3.693, allocations: 0.5715 MB / 2.052 GB, free: 76.69 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005786/3.699, allocations: 6.38 MB / 2.058 GB, free: 70.16 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/3.699, allocations: 1.203 MB / 2.059 GB, free: 68.93 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001455/3.701, allocations: 362.1 kB / 2.06 GB, free: 68.58 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006228/3.701, allocations: 0.5461 MB / 2.06 GB, free: 68.03 MB / 0.9323 GB Notification: Performance of SimCode: time 1.012e-06/3.701, allocations: 0 / 2.06 GB, free: 68.03 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06406/3.765, allocations: 44.25 MB / 2.103 GB, free: 24.29 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/3.766, allocations: 292 kB / 2.104 GB, free: 23.93 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.628/7.393, allocations: 0 / 2.104 GB, free: 23.93 MB / 0.9323 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)