Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001037, allocations: 106.9 kB / 15.99 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009766/0.0009766, allocations: 191.5 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.1 MB / 222.8 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.677/1.677, allocations: 292.3 MB / 0.5492 GB, free: 13.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 65.12 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2087, allocations: 114.5 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005669/0.2144, allocations: 4.743 MB / 0.7881 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002442/0.2169, allocations: 2.668 MB / 0.7907 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.217, allocations: 0 / 0.7907 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.2173, allocations: 39.8 kB / 0.7908 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.2176, allocations: 83.5 kB / 0.7908 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009707/0.2185, allocations: 457 kB / 0.7913 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.2188, allocations: 235.9 kB / 0.7915 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.207e-05/0.2188, allocations: 13.55 kB / 0.7915 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.219, allocations: 111.6 kB / 0.7916 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.2191, allocations: 91.66 kB / 0.7917 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.2192, allocations: 12 kB / 0.7917 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005437/0.2197, allocations: 355.2 kB / 0.7921 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.845e-05/0.2198, allocations: 43.83 kB / 0.7921 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.511e-05/0.2199, allocations: 79.59 kB / 0.7922 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.2202, allocations: 239.7 kB / 0.7924 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2202, allocations: 0 / 0.7924 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.542e-06/0.2202, allocations: 0 / 0.7924 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2202, allocations: 0 / 0.7924 GB, free: 4.746 MB / 0.6075 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.0006816/0.2209, allocations: 0.4954 MB / 0.7929 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.221, allocations: 16.03 kB / 0.7929 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.2211, allocations: 20.75 kB / 0.7929 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.2213, allocations: 212.1 kB / 0.7931 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.2214, allocations: 12.7 kB / 0.7931 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.2214, allocations: 12.38 kB / 0.7932 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.2217, allocations: 252.1 kB / 0.7934 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.2218, allocations: 7.938 kB / 0.7934 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.2218, allocations: 8 kB / 0.7934 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/0.2218, allocations: 4 kB / 0.7934 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.2223, allocations: 431.5 kB / 0.7938 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.2233, allocations: 0.941 MB / 0.7947 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.2236, allocations: 162.3 kB / 0.7949 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.754e-05/0.2237, allocations: 60.88 kB / 0.795 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/0.2251, allocations: 1.833 MB / 0.7967 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.2251, allocations: 34.56 kB / 0.7968 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.2251, allocations: 0 / 0.7968 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003248/0.2254, allocations: 145.4 kB / 0.7969 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.2255, allocations: 55.34 kB / 0.797 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.2256, allocations: 171.2 kB / 0.7971 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.2257, allocations: 29.7 kB / 0.7972 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.2257, allocations: 147.8 kB / 0.7973 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.2258, allocations: 55.2 kB / 0.7974 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.2259, allocations: 45.7 kB / 0.7974 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.226, allocations: 326.8 kB / 0.7977 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.226, allocations: 43.97 kB / 0.7978 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.2262, allocations: 133.7 kB / 0.7979 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.2264, allocations: 200.4 kB / 0.7981 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2264, allocations: 0 / 0.7981 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002995/0.2267, allocations: 221.2 kB / 0.7983 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2267, allocations: 8 kB / 0.7983 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2267, allocations: 4 kB / 0.7983 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.2268, allocations: 4 kB / 0.7983 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.2269, allocations: 55.86 kB / 0.7984 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.227, allocations: 11.92 kB / 0.7984 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.2271, allocations: 36.06 kB / 0.7984 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.2271, allocations: 15.94 kB / 0.7984 GB, free: 13.86 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.2272, allocations: 133.8 kB / 0.7985 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.2273, allocations: 15.81 kB / 0.7986 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.2276, allocations: 155 kB / 0.7987 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.2276, allocations: 11.92 kB / 0.7987 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2276, allocations: 0 / 0.7987 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2276, allocations: 3.984 kB / 0.7987 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.2278, allocations: 213.5 kB / 0.7989 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2278, allocations: 4 kB / 0.7989 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-05/0.2279, allocations: 23.98 kB / 0.799 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2279, allocations: 0 / 0.799 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.228, allocations: 7.984 kB / 0.799 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.228, allocations: 7.938 kB / 0.799 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.228, allocations: 3.938 kB / 0.799 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.2282, allocations: 221.9 kB / 0.7992 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.2283, allocations: 104.9 kB / 0.7993 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.2283, allocations: 8 kB / 0.7993 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.2285, allocations: 15.92 kB / 0.7993 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.2286, allocations: 7.984 kB / 0.7993 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.2286, allocations: 15.94 kB / 0.7993 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.864e-05/0.2287, allocations: 116 kB / 0.7994 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2287, allocations: 0 / 0.7994 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003799/0.2291, allocations: 79.92 kB / 0.7995 GB, free: 12.64 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003339/0.2294, allocations: 167.1 kB / 0.7997 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.2297, allocations: 128.5 kB / 0.7998 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.2297, allocations: 3.938 kB / 0.7998 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.238e-05/0.2297, allocations: 48.11 kB / 0.7998 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.2302, allocations: 47.97 kB / 0.7999 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006686/0.2308, allocations: 424.4 kB / 0.8003 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.2311, allocations: 0.709 MB / 0.801 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/0.2312, allocations: 31.42 kB / 0.801 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.2312, allocations: 0 / 0.801 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of Templates: time 0.004943/0.2361, allocations: 3.129 MB / 0.8041 GB, free: 7.922 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_8_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)