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.2088/0.2108, allocations: 80.83 MB / 0.5897 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6653/0.8762, allocations: 211.8 MB / 0.7965 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.8875, allocations: 5.999 MB / 0.8024 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.8895, allocations: 36.22 kB / 0.8024 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.8921, allocations: 0.7449 MB / 0.8032 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005521/0.8977, allocations: 1.948 MB / 0.8051 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003595/0.9013, allocations: 1.288 MB / 0.8063 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005786/0.9071, allocations: 4.447 MB / 0.8107 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.9089, allocations: 1.037 MB / 0.8117 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005208/0.9141, allocations: 1.93 MB / 0.8136 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00347/0.9176, allocations: 1.172 MB / 0.8147 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003423/0.918, allocations: 72 kB / 0.8148 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004339/0.9223, allocations: 1.766 MB / 0.8165 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007329/0.923, allocations: 494.3 kB / 0.817 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.9248, allocations: 0.7504 MB / 0.8177 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004489/0.9293, allocations: 2.66 MB / 0.8203 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9293, allocations: 0 / 0.8203 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9293, allocations: 0 / 0.8203 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.156e-05/0.9294, allocations: 0 / 0.8203 GB, free: 2.027 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.005825/0.9352, allocations: 2.023 MB / 0.8223 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.9352, allocations: 12.03 kB / 0.8223 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003075/0.9383, allocations: 0.5095 MB / 0.8228 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.9402, allocations: 0.9448 MB / 0.8237 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006934/0.9409, allocations: 198 kB / 0.8239 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.9411, allocations: 112 kB / 0.824 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003841/0.9449, allocations: 1.551 MB / 0.8255 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.9449, allocations: 4 kB / 0.8255 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/0.9451, allocations: 47.98 kB / 0.8256 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.006e-05/0.9452, allocations: 58.16 kB / 0.8256 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004496/0.9497, allocations: 1.835 MB / 0.8274 GB, free: 10.59 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.009885/0.9596, allocations: 4.982 MB / 0.8323 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004621/0.9642, allocations: 1.1 MB / 0.8334 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002364/0.9666, allocations: 0.6554 MB / 0.834 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009441/0.9676, allocations: 259.6 kB / 0.8342 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/0.9677, allocations: 47.22 kB / 0.8343 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 3.887e-06/0.9677, allocations: 0 / 0.8343 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.009032/0.9767, allocations: 1.937 MB / 0.8362 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.9768, allocations: 60.06 kB / 0.8362 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.9789, allocations: 0.9683 MB / 0.8372 GB, free: 140 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002996/0.9793, allocations: 45.7 kB / 0.8372 GB, free: 88 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006309/0.9799, allocations: 0.5232 MB / 0.8377 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003735/0.9803, allocations: 275.9 kB / 0.838 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000534/0.9808, allocations: 178.5 kB / 0.8382 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.981, allocations: 341.9 kB / 0.8385 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/0.9834, allocations: 0.6097 MB / 0.8391 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002642/0.9861, allocations: 0.7849 MB / 0.8399 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004945/0.991, allocations: 1.306 MB / 0.8411 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.9911, allocations: 0 / 0.8411 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.006081/0.9972, allocations: 1.552 MB / 0.8427 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.26e-05/0.9973, allocations: 37.7 kB / 0.8427 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.9973, allocations: 4 kB / 0.8427 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/0.9974, allocations: 15.92 kB / 0.8427 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005874/1.003, allocations: 0.593 MB / 0.8433 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006467/1.01, allocations: 3.173 MB / 0.8464 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/1.012, allocations: 226.9 kB / 0.8466 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/1.013, allocations: 35.98 kB / 0.8466 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002903/1.016, allocations: 0.8273 MB / 0.8474 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002372/1.018, allocations: 0.7574 MB / 0.8482 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004313/1.022, allocations: 1.263 MB / 0.8494 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.029e-06/1.022, allocations: 0 / 0.8494 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.005566/1.028, allocations: 1.497 MB / 0.8509 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.429e-05/1.028, allocations: 33.7 kB / 0.8509 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.028, allocations: 1.719 kB / 0.8509 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/1.028, allocations: 15.92 kB / 0.8509 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/1.03, allocations: 283.8 kB / 0.8512 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/1.03, allocations: 7.938 kB / 0.8512 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/1.032, allocations: 195.2 kB / 0.8514 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/1.032, allocations: 39.97 kB / 0.8514 GB, free: 1 MB / 0.6075 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.0004933/1.033, allocations: 232 kB / 0.8517 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003596/1.033, allocations: 126.6 kB / 0.8518 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004997/1.038, allocations: 1.446 MB / 0.8532 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.038, allocations: 8 kB / 0.8532 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.038, allocations: 0 / 0.8532 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/1.038, allocations: 3.984 kB / 0.8532 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007507/1.046, allocations: 2.84 MB / 0.856 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/1.046, allocations: 8.062 kB / 0.856 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00427/1.05, allocations: 0.5305 MB / 0.8565 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/1.05, allocations: 4 kB / 0.8565 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-05/1.05, allocations: 27.98 kB / 0.8565 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005165/1.055, allocations: 3.127 MB / 0.8596 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.055, allocations: 4 kB / 0.8596 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004757/1.06, allocations: 1.543 MB / 0.8611 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009753/1.061, allocations: 343.4 kB / 0.8614 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/1.061, allocations: 16 kB / 0.8614 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/1.063, allocations: 163.7 kB / 0.8616 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/1.063, allocations: 72.36 kB / 0.8617 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/1.063, allocations: 47.95 kB / 0.8617 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001197/1.065, allocations: 0.6661 MB / 0.8624 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/1.065, allocations: 0 / 0.8624 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002409/1.067, allocations: 0.651 MB / 0.863 GB, free: 4.695 MB / 0.6231 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.0007565/1.068, allocations: 230.8 kB / 0.8632 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01033/1.078, allocations: 2.53 MB / 0.8657 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/1.078, allocations: 0 / 0.8657 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.007752/1.086, allocations: 1.296 MB / 0.8669 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004483/1.091, allocations: 0.6129 MB / 0.8675 GB, free: 36 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00614/1.097, allocations: 2.766 MB / 0.8702 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009488/1.098, allocations: 1.146 MB / 0.8714 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002128/1.1, allocations: 400.8 kB / 0.8717 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/1.1, allocations: 95.39 kB / 0.8718 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of SimCode: time 7.22e-07/1.1, allocations: 4 kB / 0.8718 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of Templates: time 0.03989/1.14, allocations: 24.11 MB / 0.8954 GB, free: 3.73 MB / 0.6544 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)