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.46/1.46, allocations: 288.4 MB / 303.6 MB, free: 8.082 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.0008256/0.0008256, allocations: 175.3 kB / 372.2 MB, free: 10.13 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.105/1.105, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.000692/0.000692, allocations: 100.7 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003281, allocations: 14.88 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.143, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.003347/0.1463, allocations: 4.192 MB / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.148, allocations: 2.467 MB / 0.9867 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.602e-05/0.1481, allocations: 4 kB / 0.9867 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.1483, allocations: 47.73 kB / 0.9867 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.1485, allocations: 83.48 kB / 0.9868 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008087/0.1493, allocations: 414.8 kB / 0.9872 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.1495, allocations: 259.9 kB / 0.9874 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.64e-05/0.1495, allocations: 13.56 kB / 0.9875 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.1497, allocations: 111.5 kB / 0.9876 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.618e-05/0.1498, allocations: 83.72 kB / 0.9876 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1498, allocations: 8 kB / 0.9877 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004959/0.1503, allocations: 331.2 kB / 0.988 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.1504, allocations: 35.89 kB / 0.988 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.1504, allocations: 101.4 kB / 0.9881 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.1507, allocations: 239.7 kB / 0.9883 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1507, allocations: 4 kB / 0.9883 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1507, allocations: 0 / 0.9883 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.1507, allocations: 0 / 0.9883 GB, free: 18.88 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.0004523/0.1512, allocations: 471.3 kB / 0.9888 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1512, allocations: 12.03 kB / 0.9888 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.1513, allocations: 46.73 kB / 0.9888 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.1514, allocations: 16.84 kB / 0.9889 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1515, allocations: 220 kB / 0.9891 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1515, allocations: 12.7 kB / 0.9891 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.1516, allocations: 20.36 kB / 0.9891 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.1518, allocations: 247.9 kB / 0.9893 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1518, allocations: 0 / 0.9893 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.1519, allocations: 8 kB / 0.9893 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.1519, allocations: 4 kB / 0.9893 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.1522, allocations: 431.4 kB / 0.9898 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007304/0.153, allocations: 0.9449 MB / 0.9907 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.1532, allocations: 160.3 kB / 0.9908 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.1533, allocations: 60.88 kB / 0.9909 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007336/0.154, allocations: 1.825 MB / 0.9927 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.154, allocations: 38.56 kB / 0.9927 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.154, allocations: 0 / 0.9927 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.000233/0.1543, allocations: 149.3 kB / 0.9928 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.655e-05/0.1543, allocations: 51.41 kB / 0.9929 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.1544, allocations: 169.1 kB / 0.9931 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1544, allocations: 29.7 kB / 0.9931 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.1545, allocations: 139.8 kB / 0.9932 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.1545, allocations: 55.28 kB / 0.9933 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.1545, allocations: 4 kB / 0.9933 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.551e-05/0.1545, allocations: 326.8 kB / 0.9936 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.1546, allocations: 31.98 kB / 0.9936 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.567e-05/0.1547, allocations: 154.1 kB / 0.9938 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1548, allocations: 192.2 kB / 0.994 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1548, allocations: 0 / 0.994 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002322/0.1551, allocations: 217.5 kB / 0.9942 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.1551, allocations: 4.031 kB / 0.9942 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1551, allocations: 11.98 kB / 0.9942 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1551, allocations: 11.94 kB / 0.9942 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.1553, allocations: 55.86 kB / 0.9942 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1553, allocations: 4 kB / 0.9942 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.705e-05/0.1554, allocations: 23.69 kB / 0.9943 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.1554, allocations: 19.98 kB / 0.9943 GB, free: 12.04 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 6.505e-05/0.1555, allocations: 129.8 kB / 0.9944 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.1555, allocations: 15.81 kB / 0.9944 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.1557, allocations: 172 kB / 0.9946 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.1558, allocations: 7.938 kB / 0.9946 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1558, allocations: 0 / 0.9946 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1558, allocations: 3.984 kB / 0.9946 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.1559, allocations: 213.5 kB / 0.9948 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1559, allocations: 0 / 0.9948 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.552e-05/0.156, allocations: 27.98 kB / 0.9948 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.156, allocations: 0 / 0.9948 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.156, allocations: 4 kB / 0.9948 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.156, allocations: 7.938 kB / 0.9948 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.156, allocations: 0 / 0.9948 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.1562, allocations: 220.2 kB / 0.995 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.1563, allocations: 108.9 kB / 0.9952 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.1563, allocations: 4 kB / 0.9952 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.1565, allocations: 7.938 kB / 0.9952 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.1565, allocations: 11.98 kB / 0.9952 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.1565, allocations: 15.98 kB / 0.9952 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.261e-05/0.1566, allocations: 125.6 kB / 0.9953 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1566, allocations: 0 / 0.9953 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003026/0.1569, allocations: 75.92 kB / 0.9954 GB, free: 10.82 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.0004351/0.1573, allocations: 0.8265 MB / 0.9962 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.1575, allocations: 118.2 kB / 0.9963 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1575, allocations: 0.9375 kB / 0.9963 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.753e-05/0.1576, allocations: 47.86 kB / 0.9963 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.158, allocations: 59.83 kB / 0.9964 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.159, allocations: 0.9998 MB / 0.9974 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.1591, allocations: 0.7131 MB / 0.9981 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001509/0.1593, allocations: 41.81 kB / 0.9981 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.1593, allocations: 47.42 kB / 0.9982 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of SimCode: time 1.91e-07/0.1594, allocations: 0 / 0.9982 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4332/0.5926, allocations: 4.812 MB / 1.003 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001191/0.5927, allocations: 195.8 kB / 1.003 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/2.785, allocations: 0 / 1.003 GB, free: 2.914 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)