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.5678/0.5678, allocations: 94.68 MB / 107.2 MB, free: 5.188 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.001046/0.001046, allocations: 176.8 kB / 130.7 MB, free: 7.543 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.7/1.7, allocations: 170.5 MB / 324.5 MB, free: 4.062 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.001783/0.001783, allocations: 112.6 kB / 386.6 MB, free: 16.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.199e-05/4.208e-05, allocations: 4 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.607/0.607, allocations: 61.52 MB / 0.5054 GB, free: 49.45 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.7/15.31, allocations: 5.27 GB / 5.775 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/15.31, allocations: 88.73 kB / 5.776 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.323/19.63, allocations: 0.9596 GB / 6.735 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.274e-06/19.63, allocations: 0 / 6.735 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001367/19.63, allocations: 39.03 kB / 6.735 GB, free: 55.27 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.009836/19.64, allocations: 2.519 MB / 6.738 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/19.64, allocations: 8.938 kB / 6.738 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/19.64, allocations: 182 kB / 6.738 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/19.65, allocations: 1.308 MB / 6.739 GB, free: 54 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/19.65, allocations: 84.19 kB / 6.739 GB, free: 54 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/19.65, allocations: 113.8 kB / 6.739 GB, free: 54 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/19.65, allocations: 1.311 MB / 6.741 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/19.65, allocations: 6.75 kB / 6.741 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/19.65, allocations: 51.03 kB / 6.741 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.335e-05/19.65, allocations: 51.86 kB / 6.741 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003827/19.65, allocations: 1.587 MB / 6.742 GB, free: 53.89 MB / 0.5573 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.01022/19.66, allocations: 4.129 MB / 6.746 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/19.67, allocations: 0.8556 MB / 6.747 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008417/19.67, allocations: 0.506 MB / 6.748 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/19.67, allocations: 1.432 MB / 6.749 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/19.67, allocations: 45.88 kB / 6.749 GB, free: 51.17 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=97): time 3.286e-06/19.67, allocations: 1.125 kB / 6.749 GB, free: 51.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=97): time 0.00259/19.67, allocations: 1.053 MB / 6.75 GB, free: 51.06 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/19.67, allocations: 62.5 kB / 6.75 GB, free: 51 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/19.67, allocations: 0.8832 MB / 6.751 GB, free: 50.85 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001829/19.67, allocations: 49.8 kB / 6.751 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000519/19.67, allocations: 0.5376 MB / 6.751 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003474/19.67, allocations: 334.4 kB / 6.752 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/19.67, allocations: 23.05 kB / 6.752 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001249/19.67, allocations: 345.9 kB / 6.752 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008585/19.67, allocations: 442.6 kB / 6.753 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/19.68, allocations: 0.5993 MB / 6.753 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/19.68, allocations: 0.5384 MB / 6.754 GB, free: 49.92 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/19.68, allocations: 0 / 6.754 GB, free: 49.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002874/19.68, allocations: 1.309 MB / 6.755 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005097/19.68, allocations: 1.26 MB / 6.756 GB, free: 48.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/19.68, allocations: 4.906 kB / 6.756 GB, free: 48.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.503e-05/19.68, allocations: 6.812 kB / 6.756 GB, free: 48.47 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/19.68, allocations: 305.5 kB / 6.757 GB, free: 48.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009581/19.68, allocations: 1.181 MB / 6.758 GB, free: 47.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/19.69, allocations: 180.9 kB / 6.758 GB, free: 47.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/19.69, allocations: 57.5 kB / 6.758 GB, free: 47.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/19.69, allocations: 6.344 kB / 6.758 GB, free: 47.23 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003146/19.69, allocations: 1.182 MB / 6.759 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/19.69, allocations: 2.844 kB / 6.759 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/19.69, allocations: 8.625 kB / 6.759 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/19.69, allocations: 258.1 kB / 6.759 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.771e-05/19.69, allocations: 16.69 kB / 6.759 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/19.69, allocations: 157.6 kB / 6.759 GB, free: 47.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/19.69, allocations: 62.62 kB / 6.76 GB, free: 47.12 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 () * 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.0004756/19.69, allocations: 166.6 kB / 6.76 GB, free: 47.01 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004185/19.69, allocations: 127.8 kB / 6.76 GB, free: 46.95 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/19.7, allocations: 1.349 MB / 6.761 GB, free: 46.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/19.7, allocations: 17.7 kB / 6.761 GB, free: 46.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/19.7, allocations: 2.625 kB / 6.761 GB, free: 46.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/19.7, allocations: 3.047 kB / 6.761 GB, free: 46.84 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004498/19.7, allocations: 2.29 MB / 6.763 GB, free: 46.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/19.7, allocations: 1 kB / 6.763 GB, free: 46.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/19.7, allocations: 265.3 kB / 6.764 GB, free: 46.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/19.7, allocations: 5.766 kB / 6.764 GB, free: 46.46 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.092e-05/19.7, allocations: 32.41 kB / 6.764 GB, free: 46.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004142/19.7, allocations: 1.182 MB / 6.765 GB, free: 45.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.746e-05/19.7, allocations: 2.828 kB / 6.765 GB, free: 45.29 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/19.7, allocations: 1.25 MB / 6.766 GB, free: 44.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009136/19.71, allocations: 375.2 kB / 6.766 GB, free: 44.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/19.71, allocations: 19.02 kB / 6.766 GB, free: 44.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009999/19.71, allocations: 99.98 kB / 6.767 GB, free: 44.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/19.71, allocations: 67.69 kB / 6.767 GB, free: 44.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/19.71, allocations: 70.39 kB / 6.767 GB, free: 44.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00139/19.71, allocations: 0.7004 MB / 6.767 GB, free: 44.68 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.21e-07/19.71, allocations: 1.406 kB / 6.767 GB, free: 44.68 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004038/19.71, allocations: 1.088 MB / 6.768 GB, free: 44.54 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 () * 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.004254/19.72, allocations: 1.917 MB / 6.77 GB, free: 44.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004123/19.72, allocations: 1.998 MB / 6.772 GB, free: 43.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/19.72, allocations: 1.094 kB / 6.772 GB, free: 43.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/19.72, allocations: 0.611 MB / 6.773 GB, free: 43.95 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003615/19.73, allocations: 0.6546 MB / 6.773 GB, free: 43.93 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/19.73, allocations: 1.725 MB / 6.775 GB, free: 43.48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/19.73, allocations: 1.212 MB / 6.776 GB, free: 42.77 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002327/19.73, allocations: 0.5341 MB / 6.777 GB, free: 42.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/19.73, allocations: 116.1 kB / 6.777 GB, free: 42.74 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/19.73, allocations: 0 / 6.777 GB, free: 42.74 MB / 0.5573 GB Notification: Performance of Templates: time 0.09381/19.83, allocations: 55.65 MB / 6.831 GB, free: 40.61 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)