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.212/0.2131, allocations: 82.23 MB / 0.5941 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7265/0.9397, allocations: 321.6 MB / 0.9081 GB, free: 264 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03913/0.9788, allocations: 28.7 MB / 0.9362 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005668/0.9846, allocations: 87.38 kB / 0.9363 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.006536/0.9911, allocations: 1.683 MB / 0.9379 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01583/1.007, allocations: 4.482 MB / 0.9423 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01261/1.02, allocations: 4.218 MB / 0.9464 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01378/1.033, allocations: 9.974 MB / 0.9561 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004748/1.038, allocations: 2.46 MB / 0.9585 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01581/1.054, allocations: 4.666 MB / 0.9631 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009366/1.063, allocations: 2.594 MB / 0.9656 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001389/1.065, allocations: 148 kB / 0.9658 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0124/1.077, allocations: 4.497 MB / 0.9702 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.498/1.575, allocations: 0.9683 MB / 0.9711 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005768/1.581, allocations: 1.642 MB / 0.9727 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01411/1.595, allocations: 5.831 MB / 0.9784 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.595, allocations: 0 / 0.9784 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.877e-06/1.595, allocations: 0 / 0.9784 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001618/1.595, allocations: 0 / 0.9784 GB, free: 13.85 MB / 0.7169 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.009468/1.605, allocations: 3.211 MB / 0.9815 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.605, allocations: 8.312 kB / 0.9815 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/1.616, allocations: 1.536 MB / 0.983 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006145/1.622, allocations: 1.85 MB / 0.9849 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001859/1.624, allocations: 0.6097 MB / 0.9854 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001415/1.626, allocations: 236.9 kB / 0.9857 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/1.639, allocations: 3.644 MB / 0.9892 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-05/1.64, allocations: 2.531 kB / 0.9892 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004791/1.64, allocations: 105.8 kB / 0.9893 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/1.64, allocations: 91.47 kB / 0.9894 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009768/1.65, allocations: 3.678 MB / 0.993 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02696/1.677, allocations: 14.78 MB / 1.007 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005664/1.683, allocations: 1.934 MB / 1.009 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/1.684, allocations: 0.7649 MB / 1.01 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004248/1.685, allocations: 150.4 kB / 1.01 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.199e-05/1.685, allocations: 61.25 kB / 1.01 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002375/1.687, allocations: 223.8 kB / 1.01 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=100): time 1.234e-05/1.687, allocations: 0 / 1.01 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=100): time 0.011/1.698, allocations: 3.041 MB / 1.013 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/1.699, allocations: 112.7 kB / 1.014 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00634/1.705, allocations: 2.59 MB / 1.016 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006745/1.706, allocations: 58.33 kB / 1.016 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001177/1.707, allocations: 1.286 MB / 1.017 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004834/1.707, allocations: 359.3 kB / 1.018 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004424/1.708, allocations: 157.6 kB / 1.018 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.708, allocations: 305.1 kB / 1.018 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003393/1.711, allocations: 1.18 MB / 1.019 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00397/1.715, allocations: 1.919 MB / 1.021 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006643/1.722, allocations: 2.828 MB / 1.024 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-05/1.722, allocations: 6.312 kB / 1.024 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01035/1.732, allocations: 3.453 MB / 1.027 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007327/1.733, allocations: 0.7565 MB / 1.028 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.685e-05/1.733, allocations: 17.78 kB / 1.028 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.38e-05/1.733, allocations: 25.25 kB / 1.028 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01253/1.746, allocations: 2.22 MB / 1.03 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01581/1.762, allocations: 7.552 MB / 1.038 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006302/1.768, allocations: 0.5358 MB / 1.038 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006794/1.769, allocations: 112.9 kB / 1.038 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.769, allocations: 2.969 kB / 1.038 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008058/1.777, allocations: 2.982 MB / 1.041 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.536e-05/1.777, allocations: 14.81 kB / 1.041 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/1.777, allocations: 28.97 kB / 1.041 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/1.78, allocations: 0.5882 MB / 1.042 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.606e-05/1.78, allocations: 37.77 kB / 1.042 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004648/1.785, allocations: 410.7 kB / 1.042 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004439/1.785, allocations: 102.3 kB / 1.042 GB, free: 8.227 MB / 0.7325 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.002285/1.787, allocations: 0.6406 MB / 1.043 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/1.788, allocations: 260.8 kB / 1.043 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006382/1.795, allocations: 2.105 MB / 1.045 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/1.795, allocations: 10.19 kB / 1.045 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.795, allocations: 2.016 kB / 1.045 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/1.795, allocations: 3.844 kB / 1.045 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01789/1.813, allocations: 5.454 MB / 1.051 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/1.813, allocations: 2.844 kB / 1.051 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01094/1.824, allocations: 1.89 MB / 1.052 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-05/1.824, allocations: 8.922 kB / 1.052 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004114/1.824, allocations: 30.17 kB / 1.053 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/1.839, allocations: 7.412 MB / 1.06 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.839, allocations: 6.219 kB / 1.06 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006021/1.845, allocations: 2.197 MB / 1.062 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001905/1.847, allocations: 0.5667 MB / 1.062 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004445/1.847, allocations: 25.19 kB / 1.062 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003148/1.85, allocations: 363.5 kB / 1.063 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/1.851, allocations: 84.41 kB / 1.063 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/1.851, allocations: 74.02 kB / 1.063 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002936/1.854, allocations: 1.784 MB / 1.065 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.132e-06/1.854, allocations: 0 / 1.065 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004294/1.858, allocations: 1.392 MB / 1.066 GB, free: 0.6641 MB / 0.7325 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.0007231/1.859, allocations: 323.4 kB / 1.066 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02031/1.879, allocations: 6.19 MB / 1.072 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/1.879, allocations: 1 kB / 1.072 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0187/1.898, allocations: 3.495 MB / 1.076 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009451/1.907, allocations: 1.334 MB / 1.077 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009582/1.917, allocations: 5.257 MB / 1.082 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.918, allocations: 1.67 MB / 1.084 GB, free: 4.043 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004308/1.923, allocations: 0.7976 MB / 1.085 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000772/1.923, allocations: 206.9 kB / 1.085 GB, free: 3.082 MB / 0.7481 GB Notification: Performance of SimCode: time 1.212e-06/1.923, allocations: 0 / 1.085 GB, free: 3.082 MB / 0.7481 GB Notification: Performance of Templates: time 0.09228/2.016, allocations: 54.93 MB / 1.139 GB, free: 12.98 MB / 0.8106 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: