Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 252 MB / 267.6 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 175.4 kB / 327.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 0.5783 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007768/0.0007768, allocations: 92.47 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 10.34 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.236, allocations: 106.4 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8182/1.054, allocations: 195.5 MB / 1.092 GB, free: 3.965 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01182/1.066, allocations: 6.651 MB / 1.098 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/1.068, allocations: 40.2 kB / 1.098 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002272/1.071, allocations: 0.4941 MB / 1.099 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00781/1.079, allocations: 1.867 MB / 1.101 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003272/1.082, allocations: 0.9031 MB / 1.101 GB, free: 3.676 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005455/1.087, allocations: 3.186 MB / 1.105 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/1.089, allocations: 0.7871 MB / 1.105 GB, free: 3.562 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004591/1.094, allocations: 1.44 MB / 1.107 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002388/1.096, allocations: 0.9079 MB / 1.108 GB, free: 3.547 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002569/1.096, allocations: 44.91 kB / 1.108 GB, free: 3.547 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005027/1.101, allocations: 1.542 MB / 1.109 GB, free: 3.523 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007877/1.102, allocations: 345.4 kB / 1.11 GB, free: 3.523 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001211/1.103, allocations: 270.7 kB / 1.11 GB, free: 19.49 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003446/1.107, allocations: 1.716 MB / 1.111 GB, free: 19.35 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.107, allocations: 0 / 1.111 GB, free: 19.35 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.214e-06/1.107, allocations: 0 / 1.111 GB, free: 19.35 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.355e-05/1.107, allocations: 0 / 1.111 GB, free: 19.35 MB / 0.7136 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.004608/1.112, allocations: 1.62 MB / 1.113 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/1.112, allocations: 8.188 kB / 1.113 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003402/1.115, allocations: 0.5848 MB / 1.114 GB, free: 18.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/1.117, allocations: 0.9185 MB / 1.114 GB, free: 18.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007109/1.118, allocations: 196.7 kB / 1.115 GB, free: 18.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/1.118, allocations: 87.86 kB / 1.115 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003173/1.121, allocations: 1.263 MB / 1.116 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/1.121, allocations: 0 / 1.116 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/1.121, allocations: 33.56 kB / 1.116 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/1.122, allocations: 50.81 kB / 1.116 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004017/1.126, allocations: 1.613 MB / 1.118 GB, free: 17.92 MB / 0.7136 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.007399/1.133, allocations: 4.099 MB / 1.122 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/1.136, allocations: 1.041 MB / 1.123 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/1.137, allocations: 0.6951 MB / 1.123 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/1.138, allocations: 0.6381 MB / 1.124 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/1.138, allocations: 41.06 kB / 1.124 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.386e-06/1.138, allocations: 9.531 kB / 1.124 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.005291/1.144, allocations: 1.912 MB / 1.126 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/1.144, allocations: 66.42 kB / 1.126 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/1.145, allocations: 0.8067 MB / 1.127 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001903/1.146, allocations: 43.8 kB / 1.127 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/1.146, allocations: 441.2 kB / 1.127 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/1.146, allocations: 257.9 kB / 1.127 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/1.146, allocations: 14.59 kB / 1.127 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.147, allocations: 343.8 kB / 1.128 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/1.148, allocations: 0.5621 MB / 1.128 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/1.15, allocations: 0.6892 MB / 1.129 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/1.152, allocations: 0.6174 MB / 1.13 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/1.152, allocations: 4.75 kB / 1.13 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003818/1.156, allocations: 1.427 MB / 1.131 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000134/1.156, allocations: 148.6 kB / 1.131 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.156, allocations: 3.953 kB / 1.131 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/1.156, allocations: 3.109 kB / 1.131 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/1.158, allocations: 289.5 kB / 1.131 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007517/1.158, allocations: 1.186 MB / 1.133 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/1.16, allocations: 209.5 kB / 1.133 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/1.16, allocations: 41.23 kB / 1.133 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/1.16, allocations: 6.094 kB / 1.133 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00326/1.163, allocations: 1.313 MB / 1.134 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.163, allocations: 1.719 kB / 1.134 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/1.163, allocations: 6.219 kB / 1.134 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/1.165, allocations: 253.6 kB / 1.134 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/1.165, allocations: 6.219 kB / 1.134 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/1.166, allocations: 192.9 kB / 1.135 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/1.167, allocations: 37.09 kB / 1.135 GB, free: 12.19 MB / 0.7136 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.i1_w,hex.i2_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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009092/1.167, allocations: 376.8 kB / 1.135 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004127/1.168, allocations: 103.6 kB / 1.135 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/1.172, allocations: 1.434 MB / 1.136 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/1.172, allocations: 13.12 kB / 1.136 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.172, allocations: 0 / 1.136 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/1.172, allocations: 5.734 kB / 1.136 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006932/1.179, allocations: 2.92 MB / 1.139 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/1.179, allocations: 2.844 kB / 1.139 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/1.18, allocations: 253.1 kB / 1.14 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.08e-05/1.18, allocations: 9.375 kB / 1.14 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.081e-05/1.18, allocations: 19.92 kB / 1.14 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007164/1.181, allocations: 1.2 MB / 1.141 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.181, allocations: 5.375 kB / 1.141 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003572/1.184, allocations: 1.539 MB / 1.142 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008202/1.185, allocations: 312.8 kB / 1.143 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003072/1.186, allocations: 15.34 kB / 1.143 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/1.187, allocations: 170.8 kB / 1.143 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/1.187, allocations: 54.72 kB / 1.143 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/1.187, allocations: 38.72 kB / 1.143 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001127/1.189, allocations: 0.5619 MB / 1.143 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.189, allocations: 0 / 1.143 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002152/1.191, allocations: 0.5321 MB / 1.144 GB, free: 8.121 MB / 0.7136 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008072/1.192, allocations: 278.4 kB / 1.144 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00569/1.197, allocations: 2.141 MB / 1.146 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.197, allocations: 0 / 1.146 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001823/1.199, allocations: 0.7037 MB / 1.147 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/1.202, allocations: 0.5152 MB / 1.147 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/1.208, allocations: 2.511 MB / 1.15 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000932/1.209, allocations: 1.091 MB / 1.151 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005874/1.21, allocations: 98.55 kB / 1.151 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of SimCode: time 1.403e-06/1.21, allocations: 0 / 1.151 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of Templates: time 0.04071/1.25, allocations: 26.74 MB / 1.177 GB, free: 13.73 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)