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.00152/0.00152, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.435/1.435, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.565/1.565, allocations: 251.7 MB / 0.5092 GB, free: 3.086 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.00144/0.00144, allocations: 67.91 kB / 0.6223 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4059, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6965/1.102, allocations: 329 MB / 1.046 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0377/1.14, allocations: 30.03 MB / 1.075 GB, free: 8.402 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004105/1.144, allocations: 95.44 kB / 1.075 GB, free: 8.309 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005963/1.15, allocations: 2.124 MB / 1.077 GB, free: 6.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01496/1.165, allocations: 5.362 MB / 1.082 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.009525/1.175, allocations: 3.63 MB / 1.086 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.009913/1.185, allocations: 7.12 MB / 1.093 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004301/1.189, allocations: 2.89 MB / 1.096 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01167/1.201, allocations: 5.01 MB / 1.101 GB, free: 14.08 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004538/1.205, allocations: 2.535 MB / 1.103 GB, free: 11.55 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0007106/1.206, allocations: 300 kB / 1.103 GB, free: 11.25 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009284/1.215, allocations: 4.805 MB / 1.108 GB, free: 6.438 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001346/1.217, allocations: 1.087 MB / 1.109 GB, free: 5.348 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002346/1.219, allocations: 1.734 MB / 1.111 GB, free: 3.605 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01637/1.235, allocations: 5.718 MB / 1.117 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/1.236, allocations: 4 kB / 1.117 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.104e-06/1.236, allocations: 0 / 1.117 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001365/1.236, allocations: 0 / 1.117 GB, free: 13.87 MB / 0.8106 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.01209/1.248, allocations: 3.684 MB / 1.12 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/1.248, allocations: 8.031 kB / 1.12 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01458/1.262, allocations: 1.464 MB / 1.122 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006786/1.269, allocations: 1.963 MB / 1.123 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001844/1.271, allocations: 395.9 kB / 1.124 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008248/1.272, allocations: 219.9 kB / 1.124 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006888/1.279, allocations: 3.098 MB / 1.127 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/1.279, allocations: 7.938 kB / 1.127 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/1.279, allocations: 92 kB / 1.127 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/1.279, allocations: 88.06 kB / 1.127 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007245/1.287, allocations: 3.15 MB / 1.13 GB, free: 15.41 MB / 0.8262 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.02327/1.31, allocations: 14.16 MB / 1.144 GB, free: 140 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00407/1.314, allocations: 1.65 MB / 1.146 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/1.316, allocations: 0.7772 MB / 1.147 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006034/1.316, allocations: 328.2 kB / 1.147 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/1.316, allocations: 51.56 kB / 1.147 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001223/1.318, allocations: 202.1 kB / 1.147 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=110): time 3.367e-06/1.318, allocations: 0 / 1.147 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=110): time 0.005987/1.324, allocations: 2.348 MB / 1.149 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/1.324, allocations: 64.39 kB / 1.149 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003764/1.328, allocations: 2.515 MB / 1.152 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002043/1.328, allocations: 53.7 kB / 1.152 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009152/1.329, allocations: 1.248 MB / 1.153 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/1.329, allocations: 394.4 kB / 1.154 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006115/1.33, allocations: 391 kB / 1.154 GB, free: 6 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/1.33, allocations: 301.1 kB / 1.154 GB, free: 5.703 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/1.332, allocations: 0.9689 MB / 1.155 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00295/1.335, allocations: 1.54 MB / 1.157 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004687/1.34, allocations: 2.295 MB / 1.159 GB, free: 440 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/1.34, allocations: 4 kB / 1.159 GB, free: 436 kB / 0.8419 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006715/1.347, allocations: 2.809 MB / 1.162 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.949e-05/1.347, allocations: 75.39 kB / 1.162 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/1.347, allocations: 12.75 kB / 1.162 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-05/1.347, allocations: 24 kB / 1.162 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/1.35, allocations: 0.5772 MB / 1.162 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/1.351, allocations: 2.402 MB / 1.165 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/1.355, allocations: 311.9 kB / 1.165 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/1.355, allocations: 95.86 kB / 1.165 GB, free: 10 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003405/1.358, allocations: 1.406 MB / 1.166 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003102/1.361, allocations: 1.544 MB / 1.168 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004697/1.366, allocations: 2.28 MB / 1.17 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-05/1.366, allocations: 4 kB / 1.17 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007292/1.374, allocations: 2.809 MB / 1.173 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.126e-05/1.374, allocations: 75.39 kB / 1.173 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/1.374, allocations: 16 kB / 1.173 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/1.374, allocations: 20 kB / 1.173 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/1.376, allocations: 0.5268 MB / 1.174 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.302e-05/1.376, allocations: 27.94 kB / 1.174 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003507/1.38, allocations: 316.5 kB / 1.174 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/1.38, allocations: 95.95 kB / 1.174 GB, free: 404 kB / 0.8575 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.0005363/1.381, allocations: 295.7 kB / 1.174 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005354/1.381, allocations: 260.8 kB / 1.174 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004366/1.386, allocations: 1.839 MB / 1.176 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.386, allocations: 15.94 kB / 1.176 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.386, allocations: 0 / 1.176 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.386, allocations: 7.984 kB / 1.176 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00853/1.394, allocations: 4.508 MB / 1.181 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.394, allocations: 4 kB / 1.181 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.396, allocations: 300 kB / 1.181 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/1.396, allocations: 12 kB / 1.181 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.093e-05/1.396, allocations: 39.92 kB / 1.181 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/1.397, allocations: 2.36 MB / 1.183 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-05/1.397, allocations: 11.94 kB / 1.183 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/1.401, allocations: 1.971 MB / 1.185 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.403, allocations: 0.5367 MB / 1.186 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/1.403, allocations: 31.91 kB / 1.186 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/1.405, allocations: 196.6 kB / 1.186 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/1.405, allocations: 84.72 kB / 1.186 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.406, allocations: 63.95 kB / 1.186 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002809/1.408, allocations: 1.734 MB / 1.188 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.91e-07/1.408, allocations: 0 / 1.188 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003042/1.411, allocations: 1.287 MB / 1.189 GB, free: 496 kB / 0.8731 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.0007246/1.412, allocations: 377.8 kB / 1.189 GB, free: 128 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.009512/1.422, allocations: 3.784 MB / 1.193 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/1.422, allocations: 4 kB / 1.193 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002095/1.424, allocations: 0.8119 MB / 1.194 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00584/1.43, allocations: 1.222 MB / 1.195 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006811/1.437, allocations: 4.242 MB / 1.199 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/1.438, allocations: 1.684 MB / 1.201 GB, free: 4.219 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00353/1.441, allocations: 0.7816 MB / 1.202 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005856/1.442, allocations: 187.4 kB / 1.202 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of SimCode: time 1.994e-06/1.442, allocations: 4 kB / 1.202 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of Templates: time 0.07226/1.514, allocations: 47.59 MB / 1.248 GB, free: 4.277 MB / 0.9356 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (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)