Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 103.8 kB / 16.36 MB, free: 6.305 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.001674/0.001674, allocations: 189.3 kB / 17.29 MB, free: 5.875 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.747/1.747, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.739/1.739, allocations: 292.3 MB / 0.5496 GB, free: 17.66 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.001458/0.001458, allocations: 67.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2373, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7029/0.9403, allocations: 214.2 MB / 0.994 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01246/0.9528, allocations: 6.955 MB / 1.001 GB, free: 12.69 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002443/0.9553, allocations: 39.75 kB / 1.001 GB, free: 12.65 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002756/0.9582, allocations: 0.7882 MB / 1.002 GB, free: 11.86 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007964/0.9662, allocations: 2.485 MB / 1.004 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003557/0.9697, allocations: 1.175 MB / 1.005 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004571/0.9743, allocations: 2.795 MB / 1.008 GB, free: 5.398 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002071/0.9764, allocations: 1.091 MB / 1.009 GB, free: 4.293 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005181/0.9816, allocations: 1.989 MB / 1.011 GB, free: 2.297 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/0.9844, allocations: 0.9297 MB / 1.012 GB, free: 1.371 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005253/0.9849, allocations: 123.9 kB / 1.012 GB, free: 1.25 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006042/0.991, allocations: 2.451 MB / 1.014 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0008697/0.9919, allocations: 430.7 kB / 1.015 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001949/0.9938, allocations: 0.6804 MB / 1.015 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00556/0.9994, allocations: 2.497 MB / 1.018 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.9995, allocations: 0 / 1.018 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.925e-06/0.9995, allocations: 0 / 1.018 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.146e-05/0.9995, allocations: 4 kB / 1.018 GB, free: 11.18 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004771/1.004, allocations: 1.846 MB / 1.02 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.004, allocations: 8.031 kB / 1.02 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003112/1.007, allocations: 0.5408 MB / 1.02 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/1.01, allocations: 0.9992 MB / 1.021 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/1.01, allocations: 66 kB / 1.021 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/1.01, allocations: 84 kB / 1.021 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/1.013, allocations: 1.221 MB / 1.022 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/1.013, allocations: 0 / 1.022 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/1.013, allocations: 39.98 kB / 1.023 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.273e-05/1.013, allocations: 45.97 kB / 1.023 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003764/1.017, allocations: 1.534 MB / 1.024 GB, free: 4.688 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.007475/1.024, allocations: 4.045 MB / 1.028 GB, free: 384 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/1.027, allocations: 0.9733 MB / 1.029 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/1.028, allocations: 0.6552 MB / 1.03 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/1.029, allocations: 0.6086 MB / 1.03 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/1.029, allocations: 39.22 kB / 1.03 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=76): time 3.356e-06/1.029, allocations: 4 kB / 1.03 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=76): time 0.005159/1.035, allocations: 1.789 MB / 1.032 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.623e-05/1.035, allocations: 60.06 kB / 1.032 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/1.036, allocations: 0.8154 MB / 1.033 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/1.036, allocations: 49.7 kB / 1.033 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/1.037, allocations: 436.5 kB / 1.033 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/1.037, allocations: 264.1 kB / 1.034 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003192/1.037, allocations: 154.5 kB / 1.034 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.037, allocations: 341.8 kB / 1.034 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/1.039, allocations: 0.5278 MB / 1.035 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/1.041, allocations: 0.652 MB / 1.035 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002939/1.044, allocations: 1.127 MB / 1.036 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.044, allocations: 0 / 1.036 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0037/1.047, allocations: 1.345 MB / 1.038 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.831e-05/1.047, allocations: 41.69 kB / 1.038 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.047, allocations: 4.062 kB / 1.038 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/1.047, allocations: 4 kB / 1.038 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/1.049, allocations: 251.7 kB / 1.038 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007789/1.05, allocations: 1.192 MB / 1.039 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/1.051, allocations: 143.3 kB / 1.039 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/1.051, allocations: 39.97 kB / 1.039 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001882/1.053, allocations: 0.7556 MB / 1.04 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001496/1.055, allocations: 0.6526 MB / 1.041 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002838/1.057, allocations: 1.12 MB / 1.042 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.228e-06/1.057, allocations: 0 / 1.042 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003632/1.061, allocations: 1.34 MB / 1.043 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.645e-05/1.061, allocations: 49.69 kB / 1.043 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.061, allocations: 0 / 1.043 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/1.061, allocations: 4.094 kB / 1.043 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/1.062, allocations: 227.7 kB / 1.043 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/1.062, allocations: 4 kB / 1.043 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/1.064, allocations: 135.4 kB / 1.043 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.281e-05/1.064, allocations: 35.98 kB / 1.043 GB, free: 176 kB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00041/1.064, allocations: 216.1 kB / 1.044 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/1.064, allocations: 102.7 kB / 1.044 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00367/1.068, allocations: 1.349 MB / 1.045 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/1.068, allocations: 8 kB / 1.045 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.068, allocations: 4 kB / 1.045 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/1.068, allocations: 3.984 kB / 1.045 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005551/1.074, allocations: 2.825 MB / 1.048 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/1.074, allocations: 4 kB / 1.048 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/1.075, allocations: 237.5 kB / 1.048 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/1.075, allocations: 7.938 kB / 1.048 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/1.075, allocations: 27.97 kB / 1.048 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006413/1.076, allocations: 1.195 MB / 1.049 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.076, allocations: 4 kB / 1.049 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/1.079, allocations: 1.447 MB / 1.051 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006057/1.08, allocations: 315.5 kB / 1.051 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/1.08, allocations: 22.48 kB / 1.051 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.081, allocations: 107.8 kB / 1.051 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/1.081, allocations: 56.48 kB / 1.051 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.528e-05/1.081, allocations: 35.97 kB / 1.051 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008018/1.082, allocations: 0.5738 MB / 1.052 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/1.082, allocations: 0 / 1.052 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001581/1.084, allocations: 0.5341 MB / 1.052 GB, free: 6.863 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006952/1.084, allocations: 272.9 kB / 1.053 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005348/1.09, allocations: 2.028 MB / 1.055 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.09, allocations: 4 kB / 1.055 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001683/1.091, allocations: 0.6481 MB / 1.055 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/1.094, allocations: 0.5023 MB / 1.056 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/1.098, allocations: 2.116 MB / 1.058 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/1.099, allocations: 1.087 MB / 1.059 GB, free: 136 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/1.1, allocations: 99.38 kB / 1.059 GB, free: 36 kB / 0.8419 GB Notification: Performance of SimCode: time 6.52e-07/1.1, allocations: 0 / 1.059 GB, free: 36 kB / 0.8419 GB Notification: Performance of Templates: time 0.03674/1.136, allocations: 26.72 MB / 1.085 GB, free: 5.508 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)