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: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.797/1.797, allocations: 288.2 MB / 303.2 MB, free: 8.129 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.001188/0.001188, allocations: 183.9 kB / 371.8 MB, free: 10.31 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.061/2.061, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001042/0.001042, allocations: 97.67 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004335, allocations: 15.31 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2701, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.003817/0.274, allocations: 3.924 MB / 0.9833 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.2757, allocations: 2.156 MB / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.2758, allocations: 4 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.2761, allocations: 31.86 kB / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.2763, allocations: 83.7 kB / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008015/0.2771, allocations: 410 kB / 0.9859 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.2772, allocations: 148.7 kB / 0.986 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.993e-05/0.2773, allocations: 13.56 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.2775, allocations: 103.7 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.2776, allocations: 67.7 kB / 0.9862 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.2776, allocations: 8 kB / 0.9862 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/0.2781, allocations: 275.6 kB / 0.9865 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.2781, allocations: 35.89 kB / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.2782, allocations: 57.58 kB / 0.9866 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.2785, allocations: 203.8 kB / 0.9868 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2785, allocations: 8 kB / 0.9868 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2785, allocations: 0 / 0.9868 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2785, allocations: 0 / 0.9868 GB, free: 20.11 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.0006118/0.2791, allocations: 475.1 kB / 0.9872 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2792, allocations: 19.95 kB / 0.9873 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.2792, allocations: 46.55 kB / 0.9873 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.2794, allocations: 19.86 kB / 0.9873 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.2795, allocations: 218.7 kB / 0.9875 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.2796, allocations: 12.33 kB / 0.9875 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2796, allocations: 16 kB / 0.9876 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.2799, allocations: 240 kB / 0.9878 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2799, allocations: 0 / 0.9878 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.28, allocations: 8 kB / 0.9878 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.28, allocations: 4 kB / 0.9878 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.2803, allocations: 439.4 kB / 0.9882 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008916/0.2812, allocations: 0.98 MB / 0.9892 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.2815, allocations: 163 kB / 0.9893 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009098/0.2824, allocations: 1.837 MB / 0.9911 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.2825, allocations: 34.55 kB / 0.9912 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.2825, allocations: 4 kB / 0.9912 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0002756/0.2828, allocations: 151.6 kB / 0.9913 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.2828, allocations: 51.41 kB / 0.9914 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2829, allocations: 161.2 kB / 0.9915 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.2829, allocations: 29.7 kB / 0.9915 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.283, allocations: 143.7 kB / 0.9917 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.283, allocations: 55.28 kB / 0.9917 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/0.2831, allocations: 4 kB / 0.9917 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.2831, allocations: 322.8 kB / 0.992 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.435e-05/0.2832, allocations: 39.97 kB / 0.9921 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-05/0.2833, allocations: 134.2 kB / 0.9922 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.98e-05/0.2834, allocations: 59.92 kB / 0.9923 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2834, allocations: 4 kB / 0.9923 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002518/0.2836, allocations: 219.4 kB / 0.9925 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2837, allocations: 12.03 kB / 0.9925 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.2837, allocations: 0 / 0.9925 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2837, allocations: 11.94 kB / 0.9925 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.2839, allocations: 59.91 kB / 0.9926 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.2839, allocations: 4 kB / 0.9926 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.284, allocations: 31.69 kB / 0.9926 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.284, allocations: 8 kB / 0.9926 GB, free: 13.47 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 8.271e-05/0.2841, allocations: 139.1 kB / 0.9927 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.2841, allocations: 19.86 kB / 0.9927 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.2844, allocations: 154.8 kB / 0.9929 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.2844, allocations: 4 kB / 0.9929 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2844, allocations: 0 / 0.9929 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2844, allocations: 0 / 0.9929 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.2846, allocations: 221.4 kB / 0.9931 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2846, allocations: 0 / 0.9931 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.9e-05/0.2847, allocations: 35.98 kB / 0.9931 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2847, allocations: 0 / 0.9931 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2848, allocations: 11.95 kB / 0.9932 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2848, allocations: 0 / 0.9932 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2848, allocations: 0 / 0.9932 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.285, allocations: 216.9 kB / 0.9934 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.285, allocations: 116.9 kB / 0.9935 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.2851, allocations: 8 kB / 0.9935 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.2853, allocations: 7.953 kB / 0.9935 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.141e-05/0.2853, allocations: 15.98 kB / 0.9935 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.2853, allocations: 11.98 kB / 0.9935 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.16e-05/0.2854, allocations: 121.6 kB / 0.9936 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2854, allocations: 0 / 0.9936 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003432/0.2857, allocations: 75.92 kB / 0.9937 GB, free: 12.23 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.0004976/0.2862, allocations: 0.8238 MB / 0.9945 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001982/0.2864, allocations: 111.8 kB / 0.9946 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2865, allocations: 4.938 kB / 0.9946 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.013e-05/0.2865, allocations: 39.92 kB / 0.9947 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.2869, allocations: 53.31 kB / 0.9947 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.2885, allocations: 3.255 MB / 0.9979 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.2886, allocations: 0.7169 MB / 0.9986 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001736/0.2888, allocations: 61.72 kB / 0.9986 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/0.2889, allocations: 43.42 kB / 0.9987 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of SimCode: time 1.232e-06/0.2889, allocations: 0 / 0.9987 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.3041, allocations: 4.674 MB / 1.003 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.3043, allocations: 186.7 kB / 1.003 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.954, allocations: 0 / 1.003 GB, free: 2.211 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)