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: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.372/1.372, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.666/1.666, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001543/0.001543, allocations: 73.09 kB / 0.6716 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1991, allocations: 114.5 MB / 0.7835 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005058/0.2042, allocations: 4.705 MB / 0.7881 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002324/0.2066, allocations: 2.683 MB / 0.7907 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.2066, allocations: 0 / 0.7907 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.2068, allocations: 47.67 kB / 0.7907 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.207, allocations: 91.38 kB / 0.7908 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000792/0.2078, allocations: 492.8 kB / 0.7913 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.2079, allocations: 224 kB / 0.7915 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.122e-05/0.208, allocations: 9.562 kB / 0.7915 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.2081, allocations: 115.6 kB / 0.7916 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.2082, allocations: 91.59 kB / 0.7917 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.2083, allocations: 8 kB / 0.7917 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005156/0.2088, allocations: 339.4 kB / 0.792 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/0.2089, allocations: 47.83 kB / 0.7921 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.379e-05/0.2089, allocations: 75.66 kB / 0.7921 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.2094, allocations: 347.4 kB / 0.7925 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2094, allocations: 3.984 kB / 0.7925 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.52e-07/0.2094, allocations: 0 / 0.7925 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.2094, allocations: 4 kB / 0.7925 GB, free: 4.148 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.0005198/0.2099, allocations: 0.4914 MB / 0.793 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.314e-05/0.2099, allocations: 8.031 kB / 0.793 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.21, allocations: 50.73 kB / 0.793 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.2101, allocations: 24.75 kB / 0.793 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.2103, allocations: 212.1 kB / 0.7933 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.2103, allocations: 12.7 kB / 0.7933 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.2103, allocations: 16.38 kB / 0.7933 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.2106, allocations: 251.9 kB / 0.7935 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.2107, allocations: 0 / 0.7935 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.2107, allocations: 8 kB / 0.7935 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.2107, allocations: 11.98 kB / 0.7935 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.2111, allocations: 427.5 kB / 0.7939 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008832/0.212, allocations: 0.9526 MB / 0.7949 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.2123, allocations: 155.7 kB / 0.795 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.931e-05/0.2124, allocations: 68.16 kB / 0.7951 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/0.2136, allocations: 1.829 MB / 0.7969 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.2136, allocations: 38.56 kB / 0.7969 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.2136, allocations: 0 / 0.7969 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0002696/0.2139, allocations: 147.8 kB / 0.7971 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.2139, allocations: 55.41 kB / 0.7971 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.214, allocations: 164.4 kB / 0.7973 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.2141, allocations: 29.7 kB / 0.7973 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.2141, allocations: 143.8 kB / 0.7974 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.2142, allocations: 55.2 kB / 0.7975 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/0.2142, allocations: 53.64 kB / 0.7975 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.2143, allocations: 326.8 kB / 0.7978 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.2144, allocations: 35.97 kB / 0.7979 GB, free: 14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.2145, allocations: 149.6 kB / 0.798 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.2147, allocations: 193.5 kB / 0.7982 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2147, allocations: 4 kB / 0.7982 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002972/0.215, allocations: 227.7 kB / 0.7984 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2151, allocations: 8.938 kB / 0.7984 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2151, allocations: 4 kB / 0.7984 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2151, allocations: 7.938 kB / 0.7984 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.2152, allocations: 51.92 kB / 0.7985 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2152, allocations: 11.98 kB / 0.7985 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.2154, allocations: 27.69 kB / 0.7985 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.2154, allocations: 12 kB / 0.7985 GB, free: 13.21 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 7.816e-05/0.2155, allocations: 134.1 kB / 0.7987 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.2155, allocations: 15.81 kB / 0.7987 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.2158, allocations: 147 kB / 0.7988 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.2158, allocations: 11.92 kB / 0.7988 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2158, allocations: 0 / 0.7988 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2158, allocations: 0 / 0.7988 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.216, allocations: 217.5 kB / 0.799 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.216, allocations: 0 / 0.799 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-05/0.2161, allocations: 31.92 kB / 0.7991 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2161, allocations: 0 / 0.7991 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2161, allocations: 8 kB / 0.7991 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2161, allocations: 3.938 kB / 0.7991 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2161, allocations: 0 / 0.7991 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.2163, allocations: 219.5 kB / 0.7993 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.2164, allocations: 108.9 kB / 0.7994 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.2165, allocations: 0 / 0.7994 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.2166, allocations: 23.92 kB / 0.7994 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.2167, allocations: 7.984 kB / 0.7994 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.2167, allocations: 12 kB / 0.7994 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.785e-05/0.2168, allocations: 118.1 kB / 0.7996 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2168, allocations: 0 / 0.7996 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003251/0.2171, allocations: 79.92 kB / 0.7996 GB, free: 12 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.0005549/0.2176, allocations: 0.8321 MB / 0.8004 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.2179, allocations: 120.6 kB / 0.8006 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.2179, allocations: 4.062 kB / 0.8006 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 5.934e-05/0.2179, allocations: 47.86 kB / 0.8006 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.2183, allocations: 63.8 kB / 0.8007 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.22, allocations: 2.03 MB / 0.8027 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.2202, allocations: 0.7089 MB / 0.8033 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001441/0.2204, allocations: 45.83 kB / 0.8034 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.2204, allocations: 43.42 kB / 0.8034 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2204, allocations: 0 / 0.8034 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.061/2.282, allocations: 5.137 MB / 0.8084 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/14.63, allocations: 14.36 kB / 0.8085 GB, free: 2.828 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_WaterProperties.fmu > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)