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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.1834/0.1841, allocations: 82.21 MB / 0.5941 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl): time 0.6756/0.8597, allocations: 205.6 MB / 0.7949 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02498/0.8848, allocations: 13.17 MB / 0.8078 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004188/0.889, allocations: 53.66 kB / 0.8078 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00453/0.8936, allocations: 0.7644 MB / 0.8086 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009476/0.9031, allocations: 1.903 MB / 0.8104 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01104/0.9142, allocations: 3.204 MB / 0.8135 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009199/0.9234, allocations: 5.042 MB / 0.8185 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002694/0.9261, allocations: 1.18 MB / 0.8196 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005134/0.9313, allocations: 1.824 MB / 0.8214 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/0.934, allocations: 1.249 MB / 0.8226 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.9343, allocations: 72 kB / 0.8227 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004995/0.9393, allocations: 2.402 MB / 0.825 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005895/0.9399, allocations: 450.2 kB / 0.8255 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.9413, allocations: 0.9187 MB / 0.8264 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005214/0.9465, allocations: 3.302 MB / 0.8296 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9465, allocations: 0 / 0.8296 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9465, allocations: 0 / 0.8296 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.132e-05/0.9465, allocations: 0 / 0.8296 GB, free: 1.047 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.005224/0.9518, allocations: 2.133 MB / 0.8317 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.9518, allocations: 8.031 kB / 0.8317 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002249/0.9541, allocations: 457.3 kB / 0.8321 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.956, allocations: 1.187 MB / 0.8333 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.858e-05/0.9561, allocations: 98.41 kB / 0.8334 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/0.9564, allocations: 143.9 kB / 0.8335 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003276/0.9596, allocations: 1.669 MB / 0.8351 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.9597, allocations: 7.984 kB / 0.8351 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.9598, allocations: 51.98 kB / 0.8352 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.904e-05/0.9599, allocations: 54.25 kB / 0.8352 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003299/0.9632, allocations: 1.476 MB / 0.8367 GB, free: 9.547 MB / 0.5919 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.009755/0.973, allocations: 6.685 MB / 0.8432 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/0.9755, allocations: 0.9382 MB / 0.8441 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009381/0.9765, allocations: 438.3 kB / 0.8445 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002846/0.9793, allocations: 2.051 MB / 0.8465 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001918/0.9813, allocations: 0.7466 MB / 0.8473 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 2.745e-06/0.9813, allocations: 0 / 0.8473 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.004447/0.9857, allocations: 1.52 MB / 0.8488 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003496/0.9861, allocations: 0.5684 MB / 0.8493 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/0.9884, allocations: 1.55 MB / 0.8508 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002165/0.9886, allocations: 45.7 kB / 0.8509 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008469/0.9895, allocations: 0.7979 MB / 0.8517 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.9897, allocations: 240.6 kB / 0.8519 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.9899, allocations: 113.6 kB / 0.852 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.9901, allocations: 349.9 kB / 0.8523 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.9915, allocations: 0.5335 MB / 0.8528 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.9933, allocations: 1.021 MB / 0.8538 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002692/0.996, allocations: 1.315 MB / 0.8551 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.996, allocations: 0 / 0.8551 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003889/0.9999, allocations: 1.634 MB / 0.8567 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003135/1, allocations: 363.3 kB / 0.8571 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.264e-05/1, allocations: 15.98 kB / 0.8571 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/1, allocations: 12 kB / 0.8571 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003992/1.004, allocations: 0.7569 MB / 0.8578 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005013/1.009, allocations: 3.326 MB / 0.8611 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/1.012, allocations: 277.1 kB / 0.8613 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/1.012, allocations: 55.98 kB / 0.8614 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/1.012, allocations: 4 kB / 0.8614 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002891/1.015, allocations: 1.356 MB / 0.8627 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.015, allocations: 11.98 kB / 0.8627 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.015, allocations: 16 kB / 0.8628 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/1.016, allocations: 320 kB / 0.8631 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/1.017, allocations: 15.94 kB / 0.8631 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/1.018, allocations: 234.4 kB / 0.8633 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/1.019, allocations: 51.98 kB / 0.8633 GB, free: 12.5 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 144 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009952/1.02, allocations: 455.9 kB / 0.8638 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/1.02, allocations: 165.9 kB / 0.8639 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/1.023, allocations: 1.165 MB / 0.8651 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/1.023, allocations: 8 kB / 0.8651 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/1.023, allocations: 0 / 0.8651 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/1.023, allocations: 7.922 kB / 0.8651 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005208/1.028, allocations: 2.683 MB / 0.8677 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/1.028, allocations: 224 / 0.8677 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003214/1.031, allocations: 0.6047 MB / 0.8683 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/1.031, allocations: 4 kB / 0.8683 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.608e-05/1.031, allocations: 23.98 kB / 0.8683 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004428/1.036, allocations: 3.224 MB / 0.8715 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.036, allocations: 7.938 kB / 0.8715 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004067/1.04, allocations: 1.806 MB / 0.8733 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008024/1.041, allocations: 358.8 kB / 0.8736 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/1.041, allocations: 23.98 kB / 0.8736 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/1.042, allocations: 123.9 kB / 0.8737 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.042, allocations: 56.42 kB / 0.8738 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/1.042, allocations: 31.98 kB / 0.8738 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001585/1.044, allocations: 1.031 MB / 0.8748 GB, free: 336 kB / 0.6231 GB Notification: Performance of sort global known variables: time 7.22e-07/1.044, allocations: 0 / 0.8748 GB, free: 336 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002541/1.046, allocations: 0.9128 MB / 0.8757 GB, free: 15.41 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (75): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009752/1.047, allocations: 437.5 kB / 0.8761 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007418/1.055, allocations: 2.613 MB / 0.8787 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.055, allocations: 5.125 kB / 0.8787 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005791/1.061, allocations: 1.309 MB / 0.88 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004755/1.065, allocations: 0.7644 MB / 0.8807 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006016/1.071, allocations: 3.433 MB / 0.8841 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009025/1.072, allocations: 1.254 MB / 0.8853 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002126/1.075, allocations: 414 kB / 0.8857 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/1.075, allocations: 127.4 kB / 0.8858 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of SimCode: time 8.91e-07/1.075, allocations: 0 / 0.8858 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of Templates: time 0.06576/1.141, allocations: 33.53 MB / 0.9186 GB, free: 3.797 MB / 0.67 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: