Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.686/1.686, allocations: 285.4 MB / 298 MB, free: 6.008 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001318/0.001318, allocations: 180.8 kB / 366.4 MB, free: 2.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.1 MB / 0.6248 GB, free: 7.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 89.8 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.459e-05/4.462e-05, allocations: 4 kB / 0.8583 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8815/0.8815, allocations: 115.3 MB / 0.9709 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.366/7.248, allocations: 2.089 GB / 3.06 GB, free: 287 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/7.248, allocations: 82.92 kB / 3.06 GB, free: 287 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.375/10.62, allocations: 1.001 GB / 4.061 GB, free: 56.47 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.856e-06/10.62, allocations: 0 / 4.061 GB, free: 56.47 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000103/10.62, allocations: 31.98 kB / 4.061 GB, free: 56.44 MB / 0.948 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.005441/10.63, allocations: 1.716 MB / 4.062 GB, free: 54.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/10.63, allocations: 12.03 kB / 4.062 GB, free: 54.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/10.63, allocations: 0.5486 MB / 4.063 GB, free: 54.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/10.63, allocations: 1.043 MB / 4.064 GB, free: 53.02 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005721/10.63, allocations: 205.8 kB / 4.064 GB, free: 52.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/10.63, allocations: 88 kB / 4.064 GB, free: 52.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/10.64, allocations: 1.13 MB / 4.065 GB, free: 51.58 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/10.64, allocations: 3.984 kB / 4.065 GB, free: 51.58 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/10.64, allocations: 36 kB / 4.065 GB, free: 51.54 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.763e-05/10.64, allocations: 41.98 kB / 4.066 GB, free: 51.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/10.64, allocations: 1.179 MB / 4.067 GB, free: 50.32 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.005561/10.64, allocations: 4.089 MB / 4.071 GB, free: 45.95 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009832/10.64, allocations: 0.7265 MB / 4.071 GB, free: 45.22 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005894/10.65, allocations: 0.5036 MB / 4.072 GB, free: 44.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008729/10.65, allocations: 0.6049 MB / 4.072 GB, free: 44 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/10.65, allocations: 47.34 kB / 4.072 GB, free: 43.94 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.286e-06/10.65, allocations: 0 / 4.072 GB, free: 43.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.001704/10.65, allocations: 0.9637 MB / 4.073 GB, free: 42.96 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/10.65, allocations: 64.14 kB / 4.073 GB, free: 42.89 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007563/10.65, allocations: 0.6977 MB / 4.074 GB, free: 42.17 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.852e-05/10.65, allocations: 45.7 kB / 4.074 GB, free: 42.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/10.65, allocations: 456.4 kB / 4.075 GB, free: 41.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/10.65, allocations: 260.2 kB / 4.075 GB, free: 41.41 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/10.65, allocations: 16 kB / 4.075 GB, free: 41.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.301e-05/10.65, allocations: 330 kB / 4.075 GB, free: 41.06 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005387/10.65, allocations: 381.4 kB / 4.076 GB, free: 40.69 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/10.65, allocations: 0.513 MB / 4.076 GB, free: 40.13 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005484/10.65, allocations: 443.6 kB / 4.077 GB, free: 39.69 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/10.65, allocations: 0 / 4.077 GB, free: 39.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001446/10.65, allocations: 1.047 MB / 4.078 GB, free: 38.63 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/10.65, allocations: 477.9 kB / 4.078 GB, free: 38.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/10.65, allocations: 4 kB / 4.078 GB, free: 38.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/10.65, allocations: 8 kB / 4.078 GB, free: 38.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/10.65, allocations: 271.6 kB / 4.078 GB, free: 37.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004863/10.65, allocations: 1.184 MB / 4.079 GB, free: 36.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/10.66, allocations: 203.3 kB / 4.08 GB, free: 36.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.703e-05/10.66, allocations: 43.97 kB / 4.08 GB, free: 36.38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/10.66, allocations: 4 kB / 4.08 GB, free: 36.37 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001299/10.66, allocations: 0.9374 MB / 4.081 GB, free: 35.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/10.66, allocations: 0 / 4.081 GB, free: 35.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/10.66, allocations: 4 kB / 4.081 GB, free: 35.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/10.66, allocations: 251.8 kB / 4.081 GB, free: 35.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/10.66, allocations: 7.953 kB / 4.081 GB, free: 35.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/10.66, allocations: 195.1 kB / 4.081 GB, free: 34.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.138e-05/10.66, allocations: 39.97 kB / 4.081 GB, free: 34.94 MB / 0.948 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 () * 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.0002409/10.66, allocations: 148.8 kB / 4.081 GB, free: 34.79 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/10.66, allocations: 102.8 kB / 4.081 GB, free: 34.69 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/10.66, allocations: 1.054 MB / 4.082 GB, free: 33.62 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/10.66, allocations: 8 kB / 4.082 GB, free: 33.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/10.66, allocations: 4 kB / 4.082 GB, free: 33.61 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/10.66, allocations: 11.94 kB / 4.082 GB, free: 33.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/10.67, allocations: 2.504 MB / 4.085 GB, free: 30.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/10.67, allocations: 480 / 4.085 GB, free: 30.99 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/10.67, allocations: 263.6 kB / 4.085 GB, free: 30.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/10.67, allocations: 8 kB / 4.085 GB, free: 30.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/10.67, allocations: 23.97 kB / 4.085 GB, free: 30.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003808/10.67, allocations: 1.191 MB / 4.086 GB, free: 29.46 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/10.67, allocations: 16.12 kB / 4.086 GB, free: 29.45 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/10.67, allocations: 1.331 MB / 4.088 GB, free: 27.97 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005298/10.67, allocations: 315.5 kB / 4.088 GB, free: 27.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/10.67, allocations: 20 kB / 4.088 GB, free: 27.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/10.67, allocations: 167.7 kB / 4.088 GB, free: 27.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/10.67, allocations: 64.38 kB / 4.088 GB, free: 27.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.241e-05/10.67, allocations: 39.97 kB / 4.088 GB, free: 27.35 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006442/10.67, allocations: 0.5469 MB / 4.089 GB, free: 26.79 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/10.67, allocations: 0 / 4.089 GB, free: 26.79 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002413/10.67, allocations: 0.753 MB / 4.089 GB, free: 26.04 MB / 0.948 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 () * 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.003068/10.68, allocations: 2.349 MB / 4.092 GB, free: 23.51 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002529/10.68, allocations: 1.588 MB / 4.093 GB, free: 21.89 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/10.68, allocations: 0 / 4.093 GB, free: 21.89 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007659/10.68, allocations: 0.5079 MB / 4.094 GB, free: 21.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/10.68, allocations: 0.5 MB / 4.094 GB, free: 20.88 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/10.69, allocations: 1.538 MB / 4.096 GB, free: 19.28 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/10.69, allocations: 1.116 MB / 4.097 GB, free: 18.13 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001961/10.69, allocations: 467.4 kB / 4.097 GB, free: 17.67 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/10.69, allocations: 75.41 kB / 4.097 GB, free: 17.59 MB / 0.948 GB Notification: Performance of SimCode: time 1.172e-06/10.69, allocations: 0 / 4.097 GB, free: 17.59 MB / 0.948 GB Notification: Performance of Templates: time 0.6809/11.37, allocations: 52.95 MB / 4.149 GB, free: 157.8 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)