Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") [/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.2077/0.2085, allocations: 82.21 MB / 0.5941 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.7065/0.915, allocations: 194.7 MB / 0.7842 GB, free: 7.457 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01134/0.9264, allocations: 6.099 MB / 0.7902 GB, free: 2.504 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.9284, allocations: 39.5 kB / 0.7902 GB, free: 2.484 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001958/0.9304, allocations: 0.6145 MB / 0.7908 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004902/0.9353, allocations: 1.509 MB / 0.7923 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.9387, allocations: 1.149 MB / 0.7934 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005057/0.9437, allocations: 3.922 MB / 0.7973 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.9453, allocations: 0.8645 MB / 0.7981 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003978/0.9493, allocations: 1.498 MB / 0.7996 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.9518, allocations: 0.9507 MB / 0.8005 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.952, allocations: 49.47 kB / 0.8005 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.9547, allocations: 1.289 MB / 0.8018 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003928/0.9551, allocations: 332.3 kB / 0.8021 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008246/0.956, allocations: 0.654 MB / 0.8028 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002703/0.9587, allocations: 2.139 MB / 0.8048 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.9587, allocations: 0 / 0.8048 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9587, allocations: 0 / 0.8048 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.9587, allocations: 4 kB / 0.8048 GB, free: 9.059 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.00384/0.9626, allocations: 1.541 MB / 0.8064 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.9626, allocations: 11.16 kB / 0.8064 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002432/0.9651, allocations: 474.7 kB / 0.8068 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.9666, allocations: 0.8695 MB / 0.8077 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000683/0.9673, allocations: 205.5 kB / 0.8079 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.9675, allocations: 91.16 kB / 0.8079 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/0.971, allocations: 1.483 MB / 0.8094 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.971, allocations: 4 kB / 0.8094 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.9712, allocations: 36 kB / 0.8094 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/0.9712, allocations: 41.94 kB / 0.8095 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003983/0.9752, allocations: 1.534 MB / 0.811 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008289/0.9835, allocations: 5.667 MB / 0.8165 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003226/0.9868, allocations: 0.9927 MB / 0.8175 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.9881, allocations: 0.494 MB / 0.818 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004014/0.9885, allocations: 153.8 kB / 0.8181 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002113/0.9907, allocations: 0.7704 MB / 0.8189 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.334e-06/0.9907, allocations: 0 / 0.8189 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.00526/0.9959, allocations: 1.618 MB / 0.8204 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001986/0.9962, allocations: 427.6 kB / 0.8208 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.9976, allocations: 0.9802 MB / 0.8218 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.9977, allocations: 45.7 kB / 0.8218 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/0.9982, allocations: 0.5263 MB / 0.8224 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.9985, allocations: 185.3 kB / 0.8225 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.9986, allocations: 69.67 kB / 0.8226 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.9988, allocations: 333.9 kB / 0.8229 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/1, allocations: 0.5055 MB / 0.8234 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/1.002, allocations: 0.8233 MB / 0.8242 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002964/1.005, allocations: 1.15 MB / 0.8253 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/1.005, allocations: 4 kB / 0.8253 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003694/1.009, allocations: 1.354 MB / 0.8267 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002126/1.009, allocations: 264.4 kB / 0.8269 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.009, allocations: 8 kB / 0.8269 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/1.009, allocations: 8 kB / 0.8269 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003828/1.013, allocations: 0.6867 MB / 0.8276 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005235/1.018, allocations: 3.353 MB / 0.8309 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/1.02, allocations: 254.8 kB / 0.8311 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/1.02, allocations: 31.98 kB / 0.8312 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/1.02, allocations: 4 kB / 0.8312 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00312/1.023, allocations: 1.178 MB / 0.8323 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/1.023, allocations: 4 kB / 0.8323 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/1.023, allocations: 11.94 kB / 0.8323 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.025, allocations: 259.9 kB / 0.8326 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/1.025, allocations: 8 kB / 0.8326 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/1.026, allocations: 234.9 kB / 0.8328 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/1.026, allocations: 31.98 kB / 0.8328 GB, free: 12.43 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0007215/1.027, allocations: 372.3 kB / 0.8332 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/1.027, allocations: 110.8 kB / 0.8333 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/1.031, allocations: 1.176 MB / 0.8344 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/1.031, allocations: 11.94 kB / 0.8345 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.031, allocations: 0 / 0.8345 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/1.031, allocations: 3.984 kB / 0.8345 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005571/1.037, allocations: 2.325 MB / 0.8367 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/1.037, allocations: 4 kB / 0.8367 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003421/1.04, allocations: 0.605 MB / 0.8373 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.118e-05/1.04, allocations: 4 kB / 0.8373 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.085e-05/1.04, allocations: 23.98 kB / 0.8373 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004661/1.045, allocations: 3.271 MB / 0.8405 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.045, allocations: 0 / 0.8405 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003498/1.048, allocations: 1.255 MB / 0.8418 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007763/1.049, allocations: 295.5 kB / 0.842 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/1.05, allocations: 19.92 kB / 0.8421 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/1.051, allocations: 167.8 kB / 0.8422 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/1.051, allocations: 52.36 kB / 0.8423 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/1.051, allocations: 19.98 kB / 0.8423 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001125/1.052, allocations: 0.6702 MB / 0.843 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.633e-06/1.052, allocations: 0 / 0.843 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002109/1.055, allocations: 0.5771 MB / 0.8435 GB, free: 1.078 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006398/1.055, allocations: 205 kB / 0.8437 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007878/1.063, allocations: 2.329 MB / 0.846 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.063, allocations: 0 / 0.846 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006102/1.069, allocations: 1.315 MB / 0.8473 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/1.073, allocations: 0.5057 MB / 0.8478 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005383/1.078, allocations: 2.389 MB / 0.8501 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007865/1.079, allocations: 1.07 MB / 0.8511 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001636/1.081, allocations: 293.1 kB / 0.8514 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/1.081, allocations: 87.41 kB / 0.8515 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of SimCode: time 1.082e-06/1.081, allocations: 0 / 0.8515 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of Templates: time 0.03917/1.12, allocations: 21.14 MB / 0.8721 GB, free: 3.938 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: