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.001311/0.001311, 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.001165/0.001165, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.159/1.159, allocations: 222.9 MB / 239.9 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00188/0.00188, allocations: 286.8 kB / 290.4 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8408/0.8408, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 98.47 kB / 0.5948 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1268, allocations: 86.97 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004436/0.1313, allocations: 4.094 MB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.1335, allocations: 2.411 MB / 0.6861 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.1335, allocations: 4 kB / 0.6861 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.1337, allocations: 39.8 kB / 0.6861 GB, free: 10.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.134, allocations: 99.41 kB / 0.6862 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009025/0.1349, allocations: 488.9 kB / 0.6867 GB, free: 9.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.1351, allocations: 259.8 kB / 0.6869 GB, free: 9.574 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.1352, allocations: 21.53 kB / 0.6869 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.1353, allocations: 111.7 kB / 0.6871 GB, free: 9.445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1355, allocations: 99.59 kB / 0.6872 GB, free: 9.348 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1355, allocations: 11.94 kB / 0.6872 GB, free: 9.336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000595/0.1361, allocations: 459.2 kB / 0.6876 GB, free: 8.887 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.754e-05/0.1361, allocations: 47.81 kB / 0.6876 GB, free: 8.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.386e-05/0.1362, allocations: 79.66 kB / 0.6877 GB, free: 8.762 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.1367, allocations: 415.3 kB / 0.6881 GB, free: 8.355 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1367, allocations: 3.938 kB / 0.6881 GB, free: 8.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1367, allocations: 0 / 0.6881 GB, free: 8.352 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1367, allocations: 0 / 0.6881 GB, free: 8.352 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.0006066/0.1373, allocations: 0.5109 MB / 0.6886 GB, free: 7.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.1374, allocations: 11.97 kB / 0.6886 GB, free: 7.781 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.727e-05/0.1374, allocations: 54.73 kB / 0.6887 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.1392, allocations: 176.5 kB / 0.6889 GB, free: 7.547 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.1394, allocations: 208.2 kB / 0.6891 GB, free: 7.305 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.1395, allocations: 12.7 kB / 0.6891 GB, free: 7.293 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.1395, allocations: 16.38 kB / 0.6891 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005545/0.1401, allocations: 304.8 kB / 0.6894 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1401, allocations: 4 kB / 0.6894 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.1401, allocations: 8 kB / 0.6894 GB, free: 6.934 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.1401, allocations: 4 kB / 0.6894 GB, free: 6.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006325/0.1408, allocations: 267.5 kB / 0.6896 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.1421, allocations: 1.389 MB / 0.691 GB, free: 5.164 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005653/0.1427, allocations: 197.6 kB / 0.6912 GB, free: 4.965 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.1429, allocations: 86.88 kB / 0.6913 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1429, allocations: 4 kB / 0.6913 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.1429, allocations: 34.56 kB / 0.6913 GB, free: 4.832 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.133e-06/0.143, allocations: 3.938 kB / 0.6913 GB, free: 4.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006519/0.1436, allocations: 245.4 kB / 0.6915 GB, free: 4.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.1436, allocations: 55.34 kB / 0.6916 GB, free: 4.516 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1437, allocations: 163.9 kB / 0.6918 GB, free: 4.348 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.1438, allocations: 29.7 kB / 0.6918 GB, free: 4.312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.1438, allocations: 128 kB / 0.6919 GB, free: 4.184 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.1439, allocations: 63.09 kB / 0.692 GB, free: 4.121 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/0.144, allocations: 45.94 kB / 0.692 GB, free: 4.066 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.572e-05/0.1441, allocations: 326.8 kB / 0.6923 GB, free: 3.738 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.1443, allocations: 72.41 kB / 0.6924 GB, free: 3.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.1445, allocations: 136 kB / 0.6925 GB, free: 3.504 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.1449, allocations: 219.9 kB / 0.6927 GB, free: 3.258 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1449, allocations: 0 / 0.6927 GB, free: 3.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005158/0.1454, allocations: 253.1 kB / 0.693 GB, free: 3.004 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.1455, allocations: 4 kB / 0.693 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.1455, allocations: 4 kB / 0.693 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.1455, allocations: 4 kB / 0.693 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.1458, allocations: 68.2 kB / 0.693 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1458, allocations: 7.938 kB / 0.6931 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.1461, allocations: 35.67 kB / 0.6931 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.1461, allocations: 12 kB / 0.6931 GB, free: 2.871 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 9.54e-05/0.1462, allocations: 134.4 kB / 0.6932 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.1463, allocations: 11.91 kB / 0.6932 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005605/0.1468, allocations: 228.6 kB / 0.6935 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1468, allocations: 3.984 kB / 0.6935 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1468, allocations: 7.938 kB / 0.6935 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1469, allocations: 3.984 kB / 0.6935 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.1471, allocations: 249.3 kB / 0.6937 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1471, allocations: 4 kB / 0.6937 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.1474, allocations: 43.91 kB / 0.6938 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1474, allocations: 0 / 0.6938 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.1475, allocations: 8 kB / 0.6938 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1475, allocations: 0 / 0.6938 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1475, allocations: 4 kB / 0.6938 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.148, allocations: 299.2 kB / 0.694 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.49e-05/0.148, allocations: 104.8 kB / 0.6941 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.1481, allocations: 4 kB / 0.6942 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.1484, allocations: 19.98 kB / 0.6942 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.1484, allocations: 11.98 kB / 0.6942 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.1484, allocations: 11.98 kB / 0.6942 GB, free: 1.645 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.327e-05/0.1485, allocations: 124.7 kB / 0.6943 GB, free: 1.523 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1485, allocations: 0 / 0.6943 GB, free: 1.523 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.1488, allocations: 60 kB / 0.6944 GB, free: 1.465 MB / 494.1 MB 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.0007524/0.1496, allocations: 0.8722 MB / 0.6952 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004537/0.15, allocations: 181.6 kB / 0.6954 GB, free: 404 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.15, allocations: 0.625 kB / 0.6954 GB, free: 404 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.1503, allocations: 94.3 kB / 0.6955 GB, free: 312 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.1507, allocations: 51.94 kB / 0.6955 GB, free: 260 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.1533, allocations: 2.216 MB / 0.6977 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.1536, allocations: 0.7212 MB / 0.6984 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003316/0.1539, allocations: 49.92 kB / 0.6985 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.154, allocations: 47.42 kB / 0.6985 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.154, allocations: 0 / 0.6985 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2968/0.4509, allocations: 5.065 MB / 0.7034 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.4511, allocations: 251.7 kB / 0.7037 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.176, allocations: 3.938 kB / 0.7037 GB, free: 7.977 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)