Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.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.DryEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow") [/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.1855/0.1863, allocations: 82.22 MB / 0.5941 GB, free: 5.625 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow): time 0.7071/0.8935, allocations: 201.4 MB / 0.7908 GB, free: 2.328 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02056/0.9141, allocations: 13.12 MB / 0.8036 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002951/0.9171, allocations: 52.25 kB / 0.8037 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002861/0.9199, allocations: 0.6988 MB / 0.8044 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005685/0.9256, allocations: 1.716 MB / 0.806 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00659/0.9322, allocations: 2.048 MB / 0.808 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007041/0.9393, allocations: 4.578 MB / 0.8125 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001936/0.9412, allocations: 1.016 MB / 0.8135 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004785/0.946, allocations: 1.719 MB / 0.8152 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002425/0.9485, allocations: 1.144 MB / 0.8163 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.9487, allocations: 64 kB / 0.8164 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004828/0.9535, allocations: 2.287 MB / 0.8186 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005742/0.9541, allocations: 414.5 kB / 0.819 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.9552, allocations: 0.8178 MB / 0.8198 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004848/0.96, allocations: 2.978 MB / 0.8227 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.96, allocations: 0 / 0.8227 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.033e-06/0.9601, allocations: 0 / 0.8227 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.296e-05/0.9601, allocations: 4 kB / 0.8227 GB, free: 8.266 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.004538/0.9646, allocations: 1.947 MB / 0.8246 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.9647, allocations: 8.031 kB / 0.8246 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/0.967, allocations: 437.6 kB / 0.825 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.9688, allocations: 1.027 MB / 0.826 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.859e-05/0.9689, allocations: 90.06 kB / 0.8261 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.9691, allocations: 120 kB / 0.8262 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/0.9723, allocations: 1.546 MB / 0.8277 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.9723, allocations: 0 / 0.8277 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.9724, allocations: 59.97 kB / 0.8278 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.973e-05/0.9725, allocations: 45.98 kB / 0.8278 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003063/0.9756, allocations: 1.37 MB / 0.8292 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008233/0.9838, allocations: 6.049 MB / 0.8351 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.9862, allocations: 0.9049 MB / 0.836 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.9872, allocations: 0.5312 MB / 0.8365 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002949/0.9902, allocations: 2.138 MB / 0.8386 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001849/0.992, allocations: 0.8389 MB / 0.8394 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 4.568e-06/0.9921, allocations: 3.984 kB / 0.8394 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89): time 0.00451/0.9966, allocations: 1.813 MB / 0.8412 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000216/0.9968, allocations: 439.9 kB / 0.8416 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.9983, allocations: 1.123 MB / 0.8427 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.9984, allocations: 45.7 kB / 0.8427 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005468/0.999, allocations: 0.6094 MB / 0.8433 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.9993, allocations: 287.9 kB / 0.8436 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.9994, allocations: 105.7 kB / 0.8437 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.9996, allocations: 345.9 kB / 0.844 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/1.001, allocations: 0.514 MB / 0.8445 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/1.002, allocations: 0.8697 MB / 0.8454 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002541/1.005, allocations: 1.411 MB / 0.8468 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/1.005, allocations: 3.938 kB / 0.8468 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003439/1.008, allocations: 1.662 MB / 0.8484 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002684/1.009, allocations: 385.2 kB / 0.8488 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/1.009, allocations: 4 kB / 0.8488 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/1.009, allocations: 15.98 kB / 0.8488 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/1.01, allocations: 279.6 kB / 0.849 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/1.01, allocations: 23.92 kB / 0.8491 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.011, allocations: 230.4 kB / 0.8493 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/1.012, allocations: 59.97 kB / 0.8493 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/1.012, allocations: 7.938 kB / 0.8494 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002813/1.014, allocations: 1.529 MB / 0.8508 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.014, allocations: 8 kB / 0.8509 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/1.014, allocations: 8 kB / 0.8509 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.016, allocations: 276 kB / 0.8511 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.016, allocations: 12 kB / 0.8511 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/1.017, allocations: 198.8 kB / 0.8513 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.569e-05/1.017, allocations: 55.92 kB / 0.8514 GB, free: 9.168 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 19 (hex.flowRegime_nominal,x_pTphi.found,x_pTphi.i_nw,x_pTphi.i_w,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008843/1.018, allocations: 0.5272 MB / 0.8519 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/1.018, allocations: 146.2 kB / 0.852 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/1.021, allocations: 1.463 MB / 0.8535 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/1.021, allocations: 8 kB / 0.8535 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.021, allocations: 0 / 0.8535 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/1.021, allocations: 3.984 kB / 0.8535 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004443/1.026, allocations: 2.77 MB / 0.8562 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.026, allocations: 8.062 kB / 0.8562 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009289/1.027, allocations: 195.8 kB / 0.8564 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/1.027, allocations: 4 kB / 0.8564 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.617e-05/1.027, allocations: 35.97 kB / 0.8564 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/1.027, allocations: 11.88 kB / 0.8564 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.027, allocations: 8 kB / 0.8564 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004164/1.031, allocations: 2.235 MB / 0.8586 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006041/1.032, allocations: 347 kB / 0.8589 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/1.032, allocations: 27.98 kB / 0.859 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/1.033, allocations: 131.8 kB / 0.8591 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/1.033, allocations: 60.56 kB / 0.8592 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-05/1.033, allocations: 47.97 kB / 0.8592 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001058/1.034, allocations: 0.7533 MB / 0.8599 GB, free: 164 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.034, allocations: 0 / 0.8599 GB, free: 164 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002511/1.037, allocations: 0.858 MB / 0.8608 GB, free: 15.3 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition2,mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001104/1.038, allocations: 478.8 kB / 0.8612 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004692/1.043, allocations: 2.597 MB / 0.8638 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.043, allocations: 4 kB / 0.8638 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001413/1.044, allocations: 0.8405 MB / 0.8646 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/1.047, allocations: 0.5911 MB / 0.8652 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004937/1.052, allocations: 2.994 MB / 0.8681 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008272/1.053, allocations: 1.191 MB / 0.8693 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001731/1.055, allocations: 352.4 kB / 0.8696 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/1.055, allocations: 107.4 kB / 0.8697 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of SimCode: time 1.353e-06/1.055, allocations: 0 / 0.8697 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of Templates: time 0.05401/1.109, allocations: 29.21 MB / 0.8982 GB, free: 9.082 MB / 0.6544 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.pipe 2>&1) Environment - environmentSimulation: