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.001517/0.001517, allocations: 105.4 kB / 15.69 MB, free: 140 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.001648/0.001648, allocations: 195.1 kB / 16.63 MB, free: 6.328 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.457/1.457, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.714/1.714, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.001467/0.001467, allocations: 68.08 kB / 0.6722 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3276, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.9328/1.26, allocations: 214.2 MB / 0.9933 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01225/1.273, allocations: 6.951 MB / 1 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/1.275, allocations: 43.69 kB / 1 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00226/1.277, allocations: 0.7817 MB / 1.001 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00787/1.285, allocations: 2.495 MB / 1.003 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003681/1.289, allocations: 1.17 MB / 1.004 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004143/1.293, allocations: 2.795 MB / 1.007 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/1.295, allocations: 1.093 MB / 1.008 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004758/1.299, allocations: 1.99 MB / 1.01 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/1.301, allocations: 0.9389 MB / 1.011 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001754/1.302, allocations: 121.8 kB / 1.011 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004553/1.306, allocations: 2.444 MB / 1.014 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004155/1.307, allocations: 429.5 kB / 1.014 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007661/1.307, allocations: 0.6907 MB / 1.015 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00357/1.311, allocations: 2.49 MB / 1.017 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.311, allocations: 0 / 1.017 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.613e-06/1.311, allocations: 4 kB / 1.017 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.18e-05/1.311, allocations: 0 / 1.017 GB, free: 15.26 MB / 0.7481 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.00437/1.315, allocations: 1.849 MB / 1.019 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.315, allocations: 10.84 kB / 1.019 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003056/1.318, allocations: 0.5307 MB / 1.019 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/1.32, allocations: 1.014 MB / 1.02 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.892e-05/1.32, allocations: 63.39 kB / 1.021 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/1.321, allocations: 84.38 kB / 1.021 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/1.323, allocations: 1.227 MB / 1.022 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/1.323, allocations: 0 / 1.022 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/1.323, allocations: 31.38 kB / 1.022 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.014e-05/1.324, allocations: 45.27 kB / 1.022 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003632/1.327, allocations: 1.53 MB / 1.023 GB, free: 11.36 MB / 0.7481 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.00635/1.334, allocations: 4.044 MB / 1.027 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/1.336, allocations: 0.971 MB / 1.028 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/1.337, allocations: 0.6565 MB / 1.029 GB, free: 7.293 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/1.338, allocations: 0.6099 MB / 1.03 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/1.339, allocations: 44.03 kB / 1.03 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 3.286e-06/1.339, allocations: 0 / 1.03 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.004817/1.343, allocations: 1.782 MB / 1.031 GB, free: 5.77 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/1.343, allocations: 60.31 kB / 1.031 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/1.344, allocations: 0.8201 MB / 1.032 GB, free: 5.23 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/1.345, allocations: 42.98 kB / 1.032 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/1.345, allocations: 442.2 kB / 1.033 GB, free: 4.805 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/1.345, allocations: 265.8 kB / 1.033 GB, free: 4.578 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/1.345, allocations: 152.8 kB / 1.033 GB, free: 4.492 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.346, allocations: 341.6 kB / 1.033 GB, free: 4.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/1.347, allocations: 0.5283 MB / 1.034 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/1.348, allocations: 0.6609 MB / 1.035 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/1.351, allocations: 1.126 MB / 1.036 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.351, allocations: 0 / 1.036 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00349/1.355, allocations: 1.339 MB / 1.037 GB, free: 1.793 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/1.355, allocations: 37.69 kB / 1.037 GB, free: 1.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.355, allocations: 4 kB / 1.037 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/1.355, allocations: 7.938 kB / 1.037 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/1.356, allocations: 259.7 kB / 1.037 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007719/1.357, allocations: 1.199 MB / 1.038 GB, free: 244 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.358, allocations: 143.3 kB / 1.039 GB, free: 100 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.551e-05/1.358, allocations: 35.97 kB / 1.039 GB, free: 64 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001857/1.36, allocations: 0.7517 MB / 1.039 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001465/1.362, allocations: 0.6559 MB / 1.04 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002686/1.364, allocations: 1.12 MB / 1.041 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/1.364, allocations: 0 / 1.041 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003314/1.368, allocations: 1.329 MB / 1.042 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/1.368, allocations: 45.56 kB / 1.042 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/1.368, allocations: 0 / 1.042 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/1.368, allocations: 4 kB / 1.042 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/1.369, allocations: 239.7 kB / 1.043 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/1.369, allocations: 4 kB / 1.043 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/1.37, allocations: 134 kB / 1.043 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/1.37, allocations: 35.59 kB / 1.043 GB, free: 11.68 MB / 0.7637 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.0003166/1.371, allocations: 231.3 kB / 1.043 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/1.371, allocations: 106.7 kB / 1.043 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/1.375, allocations: 1.345 MB / 1.044 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/1.375, allocations: 8 kB / 1.044 GB, free: 9.98 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.375, allocations: 0 / 1.044 GB, free: 9.98 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/1.375, allocations: 3.984 kB / 1.044 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005999/1.381, allocations: 2.821 MB / 1.047 GB, free: 7.066 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.381, allocations: 4 kB / 1.047 GB, free: 7.062 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.382, allocations: 236 kB / 1.047 GB, free: 6.832 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/1.382, allocations: 12 kB / 1.047 GB, free: 6.82 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.002e-05/1.382, allocations: 27.97 kB / 1.047 GB, free: 6.793 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006637/1.383, allocations: 1.184 MB / 1.049 GB, free: 5.562 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.383, allocations: 4 kB / 1.049 GB, free: 5.559 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003346/1.386, allocations: 1.451 MB / 1.05 GB, free: 4.047 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005963/1.387, allocations: 303.5 kB / 1.05 GB, free: 3.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/1.387, allocations: 27.86 kB / 1.05 GB, free: 3.703 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.388, allocations: 111.8 kB / 1.05 GB, free: 3.594 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.388, allocations: 60.42 kB / 1.05 GB, free: 3.535 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-05/1.388, allocations: 39.97 kB / 1.051 GB, free: 3.496 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007939/1.389, allocations: 0.5661 MB / 1.051 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.21e-07/1.389, allocations: 0 / 1.051 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001436/1.391, allocations: 0.538 MB / 1.052 GB, free: 2.379 MB / 0.7637 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.0006231/1.391, allocations: 265.6 kB / 1.052 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005559/1.397, allocations: 2.03 MB / 1.054 GB, free: 80 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/1.397, allocations: 0 / 1.054 GB, free: 80 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001766/1.399, allocations: 0.6598 MB / 1.054 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/1.401, allocations: 499.8 kB / 1.055 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004572/1.406, allocations: 2.072 MB / 1.057 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007639/1.406, allocations: 1.094 MB / 1.058 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001474/1.408, allocations: 391.5 kB / 1.058 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/1.408, allocations: 91.39 kB / 1.059 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/1.408, allocations: 0 / 1.059 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of Templates: time 0.0388/1.447, allocations: 20.82 MB / 1.079 GB, free: 6.668 MB / 0.795 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)