Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json 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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000765/0.000765, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005042/0.005042, allocations: 171.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 252 MB / 0.5105 GB, free: 4.738 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005504/0.0005504, allocations: 16 kB / 0.6249 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5049, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7739/1.279, allocations: 322.5 MB / 1.044 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03699/1.316, allocations: 29.86 MB / 1.073 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003811/1.32, allocations: 85.84 kB / 1.073 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005022/1.325, allocations: 1.786 MB / 1.075 GB, free: 4.219 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01367/1.338, allocations: 5.052 MB / 1.08 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01033/1.349, allocations: 3.355 MB / 1.083 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01289/1.362, allocations: 9.856 MB / 1.092 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004312/1.366, allocations: 2.375 MB / 1.095 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01268/1.379, allocations: 4.453 MB / 1.099 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005215/1.384, allocations: 2.499 MB / 1.102 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0006171/1.385, allocations: 132 kB / 1.102 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009808/1.394, allocations: 5.588 MB / 1.107 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001172/1.396, allocations: 0.9148 MB / 1.108 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002221/1.398, allocations: 1.56 MB / 1.11 GB, free: 324 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.008421/1.406, allocations: 5.829 MB / 1.115 GB, free: 10.47 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.406, allocations: 0 / 1.115 GB, free: 10.47 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.283e-06/1.406, allocations: 0 / 1.115 GB, free: 10.47 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.805e-05/1.406, allocations: 0 / 1.115 GB, free: 10.47 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 544 * Number of variables: 544 Notification: Performance of Generate backend data structure: time 0.006346/1.413, allocations: 3.038 MB / 1.118 GB, free: 7.352 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/1.413, allocations: 12.03 kB / 1.118 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/1.423, allocations: 1.569 MB / 1.12 GB, free: 5.766 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004436/1.427, allocations: 1.975 MB / 1.122 GB, free: 3.738 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001367/1.429, allocations: 428 kB / 1.122 GB, free: 3.316 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005712/1.429, allocations: 220 kB / 1.122 GB, free: 3.102 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006234/1.436, allocations: 3.133 MB / 1.125 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/1.436, allocations: 7.938 kB / 1.125 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002697/1.436, allocations: 95.98 kB / 1.125 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.673e-05/1.436, allocations: 92.02 kB / 1.126 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007159/1.443, allocations: 3.225 MB / 1.129 GB, free: 12.39 MB / 0.8106 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.02159/1.465, allocations: 14.3 MB / 1.143 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004003/1.469, allocations: 1.689 MB / 1.144 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/1.471, allocations: 0.7949 MB / 1.145 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006217/1.471, allocations: 344.2 kB / 1.145 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/1.471, allocations: 55.44 kB / 1.145 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001036/1.472, allocations: 202 kB / 1.146 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 3.216e-06/1.472, allocations: 0 / 1.146 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110): time 0.005688/1.478, allocations: 2.414 MB / 1.148 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/1.478, allocations: 64.41 kB / 1.148 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004081/1.482, allocations: 2.53 MB / 1.151 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002077/1.482, allocations: 53.7 kB / 1.151 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009864/1.483, allocations: 1.245 MB / 1.152 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/1.484, allocations: 390.5 kB / 1.152 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/1.484, allocations: 137.6 kB / 1.152 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/1.484, allocations: 305.1 kB / 1.153 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002596/1.487, allocations: 1.007 MB / 1.154 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003002/1.49, allocations: 1.579 MB / 1.155 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004917/1.495, allocations: 2.354 MB / 1.157 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/1.495, allocations: 7.938 kB / 1.157 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007165/1.502, allocations: 2.895 MB / 1.16 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004195/1.502, allocations: 0.5812 MB / 1.161 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/1.502, allocations: 12 kB / 1.161 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.325e-05/1.502, allocations: 24 kB / 1.161 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/1.505, allocations: 0.5927 MB / 1.161 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/1.507, allocations: 2.387 MB / 1.164 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003779/1.511, allocations: 451.5 kB / 1.164 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/1.511, allocations: 99.94 kB / 1.164 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/1.511, allocations: 4 kB / 1.164 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006188/1.517, allocations: 2.658 MB / 1.167 GB, free: 3.195 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.517, allocations: 12 kB / 1.167 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/1.517, allocations: 31.97 kB / 1.167 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/1.519, allocations: 0.5344 MB / 1.167 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.629e-05/1.52, allocations: 31.92 kB / 1.168 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/1.523, allocations: 371.4 kB / 1.168 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/1.523, allocations: 95.95 kB / 1.168 GB, free: 2.129 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 4 (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 (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * 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.001126/1.524, allocations: 0.6317 MB / 1.169 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003779/1.524, allocations: 252.9 kB / 1.169 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004313/1.529, allocations: 1.886 MB / 1.171 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/1.529, allocations: 8 kB / 1.171 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.529, allocations: 15.92 kB / 1.171 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/1.529, allocations: 3.984 kB / 1.171 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007956/1.537, allocations: 4.535 MB / 1.175 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.537, allocations: 7.938 kB / 1.175 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/1.538, allocations: 319.8 kB / 1.175 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/1.538, allocations: 12 kB / 1.175 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-05/1.538, allocations: 27.98 kB / 1.175 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/1.54, allocations: 2.367 MB / 1.178 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/1.54, allocations: 11.94 kB / 1.178 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003969/1.544, allocations: 2.01 MB / 1.18 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/1.545, allocations: 0.5487 MB / 1.18 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003102/1.545, allocations: 20 kB / 1.18 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0026/1.547, allocations: 309 kB / 1.181 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/1.548, allocations: 84.72 kB / 1.181 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.548, allocations: 63.95 kB / 1.181 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002873/1.551, allocations: 1.754 MB / 1.182 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/1.551, allocations: 0 / 1.182 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003393/1.554, allocations: 1.306 MB / 1.184 GB, free: 1.602 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (110): * Single equations (assignments): 106 * 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.0007503/1.555, allocations: 377.3 kB / 1.184 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.009186/1.564, allocations: 3.719 MB / 1.188 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/1.564, allocations: 4 kB / 1.188 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/1.566, allocations: 0.8231 MB / 1.189 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009255/1.575, allocations: 1.323 MB / 1.19 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007892/1.583, allocations: 5.195 MB / 1.195 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.585, allocations: 1.681 MB / 1.197 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003799/1.588, allocations: 0.7816 MB / 1.197 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007619/1.589, allocations: 219.4 kB / 1.198 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of SimCode: time 8.42e-07/1.589, allocations: 4 kB / 1.198 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of Templates: time 0.08389/1.673, allocations: 50.52 MB / 1.247 GB, free: 1.398 MB / 0.92 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) Environment - environmentSimulation: