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.001182/0.001182, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001287/0.001287, allocations: 195.3 kB / 16.25 MB, free: 6.621 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.499/1.499, allocations: 205.1 MB / 222.1 MB, free: 4.613 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.758/1.758, allocations: 292.3 MB / 0.5485 GB, free: 13.64 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.00137/0.00137, allocations: 68.25 kB / 0.671 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2668, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006486/0.2733, allocations: 4.733 MB / 0.7875 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002691/0.2761, allocations: 2.668 MB / 0.7901 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.2762, allocations: 0 / 0.7901 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.2765, allocations: 47.69 kB / 0.7901 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.2769, allocations: 83.48 kB / 0.7902 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.2781, allocations: 458 kB / 0.7906 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.2785, allocations: 228 kB / 0.7908 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.862e-05/0.2785, allocations: 9.547 kB / 0.7909 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.2788, allocations: 119.5 kB / 0.791 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.279, allocations: 99.59 kB / 0.7911 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.279, allocations: 8 kB / 0.7911 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006752/0.2797, allocations: 351.3 kB / 0.7914 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.2798, allocations: 43.83 kB / 0.7914 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.941e-05/0.2798, allocations: 75.66 kB / 0.7915 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005828/0.2804, allocations: 347.4 kB / 0.7918 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2804, allocations: 0 / 0.7918 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2804, allocations: 0 / 0.7918 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2805, allocations: 0 / 0.7918 GB, free: 4.656 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.0006742/0.2811, allocations: 0.4992 MB / 0.7923 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2812, allocations: 8.031 kB / 0.7923 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.2814, allocations: 28.75 kB / 0.7924 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.2816, allocations: 216.1 kB / 0.7926 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.2816, allocations: 8.703 kB / 0.7926 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.2816, allocations: 16.38 kB / 0.7926 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.282, allocations: 252.1 kB / 0.7928 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2821, allocations: 0 / 0.7928 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.2821, allocations: 8 kB / 0.7928 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.2821, allocations: 4 kB / 0.7929 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005204/0.2827, allocations: 431.5 kB / 0.7933 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.2838, allocations: 0.941 MB / 0.7942 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.2841, allocations: 159.7 kB / 0.7943 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.2842, allocations: 68.16 kB / 0.7944 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.2857, allocations: 1.833 MB / 0.7962 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.2857, allocations: 34.56 kB / 0.7962 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.2857, allocations: 0 / 0.7962 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003156/0.286, allocations: 145.4 kB / 0.7964 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.2861, allocations: 63.28 kB / 0.7964 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.2862, allocations: 163.2 kB / 0.7966 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.2863, allocations: 33.7 kB / 0.7966 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/0.2863, allocations: 139.8 kB / 0.7967 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.2864, allocations: 63.12 kB / 0.7968 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.2865, allocations: 49.7 kB / 0.7969 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2866, allocations: 326.8 kB / 0.7972 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.106e-05/0.2866, allocations: 35.98 kB / 0.7972 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.2868, allocations: 141.6 kB / 0.7973 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.287, allocations: 200.8 kB / 0.7975 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.287, allocations: 4 kB / 0.7975 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003332/0.2874, allocations: 217 kB / 0.7977 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2874, allocations: 8 kB / 0.7977 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2874, allocations: 4 kB / 0.7977 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.674e-05/0.2875, allocations: 4 kB / 0.7978 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.2876, allocations: 55.86 kB / 0.7978 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.2877, allocations: 8 kB / 0.7978 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.2878, allocations: 36.14 kB / 0.7978 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.2878, allocations: 16 kB / 0.7979 GB, free: 13.77 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.0001034/0.2879, allocations: 125.8 kB / 0.798 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.288, allocations: 15.81 kB / 0.798 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.2883, allocations: 150.9 kB / 0.7981 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.2883, allocations: 11.92 kB / 0.7982 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2883, allocations: 0 / 0.7982 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2883, allocations: 3.984 kB / 0.7982 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.2886, allocations: 221.5 kB / 0.7984 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2886, allocations: 0 / 0.7984 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.379e-05/0.2887, allocations: 23.98 kB / 0.7984 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2887, allocations: 0 / 0.7984 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.2887, allocations: 12 kB / 0.7984 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2887, allocations: 3.938 kB / 0.7984 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2887, allocations: 0 / 0.7984 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.2889, allocations: 222.5 kB / 0.7986 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.289, allocations: 112.9 kB / 0.7987 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.2891, allocations: 0 / 0.7987 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.2893, allocations: 15.92 kB / 0.7987 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.2893, allocations: 7.984 kB / 0.7987 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.2893, allocations: 12 kB / 0.7988 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001042/0.2894, allocations: 120 kB / 0.7989 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.463e-06/0.2894, allocations: 0 / 0.7989 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003796/0.2898, allocations: 83.86 kB / 0.799 GB, free: 12.55 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.0003462/0.2902, allocations: 175.1 kB / 0.7991 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.2904, allocations: 136.4 kB / 0.7992 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2904, allocations: 256 / 0.7992 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.479e-05/0.2905, allocations: 43.92 kB / 0.7993 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.2909, allocations: 51.89 kB / 0.7993 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007103/0.2917, allocations: 398.7 kB / 0.7997 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.292, allocations: 0.709 MB / 0.8004 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.2921, allocations: 49.8 kB / 0.8005 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.2922, allocations: 23.44 kB / 0.8005 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.2922, allocations: 0 / 0.8005 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of Templates: time 0.006926/0.2991, allocations: 3.386 MB / 0.8038 GB, free: 7.582 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)