Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.638/2.638, allocations: 287.3 MB / 302.3 MB, free: 8.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001663/0.001663, allocations: 183 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.353/2.353, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001115, allocations: 90.86 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004715, allocations: 11.3 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2215, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005211/0.2268, allocations: 3.924 MB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003071/0.2299, allocations: 2.152 MB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.2301, allocations: 3.938 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.2304, allocations: 31.86 kB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.2307, allocations: 87.7 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.2322, allocations: 410.9 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.2325, allocations: 144.7 kB / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.437e-05/0.2326, allocations: 17.55 kB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.2328, allocations: 99.62 kB / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.2329, allocations: 75.73 kB / 0.9849 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.233, allocations: 4 kB / 0.9849 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009713/0.234, allocations: 271.7 kB / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.132e-05/0.2341, allocations: 35.89 kB / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.495e-05/0.2341, allocations: 57.58 kB / 0.9853 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.2346, allocations: 211.7 kB / 0.9855 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2346, allocations: 4 kB / 0.9855 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2346, allocations: 4 kB / 0.9855 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2347, allocations: 0 / 0.9855 GB, free: 20.86 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007399/0.2354, allocations: 467.1 kB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2355, allocations: 16.02 kB / 0.986 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.2357, allocations: 19.81 kB / 0.986 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.2359, allocations: 218.7 kB / 0.9862 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2359, allocations: 16.33 kB / 0.9862 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.236, allocations: 12 kB / 0.9862 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.2364, allocations: 244 kB / 0.9864 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.2364, allocations: 0 / 0.9864 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.2365, allocations: 12 kB / 0.9865 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/0.2365, allocations: 7.953 kB / 0.9865 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006062/0.2371, allocations: 423.5 kB / 0.9869 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.2385, allocations: 0.98 MB / 0.9878 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.239, allocations: 166.8 kB / 0.988 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.2403, allocations: 1.837 MB / 0.9898 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.2404, allocations: 38.56 kB / 0.9898 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.114e-06/0.2404, allocations: 3.938 kB / 0.9898 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0004373/0.2408, allocations: 150.9 kB / 0.99 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.2409, allocations: 59.41 kB / 0.99 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.241, allocations: 157 kB / 0.9902 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.2411, allocations: 29.7 kB / 0.9902 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.2412, allocations: 143.8 kB / 0.9903 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.2412, allocations: 55.2 kB / 0.9904 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.2412, allocations: 4 kB / 0.9904 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.2413, allocations: 326.8 kB / 0.9907 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.611e-05/0.2414, allocations: 31.97 kB / 0.9907 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.2416, allocations: 138.2 kB / 0.9909 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.2418, allocations: 61.61 kB / 0.9909 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.2418, allocations: 4 kB / 0.9909 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004447/0.2422, allocations: 221 kB / 0.9911 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.2423, allocations: 4 kB / 0.9911 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.2423, allocations: 4.469 kB / 0.9911 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.2423, allocations: 8 kB / 0.9912 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.2427, allocations: 59.91 kB / 0.9912 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.2427, allocations: 4 kB / 0.9912 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.2429, allocations: 27.69 kB / 0.9912 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.2429, allocations: 16 kB / 0.9913 GB, free: 14.29 MB / 0.6198 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.0001209/0.2431, allocations: 129.8 kB / 0.9914 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.2431, allocations: 19.8 kB / 0.9914 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.2436, allocations: 163.5 kB / 0.9916 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.2436, allocations: 0 / 0.9916 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.2436, allocations: 0 / 0.9916 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2436, allocations: 4 kB / 0.9916 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.2439, allocations: 221.4 kB / 0.9918 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2439, allocations: 0 / 0.9918 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.2441, allocations: 27.98 kB / 0.9918 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2441, allocations: 3.953 kB / 0.9918 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.2442, allocations: 4 kB / 0.9918 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2442, allocations: 0 / 0.9918 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2442, allocations: 8 kB / 0.9918 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.2445, allocations: 216.2 kB / 0.992 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.2446, allocations: 120.8 kB / 0.9921 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.2447, allocations: 3.953 kB / 0.9921 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.245, allocations: 12 kB / 0.9921 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.245, allocations: 11.98 kB / 0.9922 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.2451, allocations: 15.98 kB / 0.9922 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.99e-05/0.2452, allocations: 120.2 kB / 0.9923 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2452, allocations: 0 / 0.9923 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005764/0.2458, allocations: 79.92 kB / 0.9924 GB, free: 13.05 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 (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.0003111/0.2461, allocations: 163.1 kB / 0.9925 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003028/0.2464, allocations: 113.8 kB / 0.9926 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2465, allocations: 4 kB / 0.9926 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.248e-05/0.2466, allocations: 43.86 kB / 0.9927 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.2471, allocations: 48.89 kB / 0.9927 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008051/0.248, allocations: 419.4 kB / 0.9931 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.2481, allocations: 0.7211 MB / 0.9938 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002752/0.2484, allocations: 49.8 kB / 0.9939 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.2485, allocations: 27.42 kB / 0.9939 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.2485, allocations: 0 / 0.9939 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of Templates: time 0.008762/0.2573, allocations: 3.118 MB / 0.9969 GB, free: 8.332 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_8.0.0_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)