Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.48/2.48, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00164/0.00164, allocations: 180.1 kB / 325.6 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.47/2.47, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001591/0.001591, allocations: 106.4 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000648/0.0006483, allocations: 13.44 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2244, allocations: 106.3 MB / 0.8989 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005081/0.2295, allocations: 3.397 MB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002168/0.2298, allocations: 127.7 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.2299, allocations: 0 / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.23, allocations: 3.938 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.23, allocations: 7.984 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.2304, allocations: 59.88 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.398e-05/0.2304, allocations: 11.98 kB / 0.9024 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.2305, allocations: 7.938 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.2306, allocations: 15.92 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.965e-05/0.2306, allocations: 11.98 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.2306, allocations: 0 / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.2309, allocations: 31.91 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.2309, allocations: 11.98 kB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.2309, allocations: 29.7 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.2311, allocations: 23.98 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.2311, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2311, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2311, allocations: 4 kB / 0.9025 GB, free: 61.76 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.0003506/0.2315, allocations: 339.4 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2315, allocations: 8.031 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.2316, allocations: 4 kB / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.628e-05/0.2317, allocations: 159.1 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.14e-05/0.2318, allocations: 29.7 kB / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.2318, allocations: 0 / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.232, allocations: 53.59 kB / 0.9031 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.232, allocations: 0 / 0.9031 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.232, allocations: 7.953 kB / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.232, allocations: 4 kB / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.663e-05/0.2321, allocations: 11.98 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.2326, allocations: 326 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.893e-05/0.2326, allocations: 18.61 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.905e-05/0.2327, allocations: 85.17 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.2328, allocations: 50.39 kB / 0.9036 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 2.014e-06/0.2328, allocations: 0 / 0.9036 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001549/0.2329, allocations: 37.59 kB / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.233, allocations: 51.41 kB / 0.9036 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.2331, allocations: 101.9 kB / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.2331, allocations: 25.7 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.2331, allocations: 92.16 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.284e-06/0.2332, allocations: 4 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.2332, allocations: 0 / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.674e-05/0.2332, allocations: 314.8 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.2333, allocations: 4 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.2333, allocations: 13.66 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.828e-05/0.2333, allocations: 11.98 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2334, allocations: 8 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.576e-05/0.2334, allocations: 37.7 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2335, allocations: 11.94 kB / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2335, allocations: 0 / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2335, allocations: 3.938 kB / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.2336, allocations: 12 kB / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2336, allocations: 0 / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.2337, allocations: 7.938 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.2337, allocations: 4 kB / 0.9043 GB, free: 59.7 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 6.316e-05/0.2337, allocations: 109.9 kB / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.2338, allocations: 3.906 kB / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.2339, allocations: 120.9 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.475e-05/0.234, allocations: 188.2 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.374e-05/0.234, allocations: 180.3 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.405e-05/0.234, allocations: 188.2 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.2342, allocations: 405.2 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-05/0.2343, allocations: 109 kB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.955e-05/0.2343, allocations: 104.9 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.28e-05/0.2343, allocations: 176.3 kB / 0.9058 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.2344, allocations: 184.5 kB / 0.906 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.431e-05/0.2344, allocations: 184.2 kB / 0.9061 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-05/0.2345, allocations: 188.2 kB / 0.9063 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.2346, allocations: 295.8 kB / 0.9066 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.2347, allocations: 198 kB / 0.9068 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.2347, allocations: 184.2 kB / 0.907 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.235, allocations: 108.9 kB / 0.9071 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.235, allocations: 180.2 kB / 0.9072 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.235, allocations: 109 kB / 0.9073 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.192e-05/0.2351, allocations: 83.28 kB / 0.9074 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2351, allocations: 0 / 0.9074 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003128/0.2354, allocations: 12 kB / 0.9074 GB, free: 56.23 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.000189/0.2356, allocations: 194.5 kB / 0.9076 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.959e-05/0.2358, allocations: 7.984 kB / 0.9076 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2358, allocations: 4 kB / 0.9076 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.2358, allocations: 0 / 0.9076 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.2361, allocations: 0.5226 MB / 0.9081 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.2364, allocations: 195.8 kB / 0.9083 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.2366, allocations: 0.677 MB / 0.909 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.228e-05/0.2366, allocations: 7.938 kB / 0.909 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.2367, allocations: 11.44 kB / 0.909 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of SimCode: time 1.373e-06/0.2367, allocations: 0 / 0.909 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.003331/0.24, allocations: 0.5046 MB / 0.9095 GB, free: 54.05 MB / 0.6042 GB