Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.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.1962/0.1982, allocations: 80.85 MB / 0.6706 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6595/0.8577, allocations: 214 MB / 0.8796 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01111/0.8689, allocations: 5.917 MB / 0.8854 GB, free: 6.445 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001906/0.8709, allocations: 43.75 kB / 0.8854 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003015/0.8739, allocations: 0.8582 MB / 0.8862 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006994/0.8809, allocations: 2.076 MB / 0.8883 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004424/0.8854, allocations: 1.419 MB / 0.8897 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005586/0.891, allocations: 3.275 MB / 0.8929 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/0.8935, allocations: 1.229 MB / 0.8941 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005443/0.899, allocations: 2.168 MB / 0.8962 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002868/0.9018, allocations: 1.155 MB / 0.8973 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005312/0.9024, allocations: 156 kB / 0.8974 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003583/0.906, allocations: 1.649 MB / 0.8991 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0008912/0.9069, allocations: 0.5454 MB / 0.8996 GB, free: 7.848 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001744/0.9086, allocations: 0.8401 MB / 0.9004 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004943/0.9136, allocations: 2.687 MB / 0.903 GB, free: 4.312 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9136, allocations: 0 / 0.903 GB, free: 4.312 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9136, allocations: 0 / 0.903 GB, free: 4.312 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.391e-05/0.9137, allocations: 0 / 0.903 GB, free: 4.312 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.007128/0.9209, allocations: 2.023 MB / 0.905 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.9209, allocations: 8.031 kB / 0.905 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003449/0.9244, allocations: 0.5134 MB / 0.9055 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002869/0.9273, allocations: 0.9954 MB / 0.9065 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.9274, allocations: 78.11 kB / 0.9066 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004341/0.9279, allocations: 116 kB / 0.9067 GB, free: 480 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004737/0.9326, allocations: 1.547 MB / 0.9082 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.9327, allocations: 0 / 0.9082 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002064/0.9329, allocations: 40 kB / 0.9082 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/0.933, allocations: 58.16 kB / 0.9083 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005222/0.9383, allocations: 1.812 MB / 0.9101 GB, free: 12.97 MB / 0.7169 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.01031/0.9486, allocations: 4.982 MB / 0.9149 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.9519, allocations: 1.077 MB / 0.916 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.9535, allocations: 0.6498 MB / 0.9166 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007815/0.9543, allocations: 251 kB / 0.9168 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.9544, allocations: 47.22 kB / 0.9169 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=79): time 2.975e-06/0.9544, allocations: 4 kB / 0.9169 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=79): time 0.006104/0.9605, allocations: 1.914 MB / 0.9188 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/0.9606, allocations: 60.06 kB / 0.9188 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.9625, allocations: 0.9721 MB / 0.9198 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002101/0.9627, allocations: 45.7 kB / 0.9198 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006331/0.9633, allocations: 0.5231 MB / 0.9203 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004262/0.9638, allocations: 268.1 kB / 0.9206 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004336/0.9642, allocations: 186.4 kB / 0.9208 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.9644, allocations: 345.9 kB / 0.9211 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.9661, allocations: 0.5903 MB / 0.9217 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.9679, allocations: 0.7732 MB / 0.9224 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003394/0.9713, allocations: 1.287 MB / 0.9237 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.9713, allocations: 0 / 0.9237 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004181/0.9755, allocations: 1.54 MB / 0.9252 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/0.9756, allocations: 33.7 kB / 0.9252 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.9756, allocations: 0 / 0.9252 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.9757, allocations: 8 kB / 0.9252 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003813/0.9795, allocations: 0.5929 MB / 0.9258 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005198/0.9847, allocations: 3.414 MB / 0.9291 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.9864, allocations: 190.8 kB / 0.9293 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.9866, allocations: 35.97 kB / 0.9293 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002068/0.9886, allocations: 0.8225 MB / 0.9301 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001724/0.9904, allocations: 0.7419 MB / 0.9309 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002991/0.9934, allocations: 1.236 MB / 0.9321 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.801e-06/0.9934, allocations: 8 kB / 0.9321 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.003955/0.9974, allocations: 1.474 MB / 0.9335 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.293e-05/0.9974, allocations: 37.7 kB / 0.9336 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.9975, allocations: 4 kB / 0.9336 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.9975, allocations: 8 kB / 0.9336 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.9989, allocations: 279.7 kB / 0.9338 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.9989, allocations: 8 kB / 0.9338 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/1, allocations: 147.3 kB / 0.934 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.001, allocations: 43.91 kB / 0.934 GB, free: 3.402 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * 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.0004488/1.001, allocations: 240 kB / 0.9343 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005186/1.002, allocations: 118.6 kB / 0.9344 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003959/1.005, allocations: 1.428 MB / 0.9358 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/1.006, allocations: 8 kB / 0.9358 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.006, allocations: 5.125 kB / 0.9358 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/1.006, allocations: 3.984 kB / 0.9358 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006174/1.012, allocations: 2.811 MB / 0.9385 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/1.012, allocations: 4 kB / 0.9385 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003399/1.015, allocations: 0.5309 MB / 0.9391 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/1.015, allocations: 8 kB / 0.9391 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-05/1.015, allocations: 23.98 kB / 0.9391 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004796/1.02, allocations: 3.354 MB / 0.9424 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/1.02, allocations: 7.938 kB / 0.9424 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0041/1.024, allocations: 1.531 MB / 0.9439 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008118/1.025, allocations: 343.4 kB / 0.9442 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/1.025, allocations: 19.98 kB / 0.9442 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/1.027, allocations: 119.9 kB / 0.9443 GB, free: 8.406 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/1.027, allocations: 60.36 kB / 0.9444 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/1.027, allocations: 51.95 kB / 0.9444 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000985/1.028, allocations: 0.6661 MB / 0.9451 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.028, allocations: 7.875 kB / 0.9451 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001841/1.03, allocations: 0.6549 MB / 0.9457 GB, free: 6.953 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006735/1.03, allocations: 212 kB / 0.9459 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008068/1.039, allocations: 2.514 MB / 0.9484 GB, free: 4.211 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/1.039, allocations: 4 kB / 0.9484 GB, free: 4.207 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006034/1.045, allocations: 1.284 MB / 0.9496 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/1.048, allocations: 0.6019 MB / 0.9502 GB, free: 2.324 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004511/1.052, allocations: 2.266 MB / 0.9524 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006932/1.053, allocations: 1.138 MB / 0.9536 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001507/1.054, allocations: 408.8 kB / 0.9539 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/1.055, allocations: 95.41 kB / 0.954 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of SimCode: time 4.41e-07/1.055, allocations: 0 / 0.954 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of Templates: time 0.04139/1.096, allocations: 25.19 MB / 0.9786 GB, free: 5.367 MB / 0.7794 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)