Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") [/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.2002/0.2026, allocations: 80.84 MB / 0.6706 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.8471/1.05, allocations: 328.1 MB / 0.991 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03656/1.086, allocations: 28.84 MB / 1.019 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00551/1.092, allocations: 107.4 kB / 1.019 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00671/1.099, allocations: 2 MB / 1.021 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0144/1.113, allocations: 4.757 MB / 1.026 GB, free: 13.7 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01274/1.126, allocations: 4.526 MB / 1.03 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01287/1.139, allocations: 7.181 MB / 1.037 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005837/1.145, allocations: 2.996 MB / 1.04 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01517/1.16, allocations: 5.267 MB / 1.045 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007333/1.167, allocations: 2.62 MB / 1.048 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002014/1.169, allocations: 332 kB / 1.048 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01286/1.182, allocations: 3.976 MB / 1.052 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00339/1.186, allocations: 1.176 MB / 1.053 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.005878/1.192, allocations: 1.828 MB / 1.055 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01861/1.21, allocations: 5.855 MB / 1.061 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/1.21, allocations: 7.938 kB / 1.061 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.823e-06/1.21, allocations: 0 / 1.061 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002241/1.21, allocations: 0 / 1.061 GB, free: 9.848 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 562 * Number of variables: 562 Notification: Performance of Generate backend data structure: time 0.01223/1.223, allocations: 3.979 MB / 1.065 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.223, allocations: 12.03 kB / 1.065 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009419/1.232, allocations: 1.45 MB / 1.066 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004348/1.237, allocations: 1.956 MB / 1.068 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003791/1.237, allocations: 350.5 kB / 1.068 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004267/1.237, allocations: 236 kB / 1.069 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5011/1.739, allocations: 3.507 MB / 1.072 GB, free: 325.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.664e-05/1.739, allocations: 7.031 kB / 1.072 GB, free: 325.3 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004224/1.739, allocations: 102.8 kB / 1.072 GB, free: 325.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001497/1.739, allocations: 93.33 kB / 1.072 GB, free: 325.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/1.751, allocations: 3.513 MB / 1.076 GB, free: 324.6 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03108/1.782, allocations: 14.52 MB / 1.09 GB, free: 314.7 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005548/1.787, allocations: 1.848 MB / 1.092 GB, free: 314.3 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001765/1.789, allocations: 0.7455 MB / 1.092 GB, free: 314 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003825/1.79, allocations: 143.8 kB / 1.092 GB, free: 313.9 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/1.79, allocations: 51.66 kB / 1.093 GB, free: 313.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00169/1.791, allocations: 235.2 kB / 1.093 GB, free: 313.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=100): time 6.091e-06/1.791, allocations: 0 / 1.093 GB, free: 313.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=100): time 0.01018/1.802, allocations: 2.896 MB / 1.096 GB, free: 312.9 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/1.802, allocations: 116.9 kB / 1.096 GB, free: 312.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005492/1.807, allocations: 2.542 MB / 1.098 GB, free: 311.4 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005987/1.808, allocations: 62.14 kB / 1.098 GB, free: 311.4 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001145/1.809, allocations: 1.327 MB / 1.1 GB, free: 310.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005509/1.81, allocations: 367.9 kB / 1.1 GB, free: 309.9 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/1.811, allocations: 451.5 kB / 1.1 GB, free: 309.6 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 5.825e-05/1.811, allocations: 306.2 kB / 1.101 GB, free: 309.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003327/1.814, allocations: 1.112 MB / 1.102 GB, free: 308.8 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003833/1.818, allocations: 1.84 MB / 1.103 GB, free: 307.4 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006392/1.825, allocations: 2.717 MB / 1.106 GB, free: 305.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.51e-05/1.825, allocations: 4.469 kB / 1.106 GB, free: 305.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01009/1.835, allocations: 3.301 MB / 1.109 GB, free: 304 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/1.835, allocations: 190 kB / 1.11 GB, free: 303.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/1.835, allocations: 15.88 kB / 1.11 GB, free: 303.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.665e-05/1.835, allocations: 27.64 kB / 1.11 GB, free: 303.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01062/1.846, allocations: 1.922 MB / 1.111 GB, free: 303.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/1.859, allocations: 7.711 MB / 1.119 GB, free: 296.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004741/1.864, allocations: 359.5 kB / 1.119 GB, free: 296.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005654/1.864, allocations: 112.2 kB / 1.119 GB, free: 296.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004007/1.868, allocations: 1.45 MB / 1.121 GB, free: 295.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00313/1.872, allocations: 1.726 MB / 1.123 GB, free: 294.1 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004918/1.877, allocations: 2.516 MB / 1.125 GB, free: 292.3 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.599e-05/1.877, allocations: 9.344 kB / 1.125 GB, free: 292.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=230) (initialization_lambda0): time 0.007503/1.884, allocations: 3.098 MB / 1.128 GB, free: 289.4 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/1.884, allocations: 182.2 kB / 1.128 GB, free: 289.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/1.884, allocations: 16 kB / 1.128 GB, free: 289.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/1.884, allocations: 28 kB / 1.128 GB, free: 289.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/1.887, allocations: 0.5583 MB / 1.129 GB, free: 288.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.615e-05/1.887, allocations: 39.81 kB / 1.129 GB, free: 288.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/1.891, allocations: 332.1 kB / 1.129 GB, free: 288.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003378/1.892, allocations: 99.95 kB / 1.129 GB, free: 288.1 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 8 (senMas2.i_x,senMas1.i_x,senMas4.i_x,senMas3.i_x,masExcRev.i2_w,masExcRev.i1_w,masExcFor.i2_w,masExcFor.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001112/1.893, allocations: 308.6 kB / 1.13 GB, free: 287.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/1.894, allocations: 270.3 kB / 1.13 GB, free: 287.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00562/1.9, allocations: 2.026 MB / 1.132 GB, free: 285.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.9, allocations: 15.81 kB / 1.132 GB, free: 285.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.9, allocations: 4 kB / 1.132 GB, free: 285.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/1.9, allocations: 3.984 kB / 1.132 GB, free: 285.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/1.916, allocations: 5.191 MB / 1.137 GB, free: 280.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/1.916, allocations: 4 kB / 1.137 GB, free: 280.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009301/1.925, allocations: 1.623 MB / 1.138 GB, free: 278.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-05/1.925, allocations: 12 kB / 1.138 GB, free: 278.6 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003417/1.925, allocations: 35.91 kB / 1.139 GB, free: 278.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/1.937, allocations: 7.577 MB / 1.146 GB, free: 270.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/1.937, allocations: 4 kB / 1.146 GB, free: 270.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00771/1.945, allocations: 2.135 MB / 1.148 GB, free: 268.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002219/1.947, allocations: 0.5616 MB / 1.149 GB, free: 267.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/1.948, allocations: 23.95 kB / 1.149 GB, free: 267.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004434/1.953, allocations: 243.7 kB / 1.149 GB, free: 267.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/1.953, allocations: 80.42 kB / 1.149 GB, free: 267.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002921/1.953, allocations: 79.92 kB / 1.149 GB, free: 267.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00315/1.956, allocations: 1.738 MB / 1.151 GB, free: 265.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/1.957, allocations: 0 / 1.151 GB, free: 265.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0046/1.961, allocations: 1.377 MB / 1.152 GB, free: 264.1 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (100): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008475/1.962, allocations: 322.8 kB / 1.152 GB, free: 263.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01815/1.98, allocations: 5.759 MB / 1.158 GB, free: 257.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.204e-05/1.98, allocations: 5 kB / 1.158 GB, free: 257.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.016/1.996, allocations: 3.113 MB / 1.161 GB, free: 254.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008606/2.005, allocations: 1.24 MB / 1.162 GB, free: 253.6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009148/2.014, allocations: 4.31 MB / 1.166 GB, free: 249.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001809/2.016, allocations: 1.668 MB / 1.168 GB, free: 247.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004399/2.02, allocations: 0.8011 MB / 1.169 GB, free: 246.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008799/2.021, allocations: 183.4 kB / 1.169 GB, free: 246.5 MB / 0.8262 GB Notification: Performance of SimCode: time 1.823e-06/2.021, allocations: 0 / 1.169 GB, free: 246.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.0717/2.093, allocations: 51.46 MB / 1.219 GB, free: 195.5 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)