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.001238/0.001238, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001294/0.001294, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.419/1.419, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.95/1.95, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001415/0.001415, allocations: 63.91 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2362, allocations: 114.5 MB / 0.7841 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7394/0.9756, allocations: 214.2 MB / 0.9933 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01235/0.988, allocations: 6.958 MB / 1 GB, free: 13.27 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.9907, allocations: 43.75 kB / 1 GB, free: 13.22 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.9936, allocations: 0.7726 MB / 1.001 GB, free: 12.45 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00768/1.001, allocations: 2.501 MB / 1.003 GB, free: 9.934 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003464/1.005, allocations: 1.17 MB / 1.004 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004853/1.01, allocations: 2.802 MB / 1.007 GB, free: 5.973 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/1.011, allocations: 1.087 MB / 1.008 GB, free: 4.871 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004331/1.016, allocations: 1.989 MB / 1.01 GB, free: 2.875 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/1.018, allocations: 0.9339 MB / 1.011 GB, free: 1.945 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002944/1.018, allocations: 120 kB / 1.011 GB, free: 1.828 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004861/1.023, allocations: 2.451 MB / 1.014 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006913/1.024, allocations: 422.7 kB / 1.014 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001161/1.025, allocations: 0.6843 MB / 1.015 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004184/1.029, allocations: 2.501 MB / 1.017 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.029, allocations: 0 / 1.017 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/1.029, allocations: 0 / 1.017 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.854e-05/1.029, allocations: 0 / 1.017 GB, free: 11.76 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.004538/1.034, allocations: 1.846 MB / 1.019 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.034, allocations: 16.02 kB / 1.019 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003025/1.037, allocations: 0.5368 MB / 1.019 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/1.038, allocations: 0.9563 MB / 1.02 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006058/1.039, allocations: 177.9 kB / 1.021 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/1.039, allocations: 80 kB / 1.021 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/1.042, allocations: 1.237 MB / 1.022 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/1.042, allocations: 3.938 kB / 1.022 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/1.042, allocations: 32 kB / 1.022 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-05/1.042, allocations: 45.98 kB / 1.022 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/1.046, allocations: 1.55 MB / 1.023 GB, free: 5.18 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.006492/1.052, allocations: 4.053 MB / 1.027 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/1.055, allocations: 1.001 MB / 1.028 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/1.056, allocations: 0.6669 MB / 1.029 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/1.057, allocations: 0.6086 MB / 1.03 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/1.058, allocations: 47.16 kB / 1.03 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=76): time 2.685e-06/1.058, allocations: 4 kB / 1.03 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=76): time 0.005021/1.063, allocations: 1.812 MB / 1.031 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/1.063, allocations: 64.06 kB / 1.031 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/1.064, allocations: 0.8154 MB / 1.032 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/1.064, allocations: 45.7 kB / 1.032 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003801/1.064, allocations: 436.5 kB / 1.033 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/1.065, allocations: 256.2 kB / 1.033 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003297/1.065, allocations: 162.5 kB / 1.033 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.065, allocations: 337.9 kB / 1.033 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/1.067, allocations: 0.5434 MB / 1.034 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/1.068, allocations: 0.6647 MB / 1.035 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002864/1.071, allocations: 1.147 MB / 1.036 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.071, allocations: 4 kB / 1.036 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003435/1.074, allocations: 1.36 MB / 1.037 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.988e-05/1.074, allocations: 35.73 kB / 1.037 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.074, allocations: 7.984 kB / 1.037 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/1.074, allocations: 4 kB / 1.037 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/1.076, allocations: 263.7 kB / 1.037 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007895/1.077, allocations: 1.184 MB / 1.039 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/1.078, allocations: 151.4 kB / 1.039 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/1.078, allocations: 35.97 kB / 1.039 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001699/1.08, allocations: 0.7672 MB / 1.039 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001457/1.081, allocations: 0.6637 MB / 1.04 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002716/1.084, allocations: 1.139 MB / 1.041 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.865e-06/1.084, allocations: 0 / 1.041 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003396/1.087, allocations: 1.356 MB / 1.043 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.746e-05/1.087, allocations: 37.69 kB / 1.043 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.087, allocations: 1.641 kB / 1.043 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/1.087, allocations: 4 kB / 1.043 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/1.089, allocations: 235.8 kB / 1.043 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/1.089, allocations: 4 kB / 1.043 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/1.09, allocations: 142.1 kB / 1.043 GB, free: 496 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.213e-05/1.09, allocations: 35.97 kB / 1.043 GB, free: 460 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.0003223/1.09, allocations: 220.1 kB / 1.043 GB, free: 232 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/1.091, allocations: 106.7 kB / 1.043 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/1.094, allocations: 1.365 MB / 1.045 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.094, allocations: 8 kB / 1.045 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.094, allocations: 3.938 kB / 1.045 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.094, allocations: 3.984 kB / 1.045 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005656/1.1, allocations: 2.851 MB / 1.047 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/1.1, allocations: 7.938 kB / 1.047 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/1.101, allocations: 230.3 kB / 1.048 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/1.101, allocations: 8.094 kB / 1.048 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.559e-05/1.101, allocations: 27.97 kB / 1.048 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006549/1.102, allocations: 1.191 MB / 1.049 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.978e-06/1.102, allocations: 11.92 kB / 1.049 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/1.105, allocations: 1.467 MB / 1.05 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/1.106, allocations: 311.4 kB / 1.051 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/1.106, allocations: 25.06 kB / 1.051 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/1.107, allocations: 107.9 kB / 1.051 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/1.107, allocations: 64.42 kB / 1.051 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.77e-05/1.107, allocations: 39.86 kB / 1.051 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008132/1.108, allocations: 0.57 MB / 1.051 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.108, allocations: 0 / 1.051 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00142/1.11, allocations: 0.5341 MB / 1.052 GB, free: 7.062 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.000599/1.11, allocations: 265.4 kB / 1.052 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005337/1.116, allocations: 2.055 MB / 1.054 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.116, allocations: 0 / 1.054 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001711/1.117, allocations: 0.6676 MB / 1.055 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/1.12, allocations: 0.4924 MB / 1.055 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/1.124, allocations: 2.078 MB / 1.057 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008325/1.125, allocations: 1.098 MB / 1.058 GB, free: 352 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001431/1.127, allocations: 393.3 kB / 1.059 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/1.127, allocations: 83.41 kB / 1.059 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of SimCode: time 2.324e-06/1.127, allocations: 0 / 1.059 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of Templates: time 0.03672/1.164, allocations: 20.84 MB / 1.079 GB, free: 11.43 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)