Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6954/0.6954, allocations: 132.3 MB / 144.9 MB, free: 10.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009998/0.0009996, allocations: 178.6 kB / 176.9 MB, free: 2.18 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.318/1.318, allocations: 170.5 MB / 379.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001664/0.001665, allocations: 117 kB / 450 MB, free: 5.844 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4699/0.4699, allocations: 73.38 MB / 0.6736 GB, free: 47.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.021/6.491, allocations: 2.409 GB / 3.083 GB, free: 157.4 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/6.491, allocations: 89.52 kB / 3.083 GB, free: 157.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.59/10.08, allocations: 0.8966 GB / 3.98 GB, free: 70.21 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.673e-06/10.08, allocations: 0 / 3.98 GB, free: 70.21 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001669/10.08, allocations: 53.91 kB / 3.98 GB, free: 70.21 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.006892/10.09, allocations: 2.142 MB / 3.982 GB, free: 69.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/10.09, allocations: 8.969 kB / 3.982 GB, free: 69.57 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002739/10.09, allocations: 452 kB / 3.982 GB, free: 69.47 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003224/10.09, allocations: 1.313 MB / 3.984 GB, free: 69.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/10.1, allocations: 99.64 kB / 3.984 GB, free: 69.16 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/10.1, allocations: 129.1 kB / 3.984 GB, free: 69.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003116/10.1, allocations: 1.537 MB / 3.985 GB, free: 68.83 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/10.1, allocations: 3.562 kB / 3.985 GB, free: 68.83 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/10.1, allocations: 51.66 kB / 3.985 GB, free: 68.83 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.295e-05/10.1, allocations: 55.31 kB / 3.986 GB, free: 68.83 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/10.1, allocations: 1.202 MB / 3.987 GB, free: 68.81 MB / 0.6511 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.009575/10.11, allocations: 6.398 MB / 3.993 GB, free: 65.88 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/10.11, allocations: 0.7163 MB / 3.994 GB, free: 65.85 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005631/10.11, allocations: 330.9 kB / 3.994 GB, free: 65.84 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005452/10.11, allocations: 246 kB / 3.994 GB, free: 65.65 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001283/10.11, allocations: 0.6084 MB / 3.995 GB, free: 65.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=68): time 4.498e-06/10.11, allocations: 6.469 kB / 3.995 GB, free: 65.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68): time 0.002658/10.12, allocations: 0.8981 MB / 3.996 GB, free: 65.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001844/10.12, allocations: 0.5988 MB / 3.996 GB, free: 64.62 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/10.12, allocations: 1.301 MB / 3.998 GB, free: 64.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001837/10.12, allocations: 49.14 kB / 3.998 GB, free: 64.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007151/10.12, allocations: 0.7653 MB / 3.998 GB, free: 64.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/10.12, allocations: 232.2 kB / 3.999 GB, free: 64.09 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/10.12, allocations: 24 kB / 3.999 GB, free: 64.09 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001165/10.12, allocations: 349.5 kB / 3.999 GB, free: 63.78 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007447/10.12, allocations: 399.8 kB / 3.999 GB, free: 63.78 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/10.12, allocations: 0.8759 MB / 4 GB, free: 63.28 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009151/10.12, allocations: 0.5187 MB / 4.001 GB, free: 63.23 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/10.12, allocations: 3.344 kB / 4.001 GB, free: 63.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002497/10.13, allocations: 1.336 MB / 4.002 GB, free: 63.06 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006744/10.13, allocations: 3.081 MB / 4.005 GB, free: 59.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/10.13, allocations: 12.27 kB / 4.005 GB, free: 59.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/10.13, allocations: 14.19 kB / 4.005 GB, free: 59.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003734/10.13, allocations: 0.7222 MB / 4.006 GB, free: 59.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/10.13, allocations: 1.351 MB / 4.007 GB, free: 58.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/10.13, allocations: 266.7 kB / 4.007 GB, free: 58.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/10.13, allocations: 62.73 kB / 4.007 GB, free: 58.58 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/10.13, allocations: 6.094 kB / 4.007 GB, free: 58.58 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001976/10.14, allocations: 1.145 MB / 4.008 GB, free: 58.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/10.14, allocations: 9.875 kB / 4.008 GB, free: 58.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/10.14, allocations: 15.31 kB / 4.008 GB, free: 58.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/10.14, allocations: 328.8 kB / 4.009 GB, free: 58.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.212e-05/10.14, allocations: 17.03 kB / 4.009 GB, free: 58.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/10.14, allocations: 224.5 kB / 4.009 GB, free: 58.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/10.14, allocations: 53.41 kB / 4.009 GB, free: 58.49 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 140 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 2 * 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.0003804/10.14, allocations: 186.5 kB / 4.009 GB, free: 58.38 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000365/10.14, allocations: 172.4 kB / 4.009 GB, free: 58.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/10.14, allocations: 0.8839 MB / 4.01 GB, free: 58.23 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/10.14, allocations: 10.16 kB / 4.01 GB, free: 58.23 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/10.14, allocations: 2.531 kB / 4.01 GB, free: 58.23 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/10.14, allocations: 5.984 kB / 4.01 GB, free: 58.23 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004271/10.15, allocations: 2.377 MB / 4.013 GB, free: 57.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/10.15, allocations: 4.312 kB / 4.013 GB, free: 57.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003203/10.15, allocations: 0.6029 MB / 4.013 GB, free: 57.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/10.15, allocations: 5.156 kB / 4.013 GB, free: 57.69 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.418e-05/10.15, allocations: 21.48 kB / 4.013 GB, free: 57.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003024/10.15, allocations: 2.972 MB / 4.016 GB, free: 55.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/10.15, allocations: 2.531 kB / 4.016 GB, free: 55.05 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/10.16, allocations: 1.496 MB / 4.018 GB, free: 54.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/10.16, allocations: 363 kB / 4.018 GB, free: 54.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000611/10.16, allocations: 20.09 kB / 4.018 GB, free: 54.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/10.16, allocations: 121.3 kB / 4.018 GB, free: 54.46 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/10.16, allocations: 62.31 kB / 4.018 GB, free: 54.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.385e-05/10.16, allocations: 28.61 kB / 4.018 GB, free: 54.45 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002681/10.16, allocations: 0.9798 MB / 4.019 GB, free: 54.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.31e-07/10.16, allocations: 0 / 4.019 GB, free: 54.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005935/10.17, allocations: 1.097 MB / 4.02 GB, free: 54.26 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00469/10.17, allocations: 2.107 MB / 4.022 GB, free: 53.65 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006693/10.18, allocations: 2.216 MB / 4.024 GB, free: 53.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/10.18, allocations: 1.641 kB / 4.024 GB, free: 53.37 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.005016/10.19, allocations: 1.127 MB / 4.025 GB, free: 53.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004347/10.19, allocations: 0.7446 MB / 4.026 GB, free: 53.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00733/10.2, allocations: 2.257 MB / 4.028 GB, free: 52.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/10.2, allocations: 1.286 MB / 4.03 GB, free: 52.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003269/10.2, allocations: 0.5018 MB / 4.03 GB, free: 52.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/10.2, allocations: 101.5 kB / 4.03 GB, free: 52.01 MB / 0.6511 GB Notification: Performance of SimCode: time 1.222e-06/10.2, allocations: 0 / 4.03 GB, free: 52.01 MB / 0.6511 GB Notification: Performance of Templates: time 0.09195/10.29, allocations: 59.11 MB / 4.088 GB, free: 49.54 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl.pipe 2>&1)