Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_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.0007235/0.0007236, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.004066/0.004066, allocations: 169.8 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001637/0.001637, allocations: 275 kB / 291.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8834/0.8834, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003802, allocations: 15.23 kB / 0.5988 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 88.55 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003739/0.143, allocations: 3.72 MB / 0.6889 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.1453, allocations: 2.425 MB / 0.6912 GB, free: 8.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.1454, allocations: 0 / 0.6912 GB, free: 8.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.1456, allocations: 40.53 kB / 0.6913 GB, free: 8.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.1458, allocations: 93.19 kB / 0.6914 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008513/0.1467, allocations: 481 kB / 0.6918 GB, free: 8.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.147, allocations: 335.8 kB / 0.6921 GB, free: 7.902 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.147, allocations: 21.52 kB / 0.6922 GB, free: 7.883 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.1472, allocations: 103.6 kB / 0.6923 GB, free: 7.781 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1473, allocations: 95.66 kB / 0.6924 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1474, allocations: 8 kB / 0.6924 GB, free: 7.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006489/0.148, allocations: 463.1 kB / 0.6928 GB, free: 7.227 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.1481, allocations: 35.83 kB / 0.6928 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.249e-05/0.1482, allocations: 113.3 kB / 0.6929 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004937/0.1487, allocations: 419.2 kB / 0.6933 GB, free: 6.664 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1487, allocations: 3.938 kB / 0.6933 GB, free: 6.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1487, allocations: 0 / 0.6933 GB, free: 6.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1487, allocations: 0 / 0.6933 GB, free: 6.66 MB / 494.1 MB 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.0005843/0.1493, allocations: 475.3 kB / 0.6938 GB, free: 6.145 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.1493, allocations: 12.03 kB / 0.6938 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/0.1494, allocations: 50.73 kB / 0.6939 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.1512, allocations: 180.5 kB / 0.694 GB, free: 5.898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.1514, allocations: 212.1 kB / 0.6942 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1515, allocations: 12.7 kB / 0.6942 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.1515, allocations: 12.38 kB / 0.6943 GB, free: 5.629 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.1521, allocations: 312.8 kB / 0.6946 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1521, allocations: 0 / 0.6946 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.1522, allocations: 12 kB / 0.6946 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.1522, allocations: 4 kB / 0.6946 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006731/0.1529, allocations: 263.6 kB / 0.6948 GB, free: 5.016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.1543, allocations: 1.392 MB / 0.6962 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.1549, allocations: 190.5 kB / 0.6964 GB, free: 3.312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.1551, allocations: 80.81 kB / 0.6964 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1551, allocations: 3.984 kB / 0.6964 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1552, allocations: 38.5 kB / 0.6965 GB, free: 3.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.152e-06/0.1552, allocations: 0 / 0.6965 GB, free: 3.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007286/0.1559, allocations: 249.3 kB / 0.6967 GB, free: 2.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.156, allocations: 55.34 kB / 0.6968 GB, free: 2.863 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1561, allocations: 160.4 kB / 0.6969 GB, free: 2.699 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.1561, allocations: 29.7 kB / 0.697 GB, free: 2.664 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.1562, allocations: 124 kB / 0.6971 GB, free: 2.539 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.1562, allocations: 63.09 kB / 0.6971 GB, free: 2.477 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.1563, allocations: 25.7 kB / 0.6972 GB, free: 2.445 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.1564, allocations: 330.8 kB / 0.6975 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.1566, allocations: 68.42 kB / 0.6975 GB, free: 2.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.1568, allocations: 139.9 kB / 0.6977 GB, free: 1.875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.1573, allocations: 219.4 kB / 0.6979 GB, free: 1.629 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1573, allocations: 0 / 0.6979 GB, free: 1.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005657/0.1579, allocations: 253.1 kB / 0.6981 GB, free: 1.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1579, allocations: 10.19 kB / 0.6981 GB, free: 1.367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1579, allocations: 0 / 0.6981 GB, free: 1.367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1579, allocations: 4 kB / 0.6981 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.1583, allocations: 72.19 kB / 0.6982 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.1583, allocations: 4 kB / 0.6982 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.1585, allocations: 35.67 kB / 0.6982 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.1586, allocations: 11.98 kB / 0.6983 GB, free: 1.242 MB / 494.1 MB 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.000103/0.1587, allocations: 138.3 kB / 0.6984 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.1587, allocations: 15.81 kB / 0.6984 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006084/0.1593, allocations: 232.5 kB / 0.6986 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1593, allocations: 4 kB / 0.6986 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1594, allocations: 0 / 0.6986 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1594, allocations: 0 / 0.6986 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.1596, allocations: 253.5 kB / 0.6989 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1596, allocations: 0 / 0.6989 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.1599, allocations: 47.91 kB / 0.6989 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.1599, allocations: 4 kB / 0.6989 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1599, allocations: 3.984 kB / 0.6989 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.16, allocations: 4 kB / 0.6989 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.16, allocations: 4 kB / 0.6989 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/0.1605, allocations: 296.8 kB / 0.6992 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.27e-05/0.1606, allocations: 108.8 kB / 0.6993 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.1606, allocations: 4 kB / 0.6993 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.1609, allocations: 27.97 kB / 0.6993 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.1609, allocations: 7.984 kB / 0.6994 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.1609, allocations: 12 kB / 0.6994 GB, free: 4 kB / 494.1 MB Notification: Performance of sorting global known variables: time 8.403e-05/0.161, allocations: 117.4 kB / 0.6995 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.161, allocations: 0 / 0.6995 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003216/0.1614, allocations: 60 kB / 0.6995 GB, free: 15.83 MB / 0.4981 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.0008232/0.1622, allocations: 0.8663 MB / 0.7004 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004833/0.1627, allocations: 175.8 kB / 0.7006 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1627, allocations: 0.625 kB / 0.7006 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.1629, allocations: 91.88 kB / 0.7006 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.1634, allocations: 55.95 kB / 0.7007 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.1662, allocations: 2.247 MB / 0.7029 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.1665, allocations: 0.7173 MB / 0.7036 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003245/0.1668, allocations: 49.94 kB / 0.7036 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.1669, allocations: 47.41 kB / 0.7037 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1669, allocations: 0 / 0.7037 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4725/0.6395, allocations: 4.84 MB / 0.7084 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.6397, allocations: 254.5 kB / 0.7086 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.454, allocations: 2.406 kB / 0.7087 GB, free: 6.551 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)