Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.475/2.475, allocations: 251.1 MB / 266.1 MB, free: 11.65 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.001578/0.001578, allocations: 189.6 kB / 325.6 MB, free: 2.863 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.527/2.527, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001108/0.001107, allocations: 108.8 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004743, allocations: 15.64 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2162, allocations: 106.3 MB / 0.8989 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001384/0.2177, allocations: 0.9687 MB / 0.8998 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003729/0.2214, allocations: 2.838 MB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.2215, allocations: 3.938 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.2215, allocations: 0 / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.2216, allocations: 11.98 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.2221, allocations: 83.77 kB / 0.9027 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.998e-05/0.2221, allocations: 23.97 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.2222, allocations: 3.984 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.2223, allocations: 19.88 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.2223, allocations: 19.97 kB / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.2224, allocations: 0 / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.2226, allocations: 63.89 kB / 0.9028 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.2226, allocations: 11.98 kB / 0.9028 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.2227, allocations: 33.7 kB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.2228, allocations: 31.95 kB / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2228, allocations: 0 / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2228, allocations: 3.938 kB / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.2229, allocations: 0 / 0.9029 GB, free: 61.4 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003417/0.2232, allocations: 344.9 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2233, allocations: 8.031 kB / 0.9032 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.2234, allocations: 4 kB / 0.9032 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.689e-05/0.2235, allocations: 171.1 kB / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.2235, allocations: 0 / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.2235, allocations: 11.94 kB / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.2237, allocations: 49.67 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2237, allocations: 0 / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.2237, allocations: 4 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.2237, allocations: 3.953 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.91e-05/0.2238, allocations: 19.92 kB / 0.9035 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.224, allocations: 173.6 kB / 0.9036 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.2241, allocations: 50.55 kB / 0.9037 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007336/0.2249, allocations: 0.5948 MB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.2249, allocations: 30.56 kB / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.2249, allocations: 0 / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006086/0.2255, allocations: 302.1 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.2256, allocations: 59.34 kB / 0.9046 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.623e-05/0.2256, allocations: 101.8 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.2257, allocations: 25.7 kB / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.2257, allocations: 87.98 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.2257, allocations: 23.7 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.2257, allocations: 4 kB / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.237e-05/0.2258, allocations: 314.8 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.739e-05/0.2258, allocations: 15.98 kB / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.859e-05/0.2259, allocations: 53.14 kB / 0.9052 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.402e-05/0.226, allocations: 23.94 kB / 0.9053 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.226, allocations: 0 / 0.9053 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001704/0.2262, allocations: 101.8 kB / 0.9054 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2262, allocations: 7.938 kB / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2262, allocations: 4 kB / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2262, allocations: 0 / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2264, allocations: 23.98 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.2264, allocations: 4 kB / 0.9054 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.621e-05/0.2265, allocations: 4.125 kB / 0.9054 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.2265, allocations: 8 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.894e-05/0.2266, allocations: 117.7 kB / 0.9055 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.2266, allocations: 7.953 kB / 0.9055 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.2266, allocations: 7.969 kB / 0.9055 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2267, allocations: 0 / 0.9055 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2267, allocations: 4 kB / 0.9055 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2267, allocations: 0 / 0.9055 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.227, allocations: 177.7 kB / 0.9057 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.227, allocations: 0 / 0.9057 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.2272, allocations: 19.98 kB / 0.9057 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.2272, allocations: 3.953 kB / 0.9057 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2272, allocations: 0 / 0.9057 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2273, allocations: 4 kB / 0.9057 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2273, allocations: 0 / 0.9057 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.2275, allocations: 171.4 kB / 0.9059 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.2275, allocations: 81.11 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.2275, allocations: 11.98 kB / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.2277, allocations: 4.375 kB / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.2278, allocations: 4 kB / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.2278, allocations: 0 / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.824e-05/0.2278, allocations: 91.25 kB / 0.9061 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2279, allocations: 0 / 0.9061 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000342/0.2282, allocations: 15.94 kB / 0.9061 GB, free: 57.62 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001275/0.2283, allocations: 99.25 kB / 0.9062 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.2285, allocations: 44.06 kB / 0.9062 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2285, allocations: 0 / 0.9062 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.63e-05/0.2286, allocations: 23.92 kB / 0.9063 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.2288, allocations: 7.984 kB / 0.9063 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007663/0.2296, allocations: 390.9 kB / 0.9066 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.2297, allocations: 0.6926 MB / 0.9073 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.759e-05/0.2298, allocations: 4 kB / 0.9073 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.2299, allocations: 7.438 kB / 0.9073 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/0.2299, allocations: 8 kB / 0.9073 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.003336/0.2332, allocations: 0.5604 MB / 0.9079 GB, free: 55.73 MB / 0.6042 GB