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.001311/0.001311, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001718/0.001718, allocations: 197 kB / 16.26 MB, free: 6.621 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.459/1.459, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.704/1.704, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001353/0.001353, allocations: 80.94 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2816, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.841/1.123, allocations: 211.5 MB / 0.9894 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01233/1.135, allocations: 6.913 MB / 0.9962 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002948/1.138, allocations: 45.12 kB / 0.9962 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002902/1.141, allocations: 0.691 MB / 0.9969 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009148/1.15, allocations: 2.34 MB / 0.9992 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00407/1.154, allocations: 1.081 MB / 1 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004691/1.159, allocations: 2.799 MB / 1.003 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/1.161, allocations: 1.061 MB / 1.004 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005846/1.167, allocations: 1.972 MB / 1.006 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/1.17, allocations: 0.9901 MB / 1.007 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003063/1.17, allocations: 117 kB / 1.007 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005705/1.176, allocations: 2.572 MB / 1.01 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006966/1.176, allocations: 429.8 kB / 1.01 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001343/1.178, allocations: 0.6848 MB / 1.011 GB, free: 160 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006544/1.184, allocations: 2.645 MB / 1.013 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/1.184, allocations: 1.781 kB / 1.013 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.843e-06/1.184, allocations: 0 / 1.013 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.717e-05/1.184, allocations: 0 / 1.013 GB, free: 15.4 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.005495/1.19, allocations: 1.854 MB / 1.015 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/1.19, allocations: 7.125 kB / 1.015 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/1.193, allocations: 0.534 MB / 1.016 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/1.195, allocations: 0.9594 MB / 1.016 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006352/1.196, allocations: 182.5 kB / 1.017 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/1.196, allocations: 82.53 kB / 1.017 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002814/1.199, allocations: 1.235 MB / 1.018 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/1.199, allocations: 0 / 1.018 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/1.199, allocations: 33.72 kB / 1.018 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/1.199, allocations: 55.25 kB / 1.018 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003604/1.203, allocations: 1.545 MB / 1.02 GB, free: 12.19 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.006968/1.21, allocations: 4.046 MB / 1.023 GB, free: 8.922 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/1.212, allocations: 1.007 MB / 1.024 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/1.214, allocations: 0.6646 MB / 1.025 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/1.215, allocations: 0.6081 MB / 1.026 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/1.215, allocations: 44.31 kB / 1.026 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 3.867e-06/1.215, allocations: 0 / 1.026 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.004946/1.22, allocations: 1.805 MB / 1.027 GB, free: 6.582 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/1.22, allocations: 64.17 kB / 1.028 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/1.221, allocations: 0.8194 MB / 1.028 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001413/1.221, allocations: 44.89 kB / 1.028 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004235/1.222, allocations: 443 kB / 1.029 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/1.222, allocations: 267.6 kB / 1.029 GB, free: 5.383 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/1.222, allocations: 155.5 kB / 1.029 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.222, allocations: 335 kB / 1.03 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/1.224, allocations: 0.5436 MB / 1.03 GB, free: 4.699 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/1.225, allocations: 0.6681 MB / 1.031 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/1.228, allocations: 1.147 MB / 1.032 GB, free: 3.715 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.228, allocations: 0 / 1.032 GB, free: 3.715 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003464/1.232, allocations: 1.36 MB / 1.033 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.381e-05/1.232, allocations: 34.14 kB / 1.033 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.232, allocations: 0 / 1.033 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/1.232, allocations: 9.312 kB / 1.033 GB, free: 3.004 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/1.233, allocations: 270.4 kB / 1.033 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/1.234, allocations: 1.194 MB / 1.035 GB, free: 1.711 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/1.236, allocations: 178.4 kB / 1.035 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.733e-05/1.236, allocations: 36.12 kB / 1.035 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001888/1.238, allocations: 0.7598 MB / 1.036 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00142/1.239, allocations: 0.662 MB / 1.036 GB, free: 0.8008 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002716/1.242, allocations: 1.143 MB / 1.037 GB, free: 208 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/1.242, allocations: 0 / 1.037 GB, free: 208 kB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003551/1.246, allocations: 1.359 MB / 1.039 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/1.246, allocations: 32.95 kB / 1.039 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.246, allocations: 0 / 1.039 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/1.246, allocations: 5.219 kB / 1.039 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.247, allocations: 237.7 kB / 1.039 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/1.247, allocations: 6.234 kB / 1.039 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/1.249, allocations: 174.6 kB / 1.039 GB, free: 15.35 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.755e-05/1.249, allocations: 30.48 kB / 1.039 GB, free: 15.34 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.0003785/1.249, allocations: 227.8 kB / 1.039 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/1.249, allocations: 105.3 kB / 1.039 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/1.253, allocations: 1.364 MB / 1.041 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/1.253, allocations: 7.219 kB / 1.041 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.253, allocations: 0 / 1.041 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/1.253, allocations: 9.344 kB / 1.041 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006046/1.259, allocations: 2.855 MB / 1.044 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/1.259, allocations: 7.938 kB / 1.044 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/1.26, allocations: 228.2 kB / 1.044 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/1.26, allocations: 11.94 kB / 1.044 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.048e-05/1.26, allocations: 19.98 kB / 1.044 GB, free: 12 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006727/1.261, allocations: 1.196 MB / 1.045 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.261, allocations: 4 kB / 1.045 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003424/1.264, allocations: 1.467 MB / 1.046 GB, free: 9.223 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007092/1.265, allocations: 311.5 kB / 1.047 GB, free: 8.898 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/1.265, allocations: 19.94 kB / 1.047 GB, free: 8.879 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/1.267, allocations: 143.7 kB / 1.047 GB, free: 8.738 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/1.267, allocations: 60.42 kB / 1.047 GB, free: 8.68 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.403e-05/1.267, allocations: 47.91 kB / 1.047 GB, free: 8.633 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008032/1.268, allocations: 0.5622 MB / 1.048 GB, free: 8.059 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.9e-07/1.268, allocations: 3.938 kB / 1.048 GB, free: 8.055 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001528/1.269, allocations: 0.538 MB / 1.048 GB, free: 7.516 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.0006832/1.27, allocations: 259.9 kB / 1.048 GB, free: 7.273 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005798/1.276, allocations: 2.151 MB / 1.05 GB, free: 5.098 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.276, allocations: 0 / 1.05 GB, free: 5.098 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/1.277, allocations: 0.6715 MB / 1.051 GB, free: 4.43 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/1.28, allocations: 0.5009 MB / 1.052 GB, free: 3.941 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004914/1.285, allocations: 2.504 MB / 1.054 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009997/1.286, allocations: 1.091 MB / 1.055 GB, free: 244 kB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001891/1.288, allocations: 391.6 kB / 1.055 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/1.288, allocations: 91.33 kB / 1.056 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of SimCode: time 1.042e-06/1.288, allocations: 0 / 1.056 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of Templates: time 0.03764/1.326, allocations: 20.58 MB / 1.076 GB, free: 11.49 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)