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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008612/0.0008612, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001146, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.598/1.598, allocations: 292.5 MB / 0.5497 GB, free: 14.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004727, allocations: 17.25 kB / 0.6735 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2371, allocations: 116.3 MB / 0.7871 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.03789/0.275, allocations: 40.47 MB / 0.8266 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01848/0.2935, allocations: 12.22 MB / 0.8386 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.2955, allocations: 55.62 kB / 0.8386 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.2976, allocations: 0.6413 MB / 0.8392 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005135/0.3027, allocations: 1.788 MB / 0.841 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007711/0.3104, allocations: 2.849 MB / 0.8438 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004592/0.315, allocations: 2.116 MB / 0.8458 GB, free: 15.78 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.3167, allocations: 0.9308 MB / 0.8467 GB, free: 14.82 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.3193, allocations: 1.179 MB / 0.8479 GB, free: 13.64 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.3205, allocations: 0.7231 MB / 0.8486 GB, free: 12.91 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.3206, allocations: 56 kB / 0.8487 GB, free: 12.86 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003502/0.3242, allocations: 1.837 MB / 0.8504 GB, free: 11.02 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.3245, allocations: 254.9 kB / 0.8507 GB, free: 10.77 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004279/0.3249, allocations: 312.9 kB / 0.851 GB, free: 10.46 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.3276, allocations: 2.03 MB / 0.853 GB, free: 8.422 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.3277, allocations: 4 kB / 0.853 GB, free: 8.418 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3277, allocations: 0 / 0.853 GB, free: 8.418 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.3277, allocations: 4 kB / 0.853 GB, free: 8.414 MB / 0.67 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.003917/0.3316, allocations: 1.839 MB / 0.8548 GB, free: 6.512 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3317, allocations: 8.031 kB / 0.8548 GB, free: 6.504 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.3334, allocations: 417.7 kB / 0.8552 GB, free: 6.094 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/0.3353, allocations: 1.09 MB / 0.8562 GB, free: 4.953 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006261/0.336, allocations: 218.2 kB / 0.8565 GB, free: 4.738 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.3361, allocations: 100 kB / 0.8565 GB, free: 4.641 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.3382, allocations: 1.122 MB / 0.8576 GB, free: 3.477 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.3383, allocations: 4 kB / 0.8576 GB, free: 3.473 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.611e-05/0.3384, allocations: 40 kB / 0.8577 GB, free: 3.434 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.3384, allocations: 20 kB / 0.8577 GB, free: 3.414 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.3408, allocations: 1.062 MB / 0.8587 GB, free: 2.352 MB / 0.67 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.007182/0.348, allocations: 4.815 MB / 0.8634 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.3502, allocations: 0.911 MB / 0.8643 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/0.3514, allocations: 1.08 MB / 0.8654 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001233/0.3527, allocations: 0.5402 MB / 0.8659 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=73): time 3.667e-06/0.3527, allocations: 0 / 0.8659 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=73): time 0.0036/0.3563, allocations: 1.402 MB / 0.8673 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.3564, allocations: 141.2 kB / 0.8674 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.3579, allocations: 1.191 MB / 0.8686 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.358, allocations: 45.7 kB / 0.8686 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005181/0.3586, allocations: 0.5992 MB / 0.8692 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.3588, allocations: 256.3 kB / 0.8695 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.3588, allocations: 27.94 kB / 0.8695 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.359, allocations: 341.9 kB / 0.8698 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.3601, allocations: 457.7 kB / 0.8702 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.3615, allocations: 0.7026 MB / 0.8709 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.3627, allocations: 0.5278 MB / 0.8714 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3627, allocations: 3.953 kB / 0.8715 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003088/0.3658, allocations: 1.353 MB / 0.8728 GB, free: 3.293 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006682/0.3665, allocations: 1.711 MB / 0.8744 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.3665, allocations: 12 kB / 0.8745 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.3665, allocations: 12 kB / 0.8745 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.368, allocations: 311.6 kB / 0.8748 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007175/0.3687, allocations: 1.191 MB / 0.8759 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.3702, allocations: 214.9 kB / 0.8761 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.3703, allocations: 51.97 kB / 0.8762 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.3703, allocations: 7.938 kB / 0.8762 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002685/0.373, allocations: 1.2 MB / 0.8774 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.373, allocations: 11.98 kB / 0.8774 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.373, allocations: 8 kB / 0.8774 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.3741, allocations: 279.8 kB / 0.8776 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.3742, allocations: 11.95 kB / 0.8777 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.3754, allocations: 203 kB / 0.8779 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-05/0.3755, allocations: 47.97 kB / 0.8779 GB, free: 13.88 MB / 0.7012 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.0006053/0.3761, allocations: 383.3 kB / 0.8783 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.3763, allocations: 142.3 kB / 0.8784 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002966/0.3793, allocations: 1.328 MB / 0.8797 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.3793, allocations: 15.89 kB / 0.8797 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3793, allocations: 0 / 0.8797 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.3794, allocations: 7.969 kB / 0.8797 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004411/0.3838, allocations: 2.564 MB / 0.8822 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3838, allocations: 4.25 kB / 0.8822 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009854/0.3848, allocations: 223.7 kB / 0.8824 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.3848, allocations: 4 kB / 0.8824 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/0.3849, allocations: 27.98 kB / 0.8825 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000564/0.3855, allocations: 1.195 MB / 0.8836 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3855, allocations: 0 / 0.8836 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003842/0.3893, allocations: 2.027 MB / 0.8856 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005874/0.3899, allocations: 354.9 kB / 0.886 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.3901, allocations: 23.98 kB / 0.886 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009885/0.3911, allocations: 119.9 kB / 0.8861 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.3912, allocations: 76.45 kB / 0.8862 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.701e-05/0.3913, allocations: 39.97 kB / 0.8862 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001022/0.3924, allocations: 0.7895 MB / 0.887 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3924, allocations: 0 / 0.887 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001959/0.3943, allocations: 0.7996 MB / 0.8878 GB, free: 3.516 MB / 0.7012 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.001288/0.3956, allocations: 0.5659 MB / 0.8883 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004786/0.4004, allocations: 1.976 MB / 0.8902 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.4004, allocations: 0 / 0.8902 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.4018, allocations: 0.5984 MB / 0.8908 GB, free: 356 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/0.4047, allocations: 0.5722 MB / 0.8914 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004905/0.4096, allocations: 2.985 MB / 0.8943 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/0.4103, allocations: 1.203 MB / 0.8955 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001783/0.4121, allocations: 362.7 kB / 0.8958 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.4124, allocations: 123.4 kB / 0.8959 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of SimCode: time 1.333e-06/0.4124, allocations: 0 / 0.8959 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of Templates: time 0.4088/0.8212, allocations: 27.65 MB / 0.9229 GB, free: 131.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: