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: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.733/1.733, allocations: 287.5 MB / 302.6 MB, free: 8.359 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.001068/0.001068, allocations: 178.6 kB / 371.2 MB, free: 10.85 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.41/1.41, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007651/0.0007651, allocations: 97.17 kB / 0.7432 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 15.73 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2288, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.03562/0.2644, allocations: 44.4 MB / 1.022 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01894/0.2834, allocations: 13.08 MB / 1.035 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.2857, allocations: 51.62 kB / 1.035 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.2878, allocations: 0.5199 MB / 1.035 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005183/0.293, allocations: 1.495 MB / 1.037 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00838/0.3014, allocations: 2.63 MB / 1.039 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00584/0.3073, allocations: 3.745 MB / 1.043 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.3094, allocations: 1.003 MB / 1.044 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003168/0.3126, allocations: 1.233 MB / 1.045 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.3143, allocations: 0.9098 MB / 1.046 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.3145, allocations: 56 kB / 1.046 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004641/0.3191, allocations: 1.986 MB / 1.048 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003806/0.3195, allocations: 266.7 kB / 1.048 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006299/0.3202, allocations: 316.9 kB / 1.049 GB, free: 4.348 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003675/0.3239, allocations: 2.081 MB / 1.051 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3239, allocations: 0 / 1.051 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3239, allocations: 3.938 kB / 1.051 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.164e-05/0.3239, allocations: 0 / 1.051 GB, free: 2.258 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.003559/0.3275, allocations: 1.847 MB / 1.053 GB, free: 356 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3275, allocations: 8.031 kB / 1.053 GB, free: 348 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.3292, allocations: 421.8 kB / 1.053 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.3315, allocations: 1.173 MB / 1.054 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006393/0.3321, allocations: 210.2 kB / 1.054 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.3323, allocations: 100 kB / 1.054 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.3346, allocations: 1.142 MB / 1.055 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.3346, allocations: 0 / 1.055 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.674e-05/0.3347, allocations: 44 kB / 1.056 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.3347, allocations: 20 kB / 1.056 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.3372, allocations: 1.058 MB / 1.057 GB, free: 12.09 MB / 0.6823 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.007518/0.3448, allocations: 4.765 MB / 1.061 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/0.3471, allocations: 0.9082 MB / 1.062 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.3482, allocations: 482.6 kB / 1.063 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.3494, allocations: 1.084 MB / 1.064 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/0.3507, allocations: 0.5431 MB / 1.064 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.196e-06/0.3507, allocations: 0 / 1.064 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.003695/0.3544, allocations: 1.402 MB / 1.066 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.3545, allocations: 145.1 kB / 1.066 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.356, allocations: 1.179 MB / 1.067 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.3562, allocations: 41.7 kB / 1.067 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005131/0.3567, allocations: 0.5915 MB / 1.067 GB, free: 392 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.3569, allocations: 256.3 kB / 1.068 GB, free: 132 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.357, allocations: 20 kB / 1.068 GB, free: 112 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.43/0.787, allocations: 341.9 kB / 1.068 GB, free: 89.15 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.7887, allocations: 457.9 kB / 1.068 GB, free: 89.15 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.7904, allocations: 0.7061 MB / 1.069 GB, free: 88.91 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002454/0.7928, allocations: 1.069 MB / 1.07 GB, free: 88.65 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.7929, allocations: 9.219 kB / 1.07 GB, free: 88.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003318/0.7962, allocations: 1.349 MB / 1.072 GB, free: 88.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.7963, allocations: 243.6 kB / 1.072 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.7964, allocations: 6.359 kB / 1.072 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/0.7964, allocations: 9.328 kB / 1.072 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.798, allocations: 313.6 kB / 1.072 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000515/0.7986, allocations: 1.199 MB / 1.073 GB, free: 86.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.8001, allocations: 203.5 kB / 1.073 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.8002, allocations: 58.27 kB / 1.073 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.8002, allocations: 3.594 kB / 1.073 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002942/0.8032, allocations: 1.206 MB / 1.075 GB, free: 86.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.8032, allocations: 10.98 kB / 1.075 GB, free: 86.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.8033, allocations: 9.594 kB / 1.075 GB, free: 86.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.8045, allocations: 281.3 kB / 1.075 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.8045, allocations: 13.58 kB / 1.075 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.8059, allocations: 186.7 kB / 1.075 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.806, allocations: 50.48 kB / 1.075 GB, free: 86.27 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.0006792/0.8067, allocations: 385.5 kB / 1.076 GB, free: 85.96 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.8069, allocations: 145.1 kB / 1.076 GB, free: 85.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003272/0.8102, allocations: 1.312 MB / 1.077 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/0.8103, allocations: 15.17 kB / 1.077 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.8103, allocations: 0 / 1.077 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.8103, allocations: 4.969 kB / 1.077 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005116/0.8154, allocations: 2.545 MB / 1.079 GB, free: 84.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.8154, allocations: 1.75 kB / 1.079 GB, free: 84.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.8166, allocations: 227 kB / 1.08 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.8166, allocations: 9 kB / 1.08 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.626e-05/0.8167, allocations: 29.28 kB / 1.08 GB, free: 84.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004408/0.8171, allocations: 1.187 MB / 1.081 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.8171, allocations: 6.469 kB / 1.081 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004355/0.8215, allocations: 1.914 MB / 1.083 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006494/0.8222, allocations: 347.6 kB / 1.083 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.8223, allocations: 20.73 kB / 1.083 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.8234, allocations: 124.5 kB / 1.083 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.8236, allocations: 72.69 kB / 1.083 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.8237, allocations: 36.61 kB / 1.083 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001395/0.8251, allocations: 0.7789 MB / 1.084 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8251, allocations: 2.531 kB / 1.084 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002501/0.8276, allocations: 0.7891 MB / 1.085 GB, free: 81.62 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.001302/0.8289, allocations: 0.5577 MB / 1.085 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004951/0.8339, allocations: 1.964 MB / 1.087 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.8339, allocations: 1.672 kB / 1.087 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.8354, allocations: 0.6064 MB / 1.088 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003545/0.839, allocations: 0.584 MB / 1.089 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005143/0.8442, allocations: 2.989 MB / 1.091 GB, free: 78.76 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008019/0.845, allocations: 1.18 MB / 1.093 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001823/0.8468, allocations: 366.1 kB / 1.093 GB, free: 77.94 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/0.8472, allocations: 129.5 kB / 1.093 GB, free: 77.92 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/0.8472, allocations: 0 / 1.093 GB, free: 77.92 MB / 0.6823 GB Notification: Performance of Templates: time 0.05005/0.8972, allocations: 27.47 MB / 1.12 GB, free: 65.73 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)