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.664/1.664, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001314/0.001315, allocations: 168.9 kB / 361.4 MB, free: 6.832 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.607/1.607, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0009073/0.0009078, allocations: 90.45 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.095e-05/2.086e-05, allocations: 4 kB / 0.8517 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7439/0.7439, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.876, allocations: 423.2 MB / 1.378 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/1.876, allocations: 94.19 kB / 1.378 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.515/4.391, allocations: 0.6107 GB / 1.988 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.964e-06/4.391, allocations: 0 / 1.988 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001777/4.391, allocations: 42.25 kB / 1.988 GB, free: 155.4 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.004889/4.396, allocations: 1.84 MB / 1.99 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/4.396, allocations: 10.47 kB / 1.99 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/4.398, allocations: 391.4 kB / 1.991 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/4.401, allocations: 1.299 MB / 1.992 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005893/4.401, allocations: 171.5 kB / 1.992 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/4.401, allocations: 64.44 kB / 1.992 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001258/4.403, allocations: 0.7563 MB / 1.993 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/4.404, allocations: 0.8952 MB / 1.994 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/4.404, allocations: 6.422 kB / 1.994 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/4.404, allocations: 4.359 kB / 1.994 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/4.404, allocations: 26.17 kB / 1.994 GB, free: 154.1 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.006841/4.411, allocations: 4.619 MB / 1.998 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008688/4.412, allocations: 0.6073 MB / 1.999 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/4.412, allocations: 322.1 kB / 1.999 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009723/4.413, allocations: 1.062 MB / 2 GB, free: 151 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005689/4.414, allocations: 406.6 kB / 2.001 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 3.016e-06/4.414, allocations: 3.25 kB / 2.001 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.00198/4.416, allocations: 0.8011 MB / 2.001 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.632e-05/4.416, allocations: 191.7 kB / 2.002 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/4.418, allocations: 0.8619 MB / 2.002 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.445e-05/4.418, allocations: 26.55 kB / 2.002 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005185/4.418, allocations: 0.5957 MB / 2.003 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/4.418, allocations: 242.5 kB / 2.003 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/4.418, allocations: 2.844 kB / 2.003 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/4.419, allocations: 346.7 kB / 2.004 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/4.419, allocations: 313.3 kB / 2.004 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008024/4.42, allocations: 0.5816 MB / 2.004 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/4.421, allocations: 465 kB / 2.005 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/4.421, allocations: 4.844 kB / 2.005 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002639/4.424, allocations: 1.071 MB / 2.006 GB, free: 149.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003882/4.424, allocations: 1.616 MB / 2.008 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/4.424, allocations: 5.969 kB / 2.008 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/4.424, allocations: 9.656 kB / 2.008 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/4.426, allocations: 315.7 kB / 2.008 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007016/4.427, allocations: 1.205 MB / 2.009 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/4.428, allocations: 175 kB / 2.009 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/4.429, allocations: 52.81 kB / 2.009 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/4.429, allocations: 3.531 kB / 2.009 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002294/4.431, allocations: 0.9126 MB / 2.01 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/4.431, allocations: 5.906 kB / 2.01 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/4.431, allocations: 9.531 kB / 2.01 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/4.432, allocations: 291.8 kB / 2.01 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/4.432, allocations: 9.125 kB / 2.01 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/4.434, allocations: 163 kB / 2.011 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/4.434, allocations: 54.91 kB / 2.011 GB, free: 146.4 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 () * 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.0003516/4.434, allocations: 131.2 kB / 2.011 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/4.435, allocations: 130.9 kB / 2.011 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/4.437, allocations: 1.067 MB / 2.012 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/4.437, allocations: 8.062 kB / 2.012 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/4.437, allocations: 4.891 kB / 2.012 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/4.437, allocations: 3.891 kB / 2.012 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004563/4.442, allocations: 2.224 MB / 2.014 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/4.442, allocations: 3.375 kB / 2.014 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/4.443, allocations: 225.2 kB / 2.014 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/4.443, allocations: 9.938 kB / 2.014 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.53e-05/4.443, allocations: 18.92 kB / 2.014 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004564/4.444, allocations: 1.19 MB / 2.016 GB, free: 144.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/4.444, allocations: 2.719 kB / 2.016 GB, free: 144.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003235/4.447, allocations: 1.643 MB / 2.017 GB, free: 144.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007524/4.448, allocations: 343.9 kB / 2.017 GB, free: 144 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/4.448, allocations: 11.67 kB / 2.017 GB, free: 144 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/4.449, allocations: 120.4 kB / 2.018 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/4.449, allocations: 74.64 kB / 2.018 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-05/4.449, allocations: 37.69 kB / 2.018 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001162/4.451, allocations: 0.6337 MB / 2.018 GB, free: 143.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.91e-07/4.451, allocations: 0 / 2.018 GB, free: 143.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003912/4.454, allocations: 0.8503 MB / 2.019 GB, free: 143.7 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) * 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.002483/4.457, allocations: 0.9093 MB / 2.02 GB, free: 143.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003257/4.46, allocations: 1.541 MB / 2.022 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/4.46, allocations: 1.156 kB / 2.022 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009527/4.461, allocations: 466.6 kB / 2.022 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/4.464, allocations: 460.5 kB / 2.022 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/4.468, allocations: 1.785 MB / 2.024 GB, free: 142.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008789/4.469, allocations: 1.205 MB / 2.025 GB, free: 142 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002148/4.472, allocations: 401.9 kB / 2.026 GB, free: 141.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003159/4.472, allocations: 105.2 kB / 2.026 GB, free: 141.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.252e-06/4.472, allocations: 5.375 kB / 2.026 GB, free: 141.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.05906/4.531, allocations: 27.53 MB / 2.053 GB, free: 141.2 MB / 0.9323 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)