Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.382/2.382, 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.001497/0.001497, allocations: 183.2 kB / 325.6 MB, free: 2.812 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.507/2.507, 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.001142/0.001141, allocations: 93.94 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004841, allocations: 10.38 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2162, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005327/0.2215, allocations: 3.935 MB / 0.9027 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003043/0.2246, allocations: 2.152 MB / 0.9048 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.2248, allocations: 0 / 0.9048 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.2251, allocations: 35.86 kB / 0.9048 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.2254, allocations: 83.75 kB / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.2269, allocations: 393.3 kB / 0.9053 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.2272, allocations: 152.6 kB / 0.9054 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.708e-05/0.2272, allocations: 5.562 kB / 0.9054 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.2275, allocations: 103.7 kB / 0.9055 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.2276, allocations: 67.75 kB / 0.9056 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.2277, allocations: 8 kB / 0.9056 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009703/0.2287, allocations: 287.5 kB / 0.9059 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.451e-05/0.2287, allocations: 27.91 kB / 0.9059 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.2288, allocations: 53.64 kB / 0.906 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000485/0.2293, allocations: 207.9 kB / 0.9062 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2293, allocations: 0 / 0.9062 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2293, allocations: 0 / 0.9062 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2293, allocations: 0 / 0.9062 GB, free: 57.96 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007229/0.2301, allocations: 475.1 kB / 0.9066 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2301, allocations: 8.031 kB / 0.9066 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.2303, allocations: 19.81 kB / 0.9067 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.2306, allocations: 202.9 kB / 0.9068 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.2306, allocations: 12.33 kB / 0.9069 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.2306, allocations: 16 kB / 0.9069 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.2311, allocations: 249.6 kB / 0.9071 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2311, allocations: 0 / 0.9071 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.2312, allocations: 12 kB / 0.9071 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/0.2312, allocations: 7.953 kB / 0.9071 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006378/0.2319, allocations: 423.5 kB / 0.9075 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.2332, allocations: 1.031 MB / 0.9085 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.2337, allocations: 161.3 kB / 0.9087 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/0.2351, allocations: 1.837 MB / 0.9105 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.2352, allocations: 38.56 kB / 0.9105 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.084e-06/0.2352, allocations: 3.938 kB / 0.9105 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.00046/0.2356, allocations: 143.7 kB / 0.9107 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.2357, allocations: 55.41 kB / 0.9107 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.2359, allocations: 174.9 kB / 0.9109 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.2359, allocations: 33.7 kB / 0.9109 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/0.236, allocations: 139.8 kB / 0.911 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.236, allocations: 51.28 kB / 0.9111 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.2361, allocations: 8 kB / 0.9111 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.852e-05/0.2361, allocations: 318.8 kB / 0.9114 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.871e-05/0.2363, allocations: 35.98 kB / 0.9114 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.2364, allocations: 145.6 kB / 0.9116 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.2366, allocations: 52 kB / 0.9116 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2366, allocations: 0 / 0.9116 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004497/0.237, allocations: 217 kB / 0.9118 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.2371, allocations: 8 kB / 0.9118 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2371, allocations: 4 kB / 0.9119 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.2371, allocations: 4 kB / 0.9119 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.2375, allocations: 56.38 kB / 0.9119 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.2375, allocations: 12 kB / 0.9119 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.2377, allocations: 31.67 kB / 0.9119 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.2377, allocations: 16 kB / 0.912 GB, free: 51.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.00012/0.2379, allocations: 133.7 kB / 0.9121 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.2379, allocations: 23.75 kB / 0.9121 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.2384, allocations: 157.1 kB / 0.9123 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.2384, allocations: 8 kB / 0.9123 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2384, allocations: 0 / 0.9123 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2384, allocations: 3.984 kB / 0.9123 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.2387, allocations: 213.5 kB / 0.9125 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2387, allocations: 0 / 0.9125 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.239, allocations: 31.92 kB / 0.9125 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.239, allocations: 3.953 kB / 0.9125 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.239, allocations: 7.984 kB / 0.9125 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.239, allocations: 0 / 0.9125 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.239, allocations: 0 / 0.9125 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.2394, allocations: 223.3 kB / 0.9127 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.2395, allocations: 109 kB / 0.9128 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.2395, allocations: 3.953 kB / 0.9128 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.2398, allocations: 19.92 kB / 0.9129 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.2399, allocations: 7.984 kB / 0.9129 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.2399, allocations: 11.98 kB / 0.9129 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.237e-05/0.24, allocations: 116.9 kB / 0.913 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.082e-06/0.24, allocations: 4 kB / 0.913 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005374/0.2406, allocations: 79.83 kB / 0.9131 GB, free: 50.11 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003095/0.2409, allocations: 163.1 kB / 0.9132 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003181/0.2412, allocations: 122 kB / 0.9133 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2413, allocations: 0 / 0.9133 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.465e-05/0.2414, allocations: 43.97 kB / 0.9134 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.242, allocations: 49.16 kB / 0.9134 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008646/0.2429, allocations: 423.6 kB / 0.9138 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.2431, allocations: 0.7172 MB / 0.9145 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000323/0.2434, allocations: 45.81 kB / 0.9146 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.435e-05/0.2435, allocations: 23.42 kB / 0.9146 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of SimCode: time 8.92e-07/0.2435, allocations: 4 kB / 0.9146 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of Templates: time 0.008785/0.2523, allocations: 3.074 MB / 0.9176 GB, free: 45.45 MB / 0.6042 GB