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: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.612/1.612, allocations: 288.4 MB / 303.7 MB, free: 8.871 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.00113/0.00113, allocations: 180.5 kB / 372.3 MB, free: 6.434 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.439/1.439, allocations: 205.4 MB / 0.631 GB, free: 14.45 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.0007295/0.0007294, allocations: 91.39 kB / 0.7444 GB, free: 63.97 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003833, allocations: 12 kB / 0.8675 GB, free: 0.707 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2537, allocations: 115.3 MB / 0.9801 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.04118/0.2949, allocations: 44.42 MB / 1.023 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.5029/0.7979, allocations: 13.05 MB / 1.036 GB, free: 64.81 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.8002, allocations: 53.75 kB / 1.036 GB, free: 64.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.8023, allocations: 0.5162 MB / 1.037 GB, free: 64.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006276/0.8086, allocations: 1.579 MB / 1.038 GB, free: 64.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.8187, allocations: 2.643 MB / 1.041 GB, free: 64.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.008002/0.8267, allocations: 3.746 MB / 1.045 GB, free: 63.95 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002541/0.8293, allocations: 1.012 MB / 1.046 GB, free: 63.79 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003837/0.8332, allocations: 1.3 MB / 1.047 GB, free: 63.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.8352, allocations: 0.9091 MB / 1.048 GB, free: 63.24 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002492/0.8355, allocations: 54.16 kB / 1.048 GB, free: 63.24 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005415/0.8409, allocations: 2.119 MB / 1.05 GB, free: 63.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0004261/0.8414, allocations: 259.9 kB / 1.05 GB, free: 63.05 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.8426, allocations: 0.7061 MB / 1.051 GB, free: 62.8 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00353/0.8461, allocations: 2.136 MB / 1.053 GB, free: 62.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.8461, allocations: 0 / 1.053 GB, free: 62.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8462, allocations: 2.625 kB / 1.053 GB, free: 62.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.362e-05/0.8462, allocations: 4 kB / 1.053 GB, free: 62.62 MB / 0.7448 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.00339/0.8496, allocations: 1.835 MB / 1.055 GB, free: 61.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.8496, allocations: 8.875 kB / 1.055 GB, free: 61.55 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.8512, allocations: 432.7 kB / 1.055 GB, free: 61.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.8534, allocations: 1.18 MB / 1.056 GB, free: 61.01 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006025/0.8541, allocations: 207.6 kB / 1.056 GB, free: 60.99 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.8543, allocations: 105.7 kB / 1.057 GB, free: 60.99 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.8565, allocations: 1.133 MB / 1.058 GB, free: 60.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.8565, allocations: 4.5 kB / 1.058 GB, free: 60.81 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.801e-05/0.8566, allocations: 34.5 kB / 1.058 GB, free: 60.81 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.8566, allocations: 19.56 kB / 1.058 GB, free: 60.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.8589, allocations: 1.066 MB / 1.059 GB, free: 60.77 MB / 0.7448 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.00715/0.8661, allocations: 4.755 MB / 1.063 GB, free: 58.65 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.8683, allocations: 0.9073 MB / 1.064 GB, free: 58.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009744/0.8693, allocations: 479.2 kB / 1.065 GB, free: 58.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000955/0.8702, allocations: 1.085 MB / 1.066 GB, free: 57.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/0.8714, allocations: 0.5434 MB / 1.066 GB, free: 57.37 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=73): time 4.047e-06/0.8715, allocations: 0 / 1.066 GB, free: 57.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73): time 0.003404/0.8749, allocations: 1.397 MB / 1.068 GB, free: 57.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.8749, allocations: 138.9 kB / 1.068 GB, free: 57.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.8764, allocations: 1.179 MB / 1.069 GB, free: 56.9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.8765, allocations: 47.77 kB / 1.069 GB, free: 56.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.877, allocations: 0.6057 MB / 1.07 GB, free: 56.67 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.8772, allocations: 247 kB / 1.07 GB, free: 56.51 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.8772, allocations: 21.66 kB / 1.07 GB, free: 56.51 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.8773, allocations: 343.8 kB / 1.07 GB, free: 56.21 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.8784, allocations: 462.7 kB / 1.071 GB, free: 56.2 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.8796, allocations: 0.7081 MB / 1.071 GB, free: 55.94 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/0.8817, allocations: 1.061 MB / 1.072 GB, free: 55.7 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.8817, allocations: 4 kB / 1.072 GB, free: 55.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004201/0.8859, allocations: 1.355 MB / 1.074 GB, free: 55.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.8861, allocations: 244 kB / 1.074 GB, free: 55.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/0.8862, allocations: 6.875 kB / 1.074 GB, free: 55.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.61e-05/0.8862, allocations: 12.28 kB / 1.074 GB, free: 55.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/0.8889, allocations: 316.7 kB / 1.074 GB, free: 55.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007952/0.8897, allocations: 1.191 MB / 1.075 GB, free: 54.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/0.8925, allocations: 205.4 kB / 1.076 GB, free: 53.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.8927, allocations: 56.11 kB / 1.076 GB, free: 53.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.8927, allocations: 3.031 kB / 1.076 GB, free: 53.97 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004826/0.8975, allocations: 1.206 MB / 1.077 GB, free: 53.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.689e-05/0.8976, allocations: 10.69 kB / 1.077 GB, free: 53.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.8976, allocations: 9 kB / 1.077 GB, free: 53.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.8998, allocations: 291.1 kB / 1.077 GB, free: 53.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/0.8998, allocations: 10.12 kB / 1.077 GB, free: 53.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/0.9023, allocations: 193.9 kB / 1.077 GB, free: 53.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.9025, allocations: 51.42 kB / 1.077 GB, free: 53.48 MB / 0.7448 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.001085/0.9036, allocations: 384.2 kB / 1.078 GB, free: 53.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004135/0.904, allocations: 147.1 kB / 1.078 GB, free: 53.1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/0.9091, allocations: 1.31 MB / 1.079 GB, free: 52.64 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/0.9092, allocations: 16.81 kB / 1.079 GB, free: 52.64 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.9092, allocations: 3.062 kB / 1.079 GB, free: 52.64 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.9092, allocations: 6.281 kB / 1.079 GB, free: 52.64 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00811/0.9173, allocations: 2.539 MB / 1.082 GB, free: 51.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.9174, allocations: 7.781 kB / 1.082 GB, free: 51.49 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/0.9194, allocations: 226.5 kB / 1.082 GB, free: 51.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.299e-05/0.9194, allocations: 6.219 kB / 1.082 GB, free: 51.47 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.9196, allocations: 28.33 kB / 1.082 GB, free: 51.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000605/0.9202, allocations: 1.189 MB / 1.083 GB, free: 50.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.9202, allocations: 3.281 kB / 1.083 GB, free: 50.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00689/0.9271, allocations: 1.91 MB / 1.085 GB, free: 49.45 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.9284, allocations: 347.5 kB / 1.085 GB, free: 49.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005007/0.9289, allocations: 21.17 kB / 1.085 GB, free: 49.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/0.9309, allocations: 127.2 kB / 1.085 GB, free: 49.17 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.9312, allocations: 69.89 kB / 1.085 GB, free: 49.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/0.9314, allocations: 41.25 kB / 1.086 GB, free: 49.15 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002072/0.9335, allocations: 0.7867 MB / 1.086 GB, free: 48.83 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.61e-07/0.9335, allocations: 0 / 1.086 GB, free: 48.83 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004132/0.9377, allocations: 0.7859 MB / 1.087 GB, free: 48.67 MB / 0.7448 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.002208/0.9399, allocations: 0.565 MB / 1.088 GB, free: 48.47 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005504/0.9454, allocations: 1.973 MB / 1.09 GB, free: 47.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.9455, allocations: 0 / 1.09 GB, free: 47.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.947, allocations: 0.6008 MB / 1.09 GB, free: 47.58 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004133/0.9511, allocations: 0.578 MB / 1.091 GB, free: 47.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005516/0.9567, allocations: 2.995 MB / 1.094 GB, free: 45.75 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007541/0.9575, allocations: 1.176 MB / 1.095 GB, free: 45.01 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001954/0.9594, allocations: 364.5 kB / 1.095 GB, free: 44.92 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003931/0.9599, allocations: 122.3 kB / 1.095 GB, free: 44.91 MB / 0.7448 GB Notification: Performance of SimCode: time 9.92e-07/0.9599, allocations: 0 / 1.095 GB, free: 44.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.04556/1.005, allocations: 27.82 MB / 1.122 GB, free: 42.67 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)