Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5966/0.5966, allocations: 95.61 MB / 110.6 MB, free: 9.359 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001569/0.001569, allocations: 170.1 kB / 134.2 MB, free: 2.258 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.713/1.713, allocations: 170.7 MB / 328.4 MB, free: 12.24 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00168/0.00168, allocations: 103.4 kB / 390.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003702, allocations: 16 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1426, allocations: 61.52 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.59/13.73, allocations: 5.27 GB / 5.782 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/13.73, allocations: 83.95 kB / 5.782 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.409/17.14, allocations: 0.9608 GB / 6.743 GB, free: 16.23 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.663e-06/17.14, allocations: 0 / 6.743 GB, free: 16.23 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.75e-05/17.14, allocations: 39.92 kB / 6.743 GB, free: 16.2 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.007842/17.15, allocations: 2.685 MB / 6.746 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/17.15, allocations: 11.98 kB / 6.746 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007067/17.15, allocations: 182.1 kB / 6.746 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/17.15, allocations: 1.319 MB / 6.747 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.193e-05/17.15, allocations: 86.2 kB / 6.747 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/17.15, allocations: 112 kB / 6.747 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003123/17.15, allocations: 1.388 MB / 6.749 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/17.15, allocations: 0 / 6.749 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/17.15, allocations: 48 kB / 6.749 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.522e-05/17.15, allocations: 54.27 kB / 6.749 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004339/17.16, allocations: 1.723 MB / 6.75 GB, free: 8.445 MB / 0.5573 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.009772/17.17, allocations: 4.124 MB / 6.754 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/17.17, allocations: 0.9211 MB / 6.755 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/17.17, allocations: 1.43 MB / 6.757 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/17.17, allocations: 47.56 kB / 6.757 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=97): time 4.548e-06/17.17, allocations: 0 / 6.757 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=97): time 0.4857/17.66, allocations: 1.614 MB / 6.758 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/17.66, allocations: 62.91 kB / 6.758 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/17.66, allocations: 0.8881 MB / 6.759 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003705/17.66, allocations: 47.66 kB / 6.759 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005471/17.66, allocations: 0.5417 MB / 6.76 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/17.66, allocations: 332.6 kB / 6.76 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/17.66, allocations: 20.47 kB / 6.76 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001032/17.66, allocations: 346.8 kB / 6.761 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/17.66, allocations: 0.4918 MB / 6.761 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/17.66, allocations: 0.663 MB / 6.762 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/17.66, allocations: 0.5945 MB / 6.762 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/17.66, allocations: 2.875 kB / 6.762 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003375/17.67, allocations: 1.425 MB / 6.764 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003488/17.67, allocations: 1.261 MB / 6.765 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/17.67, allocations: 5.062 kB / 6.765 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/17.67, allocations: 10.16 kB / 6.765 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/17.67, allocations: 306.5 kB / 6.765 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005259/17.67, allocations: 1.186 MB / 6.766 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/17.67, allocations: 174.9 kB / 6.767 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/17.67, allocations: 56.41 kB / 6.767 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/17.67, allocations: 6.969 kB / 6.767 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002638/17.67, allocations: 1.304 MB / 6.768 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/17.67, allocations: 2.688 kB / 6.768 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/17.67, allocations: 8.062 kB / 6.768 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/17.68, allocations: 264.7 kB / 6.768 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/17.68, allocations: 8.531 kB / 6.768 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/17.68, allocations: 163.6 kB / 6.768 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/17.68, allocations: 55.05 kB / 6.768 GB, free: 52.39 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (126): * Single equations (assignments): 123 * 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.001006/17.68, allocations: 420 kB / 6.769 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/17.68, allocations: 126.1 kB / 6.769 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/17.68, allocations: 1.47 MB / 6.77 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/17.68, allocations: 10.66 kB / 6.77 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/17.68, allocations: 1.203 kB / 6.77 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/17.68, allocations: 7.828 kB / 6.77 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004023/17.69, allocations: 2.409 MB / 6.773 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/17.69, allocations: 6.656 kB / 6.773 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/17.69, allocations: 268 kB / 6.773 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/17.69, allocations: 3.344 kB / 6.773 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.837e-05/17.69, allocations: 30.12 kB / 6.773 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004193/17.69, allocations: 1.181 MB / 6.774 GB, free: 50.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/17.69, allocations: 0 / 6.774 GB, free: 50.51 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/17.69, allocations: 1.361 MB / 6.775 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008758/17.69, allocations: 376.5 kB / 6.776 GB, free: 50.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/17.69, allocations: 25.2 kB / 6.776 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009089/17.69, allocations: 89.41 kB / 6.776 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/17.69, allocations: 77.92 kB / 6.776 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/17.69, allocations: 62.58 kB / 6.776 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00102/17.69, allocations: 0.7154 MB / 6.777 GB, free: 49.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/17.69, allocations: 0 / 6.777 GB, free: 49.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004318/17.7, allocations: 1.091 MB / 6.778 GB, free: 49.91 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (108): * Single equations (assignments): 106 * 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.004572/17.7, allocations: 1.897 MB / 6.78 GB, free: 49.55 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005249/17.71, allocations: 2.145 MB / 6.782 GB, free: 49.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/17.71, allocations: 4.641 kB / 6.782 GB, free: 49.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/17.71, allocations: 0.6663 MB / 6.782 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003786/17.71, allocations: 0.6531 MB / 6.783 GB, free: 49.36 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005259/17.72, allocations: 2.714 MB / 6.786 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/17.72, allocations: 1.213 MB / 6.787 GB, free: 47.49 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002466/17.72, allocations: 453.1 kB / 6.787 GB, free: 47.47 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/17.72, allocations: 125.1 kB / 6.787 GB, free: 47.46 MB / 0.5573 GB Notification: Performance of SimCode: time 1.243e-06/17.72, allocations: 0 / 6.787 GB, free: 47.46 MB / 0.5573 GB Notification: Performance of Templates: time 0.07664/17.8, allocations: 48.87 MB / 6.835 GB, free: 45.98 MB / 0.5573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)