Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.67/1.67, allocations: 252 MB / 267.6 MB, free: 10.91 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.001096/0.001096, allocations: 179.1 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.4 MB / 0.5783 GB, free: 20.2 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.0007984/0.0007985, allocations: 89.47 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003392, allocations: 6 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1974, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004618/0.2021, allocations: 4.222 MB / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.2042, allocations: 2.451 MB / 0.9073 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.2043, allocations: 0 / 0.9073 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.2046, allocations: 39.73 kB / 0.9074 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.2049, allocations: 91.48 kB / 0.9074 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009904/0.2059, allocations: 372.6 kB / 0.9078 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.2061, allocations: 263.9 kB / 0.9081 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.326e-05/0.2062, allocations: 5.562 kB / 0.9081 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.2064, allocations: 107.6 kB / 0.9082 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.2065, allocations: 87.66 kB / 0.9082 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.2066, allocations: 4 kB / 0.9083 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005729/0.2071, allocations: 247.5 kB / 0.9085 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.2072, allocations: 35.89 kB / 0.9085 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.715e-05/0.2073, allocations: 53.64 kB / 0.9086 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.2077, allocations: 211.8 kB / 0.9088 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2077, allocations: 0 / 0.9088 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2077, allocations: 0 / 0.9088 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2077, allocations: 0 / 0.9088 GB, free: 55.72 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.0005992/0.2083, allocations: 463.2 kB / 0.9092 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2084, allocations: 12.03 kB / 0.9092 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.2085, allocations: 31.77 kB / 0.9093 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.2087, allocations: 214.8 kB / 0.9095 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2087, allocations: 8.328 kB / 0.9095 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.2087, allocations: 19.98 kB / 0.9095 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.2091, allocations: 245.6 kB / 0.9097 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2091, allocations: 0 / 0.9097 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.2091, allocations: 12 kB / 0.9097 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.2091, allocations: 4 kB / 0.9097 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.2095, allocations: 439.4 kB / 0.9102 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.2104, allocations: 0.9999 MB / 0.9111 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.2107, allocations: 153.9 kB / 0.9113 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.004e-05/0.2108, allocations: 61.53 kB / 0.9113 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009502/0.2117, allocations: 1.829 MB / 0.9131 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.2118, allocations: 38.5 kB / 0.9132 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.2118, allocations: 0 / 0.9132 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0002969/0.2121, allocations: 134.9 kB / 0.9133 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.2121, allocations: 59.39 kB / 0.9133 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.2122, allocations: 174 kB / 0.9135 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.2123, allocations: 33.7 kB / 0.9135 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.2123, allocations: 139.8 kB / 0.9137 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.2124, allocations: 55.25 kB / 0.9137 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.2124, allocations: 4 kB / 0.9137 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.357e-05/0.2124, allocations: 322.8 kB / 0.914 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-05/0.2125, allocations: 31.98 kB / 0.9141 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.205e-05/0.2126, allocations: 149.6 kB / 0.9142 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.878e-05/0.2127, allocations: 57.34 kB / 0.9143 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2127, allocations: 4 kB / 0.9143 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002589/0.213, allocations: 216 kB / 0.9145 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.213, allocations: 4 kB / 0.9145 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.213, allocations: 4 kB / 0.9145 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.213, allocations: 8 kB / 0.9145 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.2132, allocations: 47.92 kB / 0.9145 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.2132, allocations: 8.406 kB / 0.9146 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2133, allocations: 39.67 kB / 0.9146 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.2134, allocations: 12 kB / 0.9146 GB, free: 49.07 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 8.231e-05/0.2134, allocations: 133.7 kB / 0.9147 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.2135, allocations: 19.77 kB / 0.9147 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.2137, allocations: 150.9 kB / 0.9149 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.2138, allocations: 0 / 0.9149 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2138, allocations: 3.984 kB / 0.9149 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2138, allocations: 8 kB / 0.9149 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.214, allocations: 209.6 kB / 0.9151 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.214, allocations: 0 / 0.9151 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.107e-05/0.2141, allocations: 31.86 kB / 0.9151 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2141, allocations: 11.94 kB / 0.9151 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.2141, allocations: 0 / 0.9151 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2141, allocations: 0 / 0.9151 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2141, allocations: 0 / 0.9151 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.2143, allocations: 223.3 kB / 0.9154 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.2143, allocations: 112.8 kB / 0.9155 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.2144, allocations: 7.953 kB / 0.9155 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2145, allocations: 8 kB / 0.9155 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.2146, allocations: 11.92 kB / 0.9155 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.2146, allocations: 15.98 kB / 0.9155 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.895e-05/0.2147, allocations: 116.9 kB / 0.9156 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2147, allocations: 0 / 0.9156 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003446/0.215, allocations: 68 kB / 0.9157 GB, free: 47.86 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.0002058/0.2152, allocations: 175.1 kB / 0.9158 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.2154, allocations: 119.8 kB / 0.916 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2155, allocations: 0 / 0.916 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.917e-05/0.2155, allocations: 48.05 kB / 0.916 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.216, allocations: 47.95 kB / 0.9161 GB, free: 47.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.2165, allocations: 453 kB / 0.9165 GB, free: 47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.2167, allocations: 0.7133 MB / 0.9172 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.2167, allocations: 31.42 kB / 0.9172 GB, free: 46.24 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2167, allocations: 0 / 0.9172 GB, free: 46.24 MB / 0.6042 GB Notification: Performance of Templates: time 0.00397/0.2207, allocations: 3.047 MB / 0.9202 GB, free: 43.21 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)