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.6205/0.6205, allocations: 94.78 MB / 102.3 MB, free: 10.14 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.001241/0.001241, allocations: 170.8 kB / 125.6 MB, free: 11.88 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.697/1.697, allocations: 170.6 MB / 319.4 MB, free: 9.328 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.001608/0.001608, allocations: 109.9 kB / 381.3 MB, free: 18.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.338e-05, allocations: 4 kB / 449.1 MB, free: 1.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1908, allocations: 61.52 MB / 0.4987 GB, free: 4.141 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.8/15.99, allocations: 5.269 GB / 5.768 GB, free: 96.47 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/15.99, allocations: 85.58 kB / 5.768 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.337/20.32, allocations: 0.9491 GB / 6.717 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.094e-06/20.32, allocations: 2.375 kB / 6.717 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002752/20.32, allocations: 35.95 kB / 6.717 GB, free: 56.41 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.01069/20.34, allocations: 2.528 MB / 6.72 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/20.34, allocations: 8.906 kB / 6.72 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/20.34, allocations: 180.8 kB / 6.72 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004669/20.34, allocations: 1.306 MB / 6.721 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/20.34, allocations: 38.09 kB / 6.721 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005503/20.34, allocations: 67.25 kB / 6.721 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003437/20.35, allocations: 1.422 MB / 6.723 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/20.35, allocations: 1.139 MB / 6.724 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/20.35, allocations: 3.469 kB / 6.724 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002353/20.35, allocations: 2.156 kB / 6.724 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.614e-05/20.35, allocations: 59.55 kB / 6.724 GB, free: 55.1 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.009906/20.36, allocations: 3.917 MB / 6.728 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/20.36, allocations: 0.842 MB / 6.728 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00095/20.36, allocations: 497.9 kB / 6.729 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/20.36, allocations: 1.429 MB / 6.73 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.216e-05/20.36, allocations: 49.53 kB / 6.73 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=97): time 4.529e-06/20.36, allocations: 0 / 6.73 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=97): time 0.004112/20.37, allocations: 1.202 MB / 6.732 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/20.37, allocations: 64.16 kB / 6.732 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/20.37, allocations: 0.621 MB / 6.732 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000205/20.37, allocations: 29.8 kB / 6.732 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005116/20.37, allocations: 0.5552 MB / 6.733 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/20.37, allocations: 324.5 kB / 6.733 GB, free: 51.74 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/20.37, allocations: 5.969 kB / 6.733 GB, free: 51.74 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001167/20.37, allocations: 341.7 kB / 6.733 GB, free: 51.44 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007076/20.37, allocations: 441.2 kB / 6.734 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008916/20.37, allocations: 0.5931 MB / 6.734 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002575/20.38, allocations: 0.7555 MB / 6.735 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.101e-05/20.38, allocations: 1.094 kB / 6.735 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004562/20.38, allocations: 1.47 MB / 6.737 GB, free: 51.14 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005509/20.38, allocations: 1.258 MB / 6.738 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/20.38, allocations: 3.469 kB / 6.738 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.92e-05/20.38, allocations: 7.344 kB / 6.738 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/20.38, allocations: 313 kB / 6.738 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009136/20.38, allocations: 1.209 MB / 6.739 GB, free: 48.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/20.38, allocations: 135.7 kB / 6.739 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/20.39, allocations: 56.98 kB / 6.74 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/20.39, allocations: 5.281 kB / 6.74 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003468/20.39, allocations: 1.32 MB / 6.741 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/20.39, allocations: 2.719 kB / 6.741 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/20.39, allocations: 8.812 kB / 6.741 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/20.39, allocations: 260.5 kB / 6.741 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.823e-05/20.39, allocations: 11.61 kB / 6.741 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/20.39, allocations: 117.5 kB / 6.741 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/20.39, allocations: 62.19 kB / 6.741 GB, free: 48.55 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.0004361/20.39, allocations: 123.6 kB / 6.741 GB, free: 48.44 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004931/20.39, allocations: 106.2 kB / 6.741 GB, free: 48.39 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004218/20.4, allocations: 1.521 MB / 6.743 GB, free: 48.27 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/20.4, allocations: 11.41 kB / 6.743 GB, free: 48.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/20.4, allocations: 2.984 kB / 6.743 GB, free: 48.27 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/20.4, allocations: 5.203 kB / 6.743 GB, free: 48.27 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005767/20.4, allocations: 2.369 MB / 6.745 GB, free: 47.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/20.4, allocations: 0 / 6.745 GB, free: 47.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/20.4, allocations: 264.7 kB / 6.746 GB, free: 47.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.233e-05/20.4, allocations: 3.531 kB / 6.746 GB, free: 47.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.753e-05/20.4, allocations: 18.84 kB / 6.746 GB, free: 47.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007606/20.4, allocations: 1.213 MB / 6.747 GB, free: 46.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/20.4, allocations: 1.094 kB / 6.747 GB, free: 46.74 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004102/20.41, allocations: 1.425 MB / 6.748 GB, free: 46.44 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009819/20.41, allocations: 359.3 kB / 6.748 GB, free: 46.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/20.41, allocations: 9.344 kB / 6.748 GB, free: 46.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/20.41, allocations: 77.53 kB / 6.749 GB, free: 46.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/20.41, allocations: 70.03 kB / 6.749 GB, free: 46.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/20.41, allocations: 63.97 kB / 6.749 GB, free: 46.27 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009867/20.41, allocations: 0.4898 MB / 6.749 GB, free: 46.17 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.21e-07/20.41, allocations: 2.625 kB / 6.749 GB, free: 46.17 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004775/20.42, allocations: 1.027 MB / 6.75 GB, free: 45.99 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.005336/20.42, allocations: 2.184 MB / 6.752 GB, free: 45.55 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004975/20.43, allocations: 1.93 MB / 6.754 GB, free: 45.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/20.43, allocations: 1.656 kB / 6.754 GB, free: 45.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/20.43, allocations: 0.5991 MB / 6.755 GB, free: 45.39 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/20.43, allocations: 473.1 kB / 6.755 GB, free: 45.38 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/20.44, allocations: 1.638 MB / 6.757 GB, free: 44.93 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/20.44, allocations: 1.216 MB / 6.758 GB, free: 44.22 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00283/20.44, allocations: 482.3 kB / 6.758 GB, free: 44.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/20.44, allocations: 106 kB / 6.759 GB, free: 44.19 MB / 0.5573 GB Notification: Performance of SimCode: time 1.392e-06/20.44, allocations: 3.656 kB / 6.759 GB, free: 44.19 MB / 0.5573 GB Notification: Performance of Templates: time 0.06118/20.5, allocations: 34.62 MB / 6.792 GB, free: 42.93 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)