Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.831/1.831, allocations: 288.3 MB / 303.2 MB, free: 8.273 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.001121/0.001121, allocations: 173.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.4 MB / 0.6306 GB, free: 9.996 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.0009276/0.0009276, allocations: 93.09 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004261/0.0004261, allocations: 11.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2898, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004431/0.2943, allocations: 3.928 MB / 0.9832 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.2962, allocations: 2.144 MB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.2964, allocations: 0 / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.2967, allocations: 43.78 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.297, allocations: 83.7 kB / 0.9855 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.2981, allocations: 407.9 kB / 0.9858 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.2984, allocations: 148.7 kB / 0.986 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.583e-05/0.2984, allocations: 9.562 kB / 0.986 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.2987, allocations: 103.7 kB / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.2988, allocations: 79.67 kB / 0.9862 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.2989, allocations: 8 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007784/0.2996, allocations: 267.7 kB / 0.9864 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.2997, allocations: 35.89 kB / 0.9865 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.2998, allocations: 53.64 kB / 0.9865 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.3002, allocations: 215.7 kB / 0.9867 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3002, allocations: 0 / 0.9867 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3002, allocations: 0 / 0.9867 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3003, allocations: 3.938 kB / 0.9867 GB, free: 20.18 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.0007099/0.301, allocations: 471 kB / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.301, allocations: 16 kB / 0.9872 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.3012, allocations: 19.86 kB / 0.9872 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.3014, allocations: 218.7 kB / 0.9874 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.3015, allocations: 12.33 kB / 0.9874 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.3015, allocations: 20 kB / 0.9874 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.3018, allocations: 240 kB / 0.9877 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3019, allocations: 3.938 kB / 0.9877 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.3019, allocations: 8 kB / 0.9877 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.3019, allocations: 4 kB / 0.9877 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.3023, allocations: 427.4 kB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.3034, allocations: 0.9917 MB / 0.9891 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.3037, allocations: 156.8 kB / 0.9892 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009751/0.3047, allocations: 1.84 MB / 0.991 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.3047, allocations: 30.56 kB / 0.991 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.3047, allocations: 4 kB / 0.991 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0003022/0.305, allocations: 149.4 kB / 0.9912 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.3051, allocations: 55.41 kB / 0.9912 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3052, allocations: 161.9 kB / 0.9914 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3052, allocations: 29.64 kB / 0.9914 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.3053, allocations: 143.8 kB / 0.9916 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.3053, allocations: 55.2 kB / 0.9916 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/0.3053, allocations: 4 kB / 0.9916 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.3054, allocations: 322.8 kB / 0.9919 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.089e-05/0.3055, allocations: 39.97 kB / 0.992 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-05/0.3056, allocations: 135.8 kB / 0.9921 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.815e-05/0.3057, allocations: 59.92 kB / 0.9922 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3057, allocations: 4 kB / 0.9922 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002684/0.3059, allocations: 210 kB / 0.9924 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.306, allocations: 12.02 kB / 0.9924 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.306, allocations: 4 kB / 0.9924 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.306, allocations: 8 kB / 0.9924 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.3062, allocations: 59.91 kB / 0.9924 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3062, allocations: 7.938 kB / 0.9924 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.3064, allocations: 31.69 kB / 0.9925 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.3064, allocations: 11.94 kB / 0.9925 GB, free: 13.61 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 9.934e-05/0.3065, allocations: 129.8 kB / 0.9926 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.3065, allocations: 27.84 kB / 0.9926 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.3068, allocations: 160.1 kB / 0.9928 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.3068, allocations: 4 kB / 0.9928 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3069, allocations: 0 / 0.9928 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3069, allocations: 3.938 kB / 0.9928 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.3071, allocations: 217.4 kB / 0.993 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3071, allocations: 0 / 0.993 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.3072, allocations: 31.98 kB / 0.993 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3072, allocations: 0 / 0.993 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.3072, allocations: 7.953 kB / 0.993 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3072, allocations: 4 kB / 0.993 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3072, allocations: 0 / 0.993 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.3074, allocations: 214 kB / 0.9932 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.3075, allocations: 116.8 kB / 0.9934 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.3076, allocations: 7.984 kB / 0.9934 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.3078, allocations: 11.95 kB / 0.9934 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.3078, allocations: 15.98 kB / 0.9934 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.3078, allocations: 15.98 kB / 0.9934 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.394e-05/0.3079, allocations: 120.9 kB / 0.9935 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3079, allocations: 0 / 0.9935 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003803/0.3083, allocations: 71.94 kB / 0.9936 GB, free: 12.37 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.0002705/0.3086, allocations: 167.2 kB / 0.9938 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.3088, allocations: 111.8 kB / 0.9939 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3088, allocations: 0 / 0.9939 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.821e-05/0.3089, allocations: 51.8 kB / 0.9939 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.3093, allocations: 48.89 kB / 0.994 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006646/0.31, allocations: 415.5 kB / 0.9944 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.3102, allocations: 0.7211 MB / 0.9951 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001928/0.3104, allocations: 49.73 kB / 0.9951 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.3104, allocations: 27.36 kB / 0.9951 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.3104, allocations: 4 kB / 0.9951 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.007441/0.3179, allocations: 3.112 MB / 0.9982 GB, free: 7.66 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)