Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.601/2.601, allocations: 287.9 MB / 302.9 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001413/0.001413, allocations: 171.4 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.4 MB / 0.6301 GB, free: 10.3 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 91.61 kB / 0.7434 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.0004579, allocations: 11.03 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2132, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006664/0.2199, allocations: 3.156 MB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003252/0.2203, allocations: 123.8 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.2203, allocations: 4 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2205, allocations: 0 / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.615e-05/0.2206, allocations: 7.969 kB / 0.9819 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.221, allocations: 55.8 kB / 0.982 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.328e-05/0.2211, allocations: 19.95 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.2212, allocations: 0 / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.864e-05/0.2212, allocations: 12 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.2213, allocations: 11.92 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.2214, allocations: 0 / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008247/0.2222, allocations: 155.7 kB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.2223, allocations: 7.984 kB / 0.9822 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.2223, allocations: 25.7 kB / 0.9822 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.2225, allocations: 24.25 kB / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.505e-06/0.2225, allocations: 0 / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.973e-06/0.2225, allocations: 0 / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.636e-06/0.2225, allocations: 0 / 0.9822 GB, free: 24.56 MB / 0.6198 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.0003814/0.2229, allocations: 331.4 kB / 0.9826 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.223, allocations: 16.02 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.2231, allocations: 7.859 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.582e-05/0.2232, allocations: 163.1 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.795e-05/0.2233, allocations: 25.7 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.2233, allocations: 0 / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.2235, allocations: 57.59 kB / 0.9828 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2236, allocations: 3.938 kB / 0.9828 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.2236, allocations: 0 / 0.9828 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.2237, allocations: 7.953 kB / 0.9828 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.714e-05/0.2238, allocations: 15.98 kB / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.2243, allocations: 326.1 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.959e-05/0.2244, allocations: 22.58 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.2245, allocations: 81.17 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2246, allocations: 34.5 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 3.691e-06/0.2246, allocations: 4 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002169/0.2248, allocations: 41.64 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.2249, allocations: 51.41 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.225, allocations: 105.8 kB / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.225, allocations: 25.7 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.2251, allocations: 88.03 kB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.2251, allocations: 11.84 kB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-06/0.2252, allocations: 0 / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.307e-05/0.2252, allocations: 319 kB / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.2253, allocations: 0 / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.305e-05/0.2254, allocations: 21.64 kB / 0.9839 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.136e-05/0.2254, allocations: 8 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.2254, allocations: 0 / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001592/0.2256, allocations: 45.69 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2257, allocations: 8.062 kB / 0.984 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.2257, allocations: 4 kB / 0.984 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.2257, allocations: 7.891 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.2258, allocations: 4 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.538e-06/0.2259, allocations: 0 / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.2259, allocations: 4 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.2259, allocations: 0 / 0.984 GB, free: 22.49 MB / 0.6198 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.067e-05/0.226, allocations: 109.8 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.226, allocations: 3.984 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.66e-05/0.2261, allocations: 121 kB / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.989e-05/0.2262, allocations: 184.2 kB / 0.9844 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.032e-05/0.2262, allocations: 184.3 kB / 0.9846 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.837e-05/0.2263, allocations: 188.2 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.2264, allocations: 401.2 kB / 0.9851 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/0.2265, allocations: 109.1 kB / 0.9852 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.2265, allocations: 108.9 kB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.82e-05/0.2265, allocations: 176.3 kB / 0.9855 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.2266, allocations: 180.2 kB / 0.9857 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.89e-05/0.2266, allocations: 184.3 kB / 0.9859 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.827e-05/0.2266, allocations: 188.1 kB / 0.986 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.764e-05/0.2267, allocations: 311.7 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.2268, allocations: 186 kB / 0.9865 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.2268, allocations: 180.3 kB / 0.9867 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.227, allocations: 108.9 kB / 0.9868 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.227, allocations: 184.2 kB / 0.987 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.2271, allocations: 104.9 kB / 0.9871 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.862e-05/0.2271, allocations: 83.28 kB / 0.9871 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.124e-06/0.2271, allocations: 0 / 0.9871 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003147/0.2275, allocations: 23.88 kB / 0.9872 GB, free: 19.03 MB / 0.6198 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.0001433/0.2276, allocations: 194.4 kB / 0.9874 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.75e-05/0.2277, allocations: 23.98 kB / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.802e-06/0.2277, allocations: 0 / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.631e-06/0.2277, allocations: 0 / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.228, allocations: 0.5164 MB / 0.9879 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001963/0.2282, allocations: 196 kB / 0.9881 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.2283, allocations: 0.6773 MB / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.842e-05/0.2284, allocations: 5.5 kB / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.2284, allocations: 7.438 kB / 0.9887 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of SimCode: time 1.348e-06/0.2284, allocations: 0 / 0.9887 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.002753/0.2312, allocations: 0.51 MB / 0.9892 GB, free: 16.85 MB / 0.6198 GB