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.001366/0.001366, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001684/0.001684, allocations: 195.3 kB / 16.14 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.406/1.406, allocations: 205.1 MB / 222 MB, free: 4.75 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.726/1.726, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001974/0.001974, allocations: 68.19 kB / 0.6708 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2251, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7389/0.964, allocations: 326.4 MB / 1.101 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.04123/1.005, allocations: 30.05 MB / 1.131 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004355/1.01, allocations: 91.44 kB / 1.131 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006545/1.016, allocations: 1.765 MB / 1.133 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0154/1.032, allocations: 4.669 MB / 1.137 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01124/1.043, allocations: 3.347 MB / 1.14 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0125/1.056, allocations: 9.606 MB / 1.15 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004694/1.06, allocations: 2.428 MB / 1.152 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01389/1.074, allocations: 4.744 MB / 1.157 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005145/1.079, allocations: 2.475 MB / 1.159 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001249/1.081, allocations: 164 kB / 1.159 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01215/1.093, allocations: 5.615 MB / 1.165 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002091/1.095, allocations: 0.946 MB / 1.166 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004307/1.099, allocations: 1.598 MB / 1.167 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01264/1.112, allocations: 5.912 MB / 1.173 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.112, allocations: 0 / 1.173 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.473e-06/1.112, allocations: 0 / 1.173 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001491/1.112, allocations: 0 / 1.173 GB, free: 2.508 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.007674/1.12, allocations: 3.701 MB / 1.177 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/1.12, allocations: 12.03 kB / 1.177 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009915/1.13, allocations: 1.464 MB / 1.178 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003566/1.133, allocations: 1.976 MB / 1.18 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001222/1.135, allocations: 399.8 kB / 1.18 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003377/1.135, allocations: 220 kB / 1.181 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005766/1.141, allocations: 3.071 MB / 1.184 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.65e-05/1.141, allocations: 3.938 kB / 1.184 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002485/1.141, allocations: 92 kB / 1.184 GB, free: 7.277 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.732e-05/1.141, allocations: 88 kB / 1.184 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006656/1.148, allocations: 3.146 MB / 1.187 GB, free: 4.023 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.02373/1.172, allocations: 14.09 MB / 1.201 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003877/1.175, allocations: 1.652 MB / 1.202 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/1.177, allocations: 0.7834 MB / 1.203 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006214/1.178, allocations: 325.2 kB / 1.203 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/1.178, allocations: 55.56 kB / 1.203 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0014/1.179, allocations: 202 kB / 1.204 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=110): time 3.266e-06/1.179, allocations: 0 / 1.204 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of matching and sorting (n=110): time 0.00561/1.185, allocations: 2.363 MB / 1.206 GB, free: 15.38 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/1.185, allocations: 64.41 kB / 1.206 GB, free: 15.3 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/1.189, allocations: 2.533 MB / 1.208 GB, free: 12.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002293/1.189, allocations: 53.7 kB / 1.209 GB, free: 12.69 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009875/1.19, allocations: 1.272 MB / 1.21 GB, free: 11.4 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/1.19, allocations: 394.4 kB / 1.21 GB, free: 11.01 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006592/1.191, allocations: 395 kB / 1.211 GB, free: 10.62 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.191, allocations: 301.1 kB / 1.211 GB, free: 10.32 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00247/1.194, allocations: 0.9728 MB / 1.212 GB, free: 9.348 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002973/1.197, allocations: 1.606 MB / 1.213 GB, free: 7.465 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004503/1.201, allocations: 2.28 MB / 1.216 GB, free: 4.984 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/1.201, allocations: 4 kB / 1.216 GB, free: 4.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006515/1.208, allocations: 2.825 MB / 1.218 GB, free: 2.133 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-05/1.208, allocations: 75.52 kB / 1.218 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/1.208, allocations: 16 kB / 1.218 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-05/1.208, allocations: 20 kB / 1.218 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/1.211, allocations: 0.5656 MB / 1.219 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/1.212, allocations: 2.387 MB / 1.221 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003735/1.216, allocations: 407.5 kB / 1.222 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/1.216, allocations: 91.97 kB / 1.222 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003376/1.219, allocations: 1.406 MB / 1.223 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002963/1.222, allocations: 1.61 MB / 1.225 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004497/1.227, allocations: 2.266 MB / 1.227 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.352e-05/1.227, allocations: 4 kB / 1.227 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007291/1.234, allocations: 2.824 MB / 1.23 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.147e-05/1.234, allocations: 75.39 kB / 1.23 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/1.234, allocations: 12 kB / 1.23 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.626e-05/1.235, allocations: 20 kB / 1.23 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002446/1.237, allocations: 0.5232 MB / 1.23 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.799e-05/1.237, allocations: 35.86 kB / 1.23 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00372/1.241, allocations: 407.9 kB / 1.231 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/1.241, allocations: 87.97 kB / 1.231 GB, free: 4.707 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.0005052/1.241, allocations: 299.7 kB / 1.231 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004678/1.242, allocations: 260.8 kB / 1.231 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004278/1.246, allocations: 1.835 MB / 1.233 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/1.246, allocations: 15.94 kB / 1.233 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/1.246, allocations: 3.938 kB / 1.233 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/1.246, allocations: 3.984 kB / 1.233 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008296/1.255, allocations: 4.493 MB / 1.238 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/1.255, allocations: 4 kB / 1.238 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.256, allocations: 304.3 kB / 1.238 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/1.256, allocations: 11.98 kB / 1.238 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.742e-05/1.256, allocations: 35.98 kB / 1.238 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/1.257, allocations: 2.363 MB / 1.24 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/1.257, allocations: 15.88 kB / 1.24 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003851/1.261, allocations: 1.972 MB / 1.242 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/1.262, allocations: 0.525 MB / 1.243 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000338/1.263, allocations: 28 kB / 1.243 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002373/1.265, allocations: 258.4 kB / 1.243 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/1.265, allocations: 92.64 kB / 1.243 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/1.265, allocations: 63.95 kB / 1.243 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002853/1.268, allocations: 1.755 MB / 1.245 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.268, allocations: 0 / 1.245 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00343/1.272, allocations: 1.298 MB / 1.246 GB, free: 4.719 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.0007673/1.272, allocations: 367.9 kB / 1.246 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008518/1.281, allocations: 3.62 MB / 1.25 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.281, allocations: 1.812 kB / 1.25 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/1.283, allocations: 0.8071 MB / 1.251 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006156/1.289, allocations: 1.204 MB / 1.252 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008601/1.298, allocations: 5.218 MB / 1.257 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/1.299, allocations: 1.693 MB / 1.259 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004181/1.303, allocations: 0.7896 MB / 1.259 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006377/1.304, allocations: 195.4 kB / 1.26 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of SimCode: time 3.016e-06/1.304, allocations: 0 / 1.26 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of Templates: time 0.3991/1.703, allocations: 46.26 MB / 1.305 GB, free: 393.1 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (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)