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.1995/0.2003, allocations: 82.22 MB / 0.5934 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl): time 0.5869/0.7872, allocations: 175.5 MB / 0.7648 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01894/0.8062, allocations: 11.88 MB / 0.7763 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003881/0.8102, allocations: 56.16 kB / 0.7764 GB, free: 8.758 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003536/0.8137, allocations: 0.7406 MB / 0.7771 GB, free: 8.297 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008434/0.8222, allocations: 1.841 MB / 0.7789 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009878/0.8321, allocations: 2.694 MB / 0.7816 GB, free: 6.219 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006108/0.8382, allocations: 2.292 MB / 0.7838 GB, free: 5.309 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.8402, allocations: 1.094 MB / 0.7849 GB, free: 4.836 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004361/0.8446, allocations: 1.624 MB / 0.7864 GB, free: 4.074 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.8465, allocations: 0.902 MB / 0.7873 GB, free: 3.535 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000232/0.8468, allocations: 76.59 kB / 0.7874 GB, free: 3.531 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003973/0.8507, allocations: 1.493 MB / 0.7889 GB, free: 2.828 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005502/0.8513, allocations: 409.5 kB / 0.7893 GB, free: 2.551 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000702/0.852, allocations: 385.9 kB / 0.7896 GB, free: 2.344 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003426/0.8554, allocations: 2.278 MB / 0.7918 GB, free: 0.793 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.8555, allocations: 4 kB / 0.7918 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8555, allocations: 0 / 0.7918 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.18e-05/0.8555, allocations: 0 / 0.7918 GB, free: 0.7891 MB / 0.545 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.005311/0.8608, allocations: 2.113 MB / 0.7939 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.8609, allocations: 11.8 kB / 0.7939 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/0.8632, allocations: 463.3 kB / 0.7944 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.8656, allocations: 1.145 MB / 0.7955 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.8657, allocations: 104.5 kB / 0.7956 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.8659, allocations: 130.6 kB / 0.7957 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003386/0.8693, allocations: 1.652 MB / 0.7973 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.8693, allocations: 6.875 kB / 0.7973 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.8695, allocations: 49.06 kB / 0.7974 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.22e-05/0.8695, allocations: 54.23 kB / 0.7974 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003277/0.8728, allocations: 1.466 MB / 0.7989 GB, free: 12.25 MB / 0.5606 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.01091/0.8838, allocations: 6.691 MB / 0.8054 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/0.8864, allocations: 0.9509 MB / 0.8063 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003251/0.8897, allocations: 2.051 MB / 0.8083 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001725/0.8914, allocations: 0.7351 MB / 0.809 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 3.457e-06/0.8914, allocations: 4 kB / 0.809 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.0045/0.8959, allocations: 1.592 MB / 0.8106 GB, free: 288 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003026/0.8962, allocations: 0.5761 MB / 0.8112 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/0.8983, allocations: 1.534 MB / 0.8127 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.8984, allocations: 51.67 kB / 0.8127 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009669/0.8994, allocations: 0.7784 MB / 0.8135 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000341/0.8998, allocations: 252.5 kB / 0.8137 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.824e-05/0.8998, allocations: 28 kB / 0.8137 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.9, allocations: 353.9 kB / 0.8141 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.9013, allocations: 0.5218 MB / 0.8146 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.903, allocations: 1.013 MB / 0.8156 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.9046, allocations: 0.6487 MB / 0.8162 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.9046, allocations: 0 / 0.8162 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003728/0.9084, allocations: 1.61 MB / 0.8178 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.002052/0.9104, allocations: 3.267 MB / 0.821 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.141e-05/0.9105, allocations: 11.98 kB / 0.821 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.429e-05/0.9105, allocations: 20 kB / 0.821 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003978/0.9145, allocations: 0.7607 MB / 0.8217 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00501/0.9195, allocations: 3.358 MB / 0.825 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/0.9218, allocations: 274.1 kB / 0.8253 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.9219, allocations: 55.97 kB / 0.8253 GB, free: 248 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.9219, allocations: 6.031 kB / 0.8253 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002983/0.9249, allocations: 1.354 MB / 0.8267 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.925, allocations: 8 kB / 0.8267 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.925, allocations: 16 kB / 0.8267 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.9265, allocations: 324 kB / 0.827 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001243/0.9266, allocations: 19.94 kB / 0.827 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.9289, allocations: 222.5 kB / 0.8272 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.9291, allocations: 55.98 kB / 0.8273 GB, free: 14.25 MB / 0.5919 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 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,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 (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.001217/0.9303, allocations: 460.7 kB / 0.8277 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004284/0.9307, allocations: 165.9 kB / 0.8279 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/0.9336, allocations: 1.156 MB / 0.829 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.9336, allocations: 8 kB / 0.829 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.9336, allocations: 4 kB / 0.829 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.9337, allocations: 7.984 kB / 0.829 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006188/0.9398, allocations: 2.681 MB / 0.8316 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.9399, allocations: 4.219 kB / 0.8316 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003113/0.943, allocations: 0.6009 MB / 0.8322 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.9431, allocations: 4 kB / 0.8322 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.678e-05/0.9431, allocations: 19.98 kB / 0.8323 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004935/0.9481, allocations: 3.279 MB / 0.8355 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9481, allocations: 0 / 0.8355 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004494/0.9526, allocations: 1.917 MB / 0.8373 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/0.9542, allocations: 370.7 kB / 0.8377 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/0.9545, allocations: 23.98 kB / 0.8377 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.9557, allocations: 119.8 kB / 0.8378 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.9559, allocations: 62.23 kB / 0.8379 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.467e-05/0.956, allocations: 23.98 kB / 0.8379 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001636/0.9576, allocations: 1.02 MB / 0.8389 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9576, allocations: 0 / 0.8389 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002953/0.9606, allocations: 0.905 MB / 0.8398 GB, free: 0.9922 MB / 0.5919 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 (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.001097/0.9617, allocations: 433.2 kB / 0.8402 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007202/0.9689, allocations: 2.596 MB / 0.8427 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/0.969, allocations: 4 kB / 0.8427 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005504/0.9745, allocations: 1.297 MB / 0.844 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/0.9783, allocations: 0.7591 MB / 0.8447 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/0.9839, allocations: 3.306 MB / 0.848 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008286/0.9848, allocations: 1.293 MB / 0.8492 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001966/0.9868, allocations: 406.8 kB / 0.8496 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.9871, allocations: 127.4 kB / 0.8497 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/0.9871, allocations: 4 kB / 0.8497 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of Templates: time 0.05353/1.041, allocations: 32.51 MB / 0.8815 GB, free: 6.512 MB / 0.6387 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: