Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.00134/0.00134, 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.001593/0.001593, allocations: 194.8 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.374/1.374, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.658/1.658, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001518/0.001518, allocations: 67.8 kB / 0.6711 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1886, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005422/0.194, allocations: 4.095 MB / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002643/0.1967, allocations: 2.387 MB / 0.7893 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.1968, allocations: 4 kB / 0.7893 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.1971, allocations: 43.73 kB / 0.7893 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.1974, allocations: 91.42 kB / 0.7894 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.1986, allocations: 468.9 kB / 0.7899 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.199, allocations: 267.8 kB / 0.7901 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.199, allocations: 9.562 kB / 0.7901 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.1992, allocations: 107.6 kB / 0.7902 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.1994, allocations: 103.6 kB / 0.7903 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.1994, allocations: 8 kB / 0.7903 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008025/0.2002, allocations: 439.2 kB / 0.7908 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.301e-05/0.2003, allocations: 43.88 kB / 0.7908 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.636e-05/0.2004, allocations: 75.66 kB / 0.7909 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006548/0.2011, allocations: 411.2 kB / 0.7913 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.2011, allocations: 0 / 0.7913 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.12e-07/0.2011, allocations: 0 / 0.7913 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.2011, allocations: 0 / 0.7913 GB, free: 5.25 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.0007372/0.2018, allocations: 0.4992 MB / 0.7918 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2019, allocations: 8.031 kB / 0.7918 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.228e-05/0.202, allocations: 54.73 kB / 0.7918 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.204, allocations: 180.5 kB / 0.792 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.2043, allocations: 208.2 kB / 0.7922 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.2043, allocations: 8.703 kB / 0.7922 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.2043, allocations: 16.38 kB / 0.7922 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.205, allocations: 316.1 kB / 0.7925 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.205, allocations: 8 kB / 0.7925 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.2051, allocations: 7.938 kB / 0.7925 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.2051, allocations: 8 kB / 0.7925 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006948/0.2058, allocations: 263.6 kB / 0.7928 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.2073, allocations: 1.385 MB / 0.7941 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.208, allocations: 194.4 kB / 0.7943 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.2082, allocations: 76.81 kB / 0.7944 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.2082, allocations: 11.98 kB / 0.7944 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.2083, allocations: 34.5 kB / 0.7944 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.2083, allocations: 4 kB / 0.7945 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0007634/0.209, allocations: 244.3 kB / 0.7947 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.2091, allocations: 51.41 kB / 0.7947 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.2092, allocations: 161.4 kB / 0.7949 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.2093, allocations: 33.64 kB / 0.7949 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.2093, allocations: 132 kB / 0.795 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.2094, allocations: 59.09 kB / 0.7951 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.327e-05/0.2095, allocations: 53.92 kB / 0.7952 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2096, allocations: 326.8 kB / 0.7955 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.2098, allocations: 60.42 kB / 0.7955 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.2101, allocations: 146.2 kB / 0.7957 GB, free: 412 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.2105, allocations: 217.3 kB / 0.7959 GB, free: 160 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2105, allocations: 0 / 0.7959 GB, free: 160 kB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005991/0.2111, allocations: 259.5 kB / 0.7961 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2112, allocations: 4 kB / 0.7961 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.2112, allocations: 4 kB / 0.7961 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2112, allocations: 4 kB / 0.7961 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.2116, allocations: 59.89 kB / 0.7962 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/0.2116, allocations: 4 kB / 0.7962 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.2119, allocations: 27.83 kB / 0.7962 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.2119, allocations: 19.98 kB / 0.7962 GB, free: 15.78 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.0001135/0.212, allocations: 133.7 kB / 0.7964 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.2121, allocations: 15.81 kB / 0.7964 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006221/0.2127, allocations: 226.7 kB / 0.7966 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2127, allocations: 4 kB / 0.7966 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2127, allocations: 0 / 0.7966 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2127, allocations: 0 / 0.7966 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.213, allocations: 249.3 kB / 0.7968 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.213, allocations: 4 kB / 0.7968 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.2133, allocations: 43.97 kB / 0.7969 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.2134, allocations: 4 kB / 0.7969 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.2134, allocations: 3.938 kB / 0.7969 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2134, allocations: 0 / 0.7969 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2134, allocations: 0 / 0.7969 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/0.2139, allocations: 311 kB / 0.7972 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.782e-05/0.214, allocations: 104.9 kB / 0.7973 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.2141, allocations: 0 / 0.7973 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.2144, allocations: 15.98 kB / 0.7973 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.2144, allocations: 15.97 kB / 0.7973 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.2144, allocations: 12 kB / 0.7973 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.576e-05/0.2145, allocations: 117.5 kB / 0.7974 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2145, allocations: 4 kB / 0.7974 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003426/0.2149, allocations: 63.94 kB / 0.7975 GB, free: 14.38 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.000876/0.2158, allocations: 0.8594 MB / 0.7983 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005376/0.2163, allocations: 196 kB / 0.7985 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2163, allocations: 0 / 0.7985 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.2166, allocations: 83.88 kB / 0.7986 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.2171, allocations: 60.25 kB / 0.7987 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.2203, allocations: 2.197 MB / 0.8008 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.2206, allocations: 0.7173 MB / 0.8015 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003523/0.2209, allocations: 53.92 kB / 0.8016 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.221, allocations: 47.36 kB / 0.8016 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.221, allocations: 0 / 0.8016 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3015/0.5225, allocations: 4.937 MB / 0.8064 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.5227, allocations: 232.7 kB / 0.8067 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.275, allocations: 0 / 0.8067 GB, free: 5.012 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)