Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001009/0.001009, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008464/0.008465, allocations: 171.6 kB / 16.27 MB, free: 6.652 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.418/1.418, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.774/1.774, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.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.0005173/0.0005174, allocations: 13.75 kB / 0.6743 GB, free: 25.67 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.215, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7008/0.9158, allocations: 321.9 MB / 1.102 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03678/0.9527, allocations: 29.71 MB / 1.131 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004141/0.9569, allocations: 87.44 kB / 1.131 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005237/0.9621, allocations: 1.761 MB / 1.133 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01272/0.9749, allocations: 4.665 MB / 1.138 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.009237/0.9841, allocations: 3.355 MB / 1.141 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01168/0.9958, allocations: 9.603 MB / 1.15 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00435/1, allocations: 2.363 MB / 1.153 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01371/1.014, allocations: 4.674 MB / 1.157 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005199/1.019, allocations: 2.378 MB / 1.159 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001191/1.02, allocations: 132 kB / 1.16 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01195/1.032, allocations: 5.588 MB / 1.165 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001842/1.034, allocations: 0.8914 MB / 1.166 GB, free: 8.648 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003364/1.038, allocations: 1.564 MB / 1.167 GB, free: 7.07 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0104/1.048, allocations: 5.806 MB / 1.173 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/1.048, allocations: 0 / 1.173 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.655e-06/1.048, allocations: 0 / 1.173 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001533/1.048, allocations: 0 / 1.173 GB, free: 1.246 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.007311/1.056, allocations: 3.054 MB / 1.176 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.056, allocations: 15.97 kB / 1.176 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/1.066, allocations: 1.569 MB / 1.178 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004327/1.07, allocations: 1.987 MB / 1.18 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001408/1.071, allocations: 440.1 kB / 1.18 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006237/1.072, allocations: 220 kB / 1.18 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007/1.079, allocations: 3.109 MB / 1.183 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.088e-05/1.079, allocations: 3.938 kB / 1.183 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003732/1.08, allocations: 92 kB / 1.183 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/1.08, allocations: 95.98 kB / 1.183 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008046/1.088, allocations: 3.217 MB / 1.187 GB, free: 3.133 MB / 0.8887 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.02556/1.113, allocations: 14.3 MB / 1.201 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004262/1.118, allocations: 1.7 MB / 1.202 GB, free: 2.016 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/1.119, allocations: 0.7979 MB / 1.203 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006429/1.12, allocations: 340.2 kB / 1.203 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/1.12, allocations: 51.5 kB / 1.203 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001327/1.122, allocations: 194.1 kB / 1.204 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=110): time 7.143e-06/1.122, allocations: 7.984 kB / 1.204 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of matching and sorting (n=110): time 0.006072/1.128, allocations: 2.426 MB / 1.206 GB, free: 14.14 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/1.128, allocations: 60.41 kB / 1.206 GB, free: 14.07 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004533/1.132, allocations: 2.552 MB / 1.208 GB, free: 11.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002474/1.133, allocations: 57.7 kB / 1.209 GB, free: 11.44 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/1.134, allocations: 1.272 MB / 1.21 GB, free: 10.15 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/1.134, allocations: 394.4 kB / 1.21 GB, free: 9.762 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/1.134, allocations: 137.6 kB / 1.21 GB, free: 9.621 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.329e-05/1.134, allocations: 305.1 kB / 1.211 GB, free: 9.32 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00271/1.137, allocations: 1.007 MB / 1.212 GB, free: 8.312 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003178/1.14, allocations: 1.641 MB / 1.213 GB, free: 6.398 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004937/1.145, allocations: 2.343 MB / 1.215 GB, free: 3.855 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/1.145, allocations: 4 kB / 1.215 GB, free: 3.852 MB / 0.92 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006958/1.152, allocations: 2.903 MB / 1.218 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000364/1.153, allocations: 0.5428 MB / 1.219 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/1.153, allocations: 20 kB / 1.219 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.843e-05/1.153, allocations: 20 kB / 1.219 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/1.156, allocations: 0.5851 MB / 1.219 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/1.157, allocations: 2.391 MB / 1.222 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003913/1.161, allocations: 455.3 kB / 1.222 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/1.161, allocations: 91.95 kB / 1.222 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/1.161, allocations: 4 kB / 1.222 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006387/1.168, allocations: 2.65 MB / 1.225 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.132e-05/1.168, allocations: 20.09 kB / 1.225 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/1.168, allocations: 24 kB / 1.225 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002517/1.17, allocations: 0.5383 MB / 1.225 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.681e-05/1.17, allocations: 27.88 kB / 1.225 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003245/1.173, allocations: 390.7 kB / 1.226 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/1.174, allocations: 83.97 kB / 1.226 GB, free: 8.797 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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.001187/1.175, allocations: 0.6332 MB / 1.227 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005402/1.175, allocations: 260.8 kB / 1.227 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004506/1.18, allocations: 1.874 MB / 1.229 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.18, allocations: 16 kB / 1.229 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/1.18, allocations: 7.922 kB / 1.229 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.18, allocations: 4.406 kB / 1.229 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008532/1.189, allocations: 4.52 MB / 1.233 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/1.189, allocations: 4 kB / 1.233 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/1.19, allocations: 327.8 kB / 1.233 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.739e-05/1.19, allocations: 12 kB / 1.233 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.974e-05/1.19, allocations: 27.98 kB / 1.233 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/1.191, allocations: 2.367 MB / 1.236 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/1.191, allocations: 11.98 kB / 1.236 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004033/1.195, allocations: 2.022 MB / 1.238 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.197, allocations: 0.5405 MB / 1.238 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004979/1.197, allocations: 27.98 kB / 1.238 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002751/1.2, allocations: 291.5 kB / 1.239 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/1.2, allocations: 88.72 kB / 1.239 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/1.2, allocations: 63.95 kB / 1.239 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003525/1.204, allocations: 1.766 MB / 1.24 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.7e-07/1.204, allocations: 0 / 1.24 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004489/1.208, allocations: 1.302 MB / 1.242 GB, free: 8.266 MB / 0.9512 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.0008716/1.209, allocations: 371.2 kB / 1.242 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.009397/1.219, allocations: 3.715 MB / 1.246 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.219, allocations: 8 kB / 1.246 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002103/1.221, allocations: 0.8344 MB / 1.246 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009794/1.231, allocations: 1.298 MB / 1.248 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008823/1.239, allocations: 5.263 MB / 1.253 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/1.241, allocations: 1.694 MB / 1.255 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004041/1.245, allocations: 0.7896 MB / 1.255 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008615/1.246, allocations: 219.4 kB / 1.256 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of SimCode: time 7.51e-07/1.246, allocations: 3.938 kB / 1.256 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of Templates: time 0.4771/1.723, allocations: 50.64 MB / 1.305 GB, free: 370.7 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) Environment - environmentSimulation: