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.1675/0.1695, allocations: 80.84 MB / 0.6706 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.8294/0.999, allocations: 328.1 MB / 0.991 GB, free: 1.555 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.04209/1.041, allocations: 28.85 MB / 1.019 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003952/1.045, allocations: 95.44 kB / 1.019 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006431/1.052, allocations: 2.004 MB / 1.021 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01677/1.068, allocations: 4.741 MB / 1.026 GB, free: 13.76 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01403/1.083, allocations: 4.539 MB / 1.03 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01359/1.096, allocations: 7.185 MB / 1.037 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006313/1.102, allocations: 2.984 MB / 1.04 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01605/1.119, allocations: 5.329 MB / 1.045 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006543/1.125, allocations: 2.619 MB / 1.048 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.00134/1.127, allocations: 336 kB / 1.048 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009311/1.136, allocations: 3.98 MB / 1.052 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002356/1.138, allocations: 1.18 MB / 1.053 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.003799/1.142, allocations: 1.824 MB / 1.055 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01266/1.155, allocations: 5.838 MB / 1.061 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.155, allocations: 0 / 1.061 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.873e-06/1.155, allocations: 4 kB / 1.061 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001732/1.155, allocations: 0 / 1.061 GB, free: 9.855 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.01082/1.166, allocations: 3.879 MB / 1.065 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.166, allocations: 12.03 kB / 1.065 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009462/1.175, allocations: 1.425 MB / 1.066 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004852/1.18, allocations: 1.946 MB / 1.068 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000437/1.181, allocations: 358.5 kB / 1.068 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005956/1.181, allocations: 232 kB / 1.068 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.438/1.619, allocations: 3.511 MB / 1.072 GB, free: 324.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.625e-05/1.619, allocations: 4.719 kB / 1.072 GB, free: 324.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003817/1.62, allocations: 100.1 kB / 1.072 GB, free: 324.8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001578/1.62, allocations: 93.06 kB / 1.072 GB, free: 324.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/1.632, allocations: 3.515 MB / 1.076 GB, free: 324.1 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02902/1.661, allocations: 14.49 MB / 1.09 GB, free: 314.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005575/1.667, allocations: 1.852 MB / 1.092 GB, free: 313.7 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002135/1.669, allocations: 0.7451 MB / 1.092 GB, free: 313.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005449/1.67, allocations: 140.3 kB / 1.092 GB, free: 313.4 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.005e-05/1.67, allocations: 54.12 kB / 1.092 GB, free: 313.4 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001818/1.671, allocations: 227 kB / 1.093 GB, free: 313.2 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=100): time 6.552e-06/1.671, allocations: 0 / 1.093 GB, free: 313.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=100): time 0.01077/1.682, allocations: 2.882 MB / 1.095 GB, free: 312.3 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/1.682, allocations: 117.5 kB / 1.096 GB, free: 312.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004585/1.687, allocations: 2.539 MB / 1.098 GB, free: 310.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004803/1.687, allocations: 61.17 kB / 1.098 GB, free: 310.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008935/1.688, allocations: 1.293 MB / 1.099 GB, free: 309.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003973/1.689, allocations: 356.3 kB / 1.1 GB, free: 309.4 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007504/1.689, allocations: 446.9 kB / 1.1 GB, free: 309.1 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 4.906e-05/1.69, allocations: 304.2 kB / 1.1 GB, free: 308.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003087/1.693, allocations: 1.11 MB / 1.101 GB, free: 308.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003942/1.697, allocations: 1.843 MB / 1.103 GB, free: 306.9 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006891/1.704, allocations: 2.719 MB / 1.106 GB, free: 305.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.629e-05/1.704, allocations: 3.844 kB / 1.106 GB, free: 305.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.009303/1.713, allocations: 3.29 MB / 1.109 GB, free: 303.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.713, allocations: 186 kB / 1.109 GB, free: 303.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/1.713, allocations: 16.53 kB / 1.109 GB, free: 303.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-05/1.713, allocations: 27.78 kB / 1.109 GB, free: 303.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01105/1.724, allocations: 1.922 MB / 1.111 GB, free: 302.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/1.738, allocations: 7.707 MB / 1.119 GB, free: 295.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004807/1.743, allocations: 369.4 kB / 1.119 GB, free: 295.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004053/1.743, allocations: 103 kB / 1.119 GB, free: 295.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003363/1.746, allocations: 1.447 MB / 1.121 GB, free: 295 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002677/1.749, allocations: 1.727 MB / 1.122 GB, free: 293.6 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00432/1.753, allocations: 2.518 MB / 1.125 GB, free: 291.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.57e-05/1.753, allocations: 9.516 kB / 1.125 GB, free: 291.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=230) (initialization_lambda0): time 0.006582/1.76, allocations: 3.083 MB / 1.128 GB, free: 288.9 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.968e-05/1.76, allocations: 188.5 kB / 1.128 GB, free: 288.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/1.76, allocations: 20 kB / 1.128 GB, free: 288.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.76, allocations: 24 kB / 1.128 GB, free: 288.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/1.763, allocations: 0.5578 MB / 1.129 GB, free: 288.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.96e-05/1.763, allocations: 35.86 kB / 1.129 GB, free: 288 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003976/1.767, allocations: 336.1 kB / 1.129 GB, free: 287.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/1.767, allocations: 103.9 kB / 1.129 GB, free: 287.6 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.0007687/1.768, allocations: 316.2 kB / 1.129 GB, free: 287.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006495/1.768, allocations: 256.8 kB / 1.13 GB, free: 287 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004915/1.773, allocations: 2.018 MB / 1.132 GB, free: 285 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/1.773, allocations: 15.94 kB / 1.132 GB, free: 285 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/1.773, allocations: 3.844 kB / 1.132 GB, free: 285 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/1.773, allocations: 3.984 kB / 1.132 GB, free: 285 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/1.787, allocations: 5.187 MB / 1.137 GB, free: 279.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/1.788, allocations: 8 kB / 1.137 GB, free: 279.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009249/1.797, allocations: 1.623 MB / 1.138 GB, free: 278.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-05/1.797, allocations: 11.98 kB / 1.138 GB, free: 278.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/1.797, allocations: 31.92 kB / 1.138 GB, free: 278 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/1.809, allocations: 7.577 MB / 1.146 GB, free: 269.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.809, allocations: 7.938 kB / 1.146 GB, free: 269.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005145/1.814, allocations: 2.11 MB / 1.148 GB, free: 267.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/1.816, allocations: 0.5484 MB / 1.148 GB, free: 267.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003855/1.816, allocations: 28 kB / 1.148 GB, free: 267.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0026/1.819, allocations: 247.7 kB / 1.149 GB, free: 266.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/1.819, allocations: 84.36 kB / 1.149 GB, free: 266.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/1.819, allocations: 75.92 kB / 1.149 GB, free: 266.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002636/1.822, allocations: 1.738 MB / 1.15 GB, free: 265 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/1.822, allocations: 0 / 1.15 GB, free: 265 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004188/1.826, allocations: 1.378 MB / 1.152 GB, free: 263.6 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.0008459/1.827, allocations: 318.4 kB / 1.152 GB, free: 263.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01817/1.845, allocations: 5.755 MB / 1.158 GB, free: 257.4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/1.845, allocations: 5.062 kB / 1.158 GB, free: 257.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.01601/1.861, allocations: 3.104 MB / 1.161 GB, free: 254.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006503/1.868, allocations: 1.25 MB / 1.162 GB, free: 253.1 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007054/1.875, allocations: 4.225 MB / 1.166 GB, free: 248.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008455/1.876, allocations: 1.668 MB / 1.168 GB, free: 247.1 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003114/1.879, allocations: 0.8011 MB / 1.168 GB, free: 246.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005604/1.88, allocations: 183.4 kB / 1.169 GB, free: 246.1 MB / 0.8262 GB Notification: Performance of SimCode: time 7.92e-07/1.88, allocations: 0 / 1.169 GB, free: 246.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.0703/1.95, allocations: 52.42 MB / 1.22 GB, free: 194.2 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)