Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001508/0.001507, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001755/0.001756, allocations: 198.3 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.944/2.944, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.72 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3812, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.146/1.527, allocations: 326.4 MB / 1.386 GB, free: 9.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04698/1.574, allocations: 30.28 MB / 1.416 GB, free: 4.938 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006846/1.581, allocations: 91.25 kB / 1.416 GB, free: 4.902 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.008237/1.59, allocations: 1.762 MB / 1.418 GB, free: 3.492 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.02011/1.61, allocations: 4.697 MB / 1.422 GB, free: 15.85 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01141/1.621, allocations: 3.339 MB / 1.426 GB, free: 13.4 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01524/1.636, allocations: 9.631 MB / 1.435 GB, free: 8.184 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006462/1.643, allocations: 2.413 MB / 1.437 GB, free: 6.633 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01741/1.66, allocations: 4.756 MB / 1.442 GB, free: 2.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006806/1.667, allocations: 2.496 MB / 1.444 GB, free: 240 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001562/1.669, allocations: 164 kB / 1.445 GB, free: 76 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01281/1.682, allocations: 5.611 MB / 1.45 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002095/1.684, allocations: 0.9499 MB / 1.451 GB, free: 9.496 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003689/1.687, allocations: 1.594 MB / 1.452 GB, free: 7.895 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/1.699, allocations: 5.916 MB / 1.458 GB, free: 1.961 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.699, allocations: 0 / 1.458 GB, free: 1.961 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/1.699, allocations: 0 / 1.458 GB, free: 1.961 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001579/1.699, allocations: 0 / 1.458 GB, free: 1.961 MB / 1.061 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.009989/1.709, allocations: 3.708 MB / 1.462 GB, free: 14.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/1.709, allocations: 8.031 kB / 1.462 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/1.72, allocations: 1.468 MB / 1.463 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004624/1.725, allocations: 1.983 MB / 1.465 GB, free: 10.62 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001326/1.726, allocations: 392.2 kB / 1.466 GB, free: 10.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006283/1.727, allocations: 216 kB / 1.466 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006817/1.733, allocations: 3.066 MB / 1.469 GB, free: 6.82 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/1.734, allocations: 4 kB / 1.469 GB, free: 6.816 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002828/1.734, allocations: 87.98 kB / 1.469 GB, free: 6.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.587e-05/1.734, allocations: 96 kB / 1.469 GB, free: 6.633 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007378/1.741, allocations: 3.142 MB / 1.472 GB, free: 3.473 MB / 1.076 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.02457/1.766, allocations: 14.09 MB / 1.486 GB, free: 4.277 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004335/1.77, allocations: 1.653 MB / 1.487 GB, free: 2.617 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/1.772, allocations: 0.7764 MB / 1.488 GB, free: 1.84 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006809/1.773, allocations: 333.1 kB / 1.489 GB, free: 1.461 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/1.773, allocations: 51.56 kB / 1.489 GB, free: 1.402 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00176/1.775, allocations: 194.1 kB / 1.489 GB, free: 1.211 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 1.311e-05/1.775, allocations: 0 / 1.489 GB, free: 1.211 MB / 1.092 GB Notification: Performance of matching and sorting (n=110): time 0.007668/1.782, allocations: 2.352 MB / 1.491 GB, free: 14.85 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/1.782, allocations: 68.34 kB / 1.491 GB, free: 14.77 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005212/1.788, allocations: 2.537 MB / 1.494 GB, free: 12.21 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002617/1.788, allocations: 57.7 kB / 1.494 GB, free: 12.15 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/1.789, allocations: 1.268 MB / 1.495 GB, free: 10.87 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/1.79, allocations: 386.5 kB / 1.495 GB, free: 10.49 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009672/1.791, allocations: 391 kB / 1.496 GB, free: 10.1 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.791, allocations: 301.1 kB / 1.496 GB, free: 9.805 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002669/1.793, allocations: 0.9689 MB / 1.497 GB, free: 8.832 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003308/1.797, allocations: 1.589 MB / 1.498 GB, free: 6.973 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004894/1.802, allocations: 2.251 MB / 1.501 GB, free: 4.527 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.992e-05/1.802, allocations: 7.938 kB / 1.501 GB, free: 4.52 MB / 1.107 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.007288/1.809, allocations: 2.782 MB / 1.503 GB, free: 1.715 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 7.356e-05/1.809, allocations: 75.39 kB / 1.503 GB, free: 1.629 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.004e-05/1.809, allocations: 12 kB / 1.503 GB, free: 1.617 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.969e-05/1.809, allocations: 20 kB / 1.503 GB, free: 1.598 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/1.812, allocations: 0.5656 MB / 1.504 GB, free: 1.031 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/1.814, allocations: 2.387 MB / 1.506 GB, free: 14.55 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004087/1.818, allocations: 404.4 kB / 1.507 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/1.818, allocations: 91.95 kB / 1.507 GB, free: 14.07 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003861/1.822, allocations: 1.398 MB / 1.508 GB, free: 12.66 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003316/1.825, allocations: 1.589 MB / 1.51 GB, free: 10.81 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005002/1.83, allocations: 2.232 MB / 1.512 GB, free: 8.387 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.407e-05/1.83, allocations: 4 kB / 1.512 GB, free: 8.383 MB / 1.123 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.007044/1.837, allocations: 2.789 MB / 1.515 GB, free: 5.57 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 7.237e-05/1.837, allocations: 73.42 kB / 1.515 GB, free: 5.488 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.837, allocations: 16 kB / 1.515 GB, free: 5.473 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/1.837, allocations: 20 kB / 1.515 GB, free: 5.453 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/1.84, allocations: 0.5036 MB / 1.515 GB, free: 4.949 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.644e-05/1.84, allocations: 31.88 kB / 1.515 GB, free: 4.918 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003783/1.844, allocations: 414.6 kB / 1.516 GB, free: 4.512 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002771/1.844, allocations: 91.94 kB / 1.516 GB, free: 4.422 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (208): * Single equations (assignments): 202 * 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.0005441/1.845, allocations: 296.2 kB / 1.516 GB, free: 4.125 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006663/1.845, allocations: 256.8 kB / 1.516 GB, free: 3.871 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004701/1.85, allocations: 1.851 MB / 1.518 GB, free: 2.004 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/1.85, allocations: 15.94 kB / 1.518 GB, free: 1.988 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.85, allocations: 0 / 1.518 GB, free: 1.988 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/1.85, allocations: 7.969 kB / 1.518 GB, free: 1.98 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009791/1.86, allocations: 4.5 MB / 1.522 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.86, allocations: 4 kB / 1.522 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/1.862, allocations: 308.2 kB / 1.523 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.767e-05/1.862, allocations: 8 kB / 1.523 GB, free: 13.03 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/1.862, allocations: 35.97 kB / 1.523 GB, free: 12.99 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/1.864, allocations: 2.367 MB / 1.525 GB, free: 10.53 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/1.864, allocations: 11.88 kB / 1.525 GB, free: 10.52 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004674/1.868, allocations: 1.971 MB / 1.527 GB, free: 8.453 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002388/1.871, allocations: 0.5289 MB / 1.528 GB, free: 7.902 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.872, allocations: 27.94 kB / 1.528 GB, free: 7.875 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003479/1.876, allocations: 259.6 kB / 1.528 GB, free: 7.621 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/1.876, allocations: 88.72 kB / 1.528 GB, free: 7.531 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002321/1.876, allocations: 59.95 kB / 1.528 GB, free: 7.473 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.005096/1.881, allocations: 1.762 MB / 1.53 GB, free: 5.707 MB / 1.139 GB Notification: Performance of sort global known variables: time 3.697e-06/1.881, allocations: 0 / 1.53 GB, free: 5.707 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.006325/1.887, allocations: 1.306 MB / 1.531 GB, free: 4.398 MB / 1.139 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.001091/1.889, allocations: 369.1 kB / 1.531 GB, free: 4.047 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00926/1.898, allocations: 3.572 MB / 1.535 GB, free: 444 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.898, allocations: 5.812 kB / 1.535 GB, free: 440 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002021/1.9, allocations: 0.811 MB / 1.536 GB, free: 15.62 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006511/1.906, allocations: 1.222 MB / 1.537 GB, free: 14.41 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008419/1.915, allocations: 5.208 MB / 1.542 GB, free: 9.102 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/1.916, allocations: 1.701 MB / 1.544 GB, free: 7.359 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003867/1.92, allocations: 0.7858 MB / 1.544 GB, free: 6.566 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007735/1.921, allocations: 195.4 kB / 1.545 GB, free: 6.375 MB / 1.154 GB Notification: Performance of SimCode: time 9.62e-07/1.921, allocations: 0 / 1.545 GB, free: 6.375 MB / 1.154 GB Notification: Performance of Templates: time 0.07974/2.001, allocations: 46.74 MB / 1.59 GB, free: 8.148 MB / 1.201 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)