Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.345/1.345, allocations: 252 MB / 267.6 MB, free: 10.93 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.001038/0.001038, allocations: 178.3 kB / 327.3 MB, free: 2.234 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.846/1.846, 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.0009985/0.0009988, allocations: 87.8 kB / 0.6829 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.0004147, allocations: 9 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2689, allocations: 106.3 MB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005352/0.2743, allocations: 3.296 MB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002325/0.2746, allocations: 139.6 kB / 0.9042 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.2747, allocations: 0 / 0.9042 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.2748, allocations: 7.984 kB / 0.9042 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.553e-05/0.2749, allocations: 15.92 kB / 0.9042 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.2753, allocations: 55.78 kB / 0.9042 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.2754, allocations: 35.91 kB / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.454e-05/0.2755, allocations: 7.922 kB / 0.9043 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.879e-05/0.2755, allocations: 15.92 kB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.062e-05/0.2756, allocations: 15.98 kB / 0.9043 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.2757, allocations: 0 / 0.9043 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006841/0.2764, allocations: 155.6 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.2764, allocations: 4 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.2765, allocations: 29.64 kB / 0.9045 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.2766, allocations: 23.98 kB / 0.9045 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2766, allocations: 0 / 0.9045 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2766, allocations: 0 / 0.9045 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2766, allocations: 0 / 0.9045 GB, free: 60.15 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004384/0.2771, allocations: 335.5 kB / 0.9048 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.2772, allocations: 12.03 kB / 0.9048 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.2772, allocations: 11.94 kB / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.2773, allocations: 171 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.693e-05/0.2774, allocations: 29.7 kB / 0.905 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.2775, allocations: 0 / 0.905 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.2776, allocations: 41.69 kB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2777, allocations: 0 / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.2777, allocations: 0 / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.2777, allocations: 11.94 kB / 0.9051 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.796e-05/0.2778, allocations: 15.94 kB / 0.9051 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.2783, allocations: 330.1 kB / 0.9054 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.214e-05/0.2783, allocations: 18.58 kB / 0.9054 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.2784, allocations: 4.859 kB / 0.9055 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.39e-05/0.2785, allocations: 89.16 kB / 0.9055 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.2785, allocations: 38.52 kB / 0.9056 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.813e-06/0.2785, allocations: 0 / 0.9056 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001781/0.2787, allocations: 41.55 kB / 0.9056 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.2787, allocations: 51.41 kB / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.403e-05/0.2788, allocations: 101.8 kB / 0.9058 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2788, allocations: 25.7 kB / 0.9058 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.2789, allocations: 92.05 kB / 0.9059 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.764e-06/0.2789, allocations: 0 / 0.9059 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.2789, allocations: 128 / 0.9059 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.279, allocations: 318.8 kB / 0.9062 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.279, allocations: 4 kB / 0.9062 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.238e-05/0.2791, allocations: 17.72 kB / 0.9062 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.2791, allocations: 4 kB / 0.9062 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2791, allocations: 3.938 kB / 0.9062 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.578e-05/0.2792, allocations: 45.69 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2793, allocations: 11.03 kB / 0.9063 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.2793, allocations: 11.89 kB / 0.9063 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2793, allocations: 0 / 0.9063 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.2794, allocations: 7.984 kB / 0.9063 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.2794, allocations: 0 / 0.9063 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.2794, allocations: 7.875 kB / 0.9063 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.2795, allocations: 4 kB / 0.9063 GB, free: 58.07 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.898e-05/0.2796, allocations: 105.8 kB / 0.9064 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.2796, allocations: 7.906 kB / 0.9064 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.2797, allocations: 128.9 kB / 0.9065 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.385e-05/0.2798, allocations: 184.2 kB / 0.9067 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-05/0.2798, allocations: 180.3 kB / 0.9069 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-05/0.2799, allocations: 180.3 kB / 0.907 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.2801, allocations: 413.2 kB / 0.9074 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-05/0.2801, allocations: 101 kB / 0.9075 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.516e-05/0.2802, allocations: 112.9 kB / 0.9076 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.845e-05/0.2802, allocations: 176.3 kB / 0.9078 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.2803, allocations: 180.3 kB / 0.908 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.448e-05/0.2803, allocations: 180.2 kB / 0.9081 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.655e-05/0.2804, allocations: 188.5 kB / 0.9083 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.2805, allocations: 307.8 kB / 0.9086 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.2805, allocations: 186.1 kB / 0.9088 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.2806, allocations: 184.2 kB / 0.909 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.2808, allocations: 109 kB / 0.9091 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.2809, allocations: 188.2 kB / 0.9093 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.2809, allocations: 105 kB / 0.9094 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.2809, allocations: 83.27 kB / 0.9094 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/0.281, allocations: 0 / 0.9094 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000384/0.2813, allocations: 12 kB / 0.9095 GB, free: 54.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001808/0.2815, allocations: 194.5 kB / 0.9096 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.689e-05/0.2816, allocations: 11.94 kB / 0.9096 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2817, allocations: 0 / 0.9096 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.788e-06/0.2817, allocations: 4 kB / 0.9097 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.2822, allocations: 0.5241 MB / 0.9102 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.2825, allocations: 228.2 kB / 0.9104 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.2826, allocations: 0.677 MB / 0.911 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.2826, allocations: 7.438 kB / 0.911 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.2826, allocations: 0 / 0.911 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.002586/0.2852, allocations: 0.6737 MB / 0.9117 GB, free: 52.23 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)