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: translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009865/0.0009866, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001261/0.001261, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00178/0.00178, allocations: 266.2 kB / 291.3 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9388/0.9388, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003928, allocations: 14.12 kB / 0.598 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1336, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003669/0.1373, allocations: 3.576 MB / 0.688 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.1395, allocations: 2.246 MB / 0.6902 GB, free: 9.621 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.985e-05/0.1396, allocations: 4.562 kB / 0.6902 GB, free: 9.617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.1398, allocations: 44.38 kB / 0.6902 GB, free: 9.574 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.14, allocations: 97.42 kB / 0.6903 GB, free: 9.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008153/0.1409, allocations: 425.9 kB / 0.6907 GB, free: 9.074 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.1412, allocations: 291.8 kB / 0.691 GB, free: 8.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.1412, allocations: 14.27 kB / 0.691 GB, free: 8.777 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.1414, allocations: 103.6 kB / 0.6911 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.1415, allocations: 93.38 kB / 0.6912 GB, free: 8.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1415, allocations: 8 kB / 0.6912 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000626/0.1422, allocations: 355.3 kB / 0.6915 GB, free: 8.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.1422, allocations: 40.69 kB / 0.6916 GB, free: 8.191 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.1423, allocations: 53.64 kB / 0.6916 GB, free: 8.133 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.1426, allocations: 264.3 kB / 0.6919 GB, free: 7.875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1426, allocations: 0 / 0.6919 GB, free: 7.875 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1426, allocations: 0.5312 kB / 0.6919 GB, free: 7.875 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.1427, allocations: 0 / 0.6919 GB, free: 7.875 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.0005945/0.1433, allocations: 468.4 kB / 0.6923 GB, free: 7.367 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.1433, allocations: 8.875 kB / 0.6923 GB, free: 7.359 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.1451, allocations: 195.5 kB / 0.6925 GB, free: 7.168 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.1454, allocations: 210.8 kB / 0.6927 GB, free: 6.922 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.1454, allocations: 12.27 kB / 0.6927 GB, free: 6.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.1454, allocations: 16 kB / 0.6927 GB, free: 6.895 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005719/0.146, allocations: 304.9 kB / 0.693 GB, free: 6.562 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.146, allocations: 0 / 0.693 GB, free: 6.562 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.1461, allocations: 15.98 kB / 0.6931 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.1461, allocations: 11.89 kB / 0.6931 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006467/0.1467, allocations: 263.6 kB / 0.6933 GB, free: 6.277 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.1482, allocations: 1.385 MB / 0.6947 GB, free: 4.777 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.1488, allocations: 194.4 kB / 0.6949 GB, free: 4.578 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.149, allocations: 76.81 kB / 0.6949 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.149, allocations: 7.953 kB / 0.6949 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.149, allocations: 38.56 kB / 0.695 GB, free: 4.445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.1491, allocations: 4 kB / 0.695 GB, free: 4.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006853/0.1497, allocations: 241.2 kB / 0.6952 GB, free: 4.199 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.1498, allocations: 51.41 kB / 0.6953 GB, free: 4.137 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1499, allocations: 156.9 kB / 0.6954 GB, free: 3.977 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1499, allocations: 33.7 kB / 0.6954 GB, free: 3.938 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.15, allocations: 135.9 kB / 0.6956 GB, free: 3.801 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.1501, allocations: 59.11 kB / 0.6956 GB, free: 3.742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.1501, allocations: 4 kB / 0.6956 GB, free: 3.738 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.1502, allocations: 326.8 kB / 0.6959 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.1504, allocations: 64.41 kB / 0.696 GB, free: 3.344 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.1506, allocations: 143.9 kB / 0.6961 GB, free: 3.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.1508, allocations: 81.94 kB / 0.6962 GB, free: 3.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1509, allocations: 0 / 0.6962 GB, free: 3.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005565/0.1514, allocations: 253.1 kB / 0.6965 GB, free: 2.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1514, allocations: 10.3 kB / 0.6965 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1515, allocations: 4 kB / 0.6965 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1515, allocations: 4 kB / 0.6965 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.1518, allocations: 60.2 kB / 0.6965 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1518, allocations: 11.98 kB / 0.6965 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.1521, allocations: 35.77 kB / 0.6966 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.1521, allocations: 8 kB / 0.6966 GB, free: 2.711 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.1522, allocations: 130.4 kB / 0.6967 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.1523, allocations: 15.81 kB / 0.6967 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000591/0.1529, allocations: 224.7 kB / 0.6969 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1529, allocations: 8 kB / 0.6969 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1529, allocations: 3.953 kB / 0.6969 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1529, allocations: 0 / 0.6969 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.1532, allocations: 241.5 kB / 0.6972 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1532, allocations: 0 / 0.6972 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.1535, allocations: 55.89 kB / 0.6972 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1535, allocations: 0 / 0.6972 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.1535, allocations: 0 / 0.6972 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.1535, allocations: 7.953 kB / 0.6972 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1535, allocations: 4 kB / 0.6972 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.154, allocations: 291.2 kB / 0.6975 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.74e-05/0.1541, allocations: 108.9 kB / 0.6976 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.1542, allocations: 4 kB / 0.6976 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.1544, allocations: 27.92 kB / 0.6977 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.1545, allocations: 19.81 kB / 0.6977 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.1545, allocations: 8 kB / 0.6977 GB, free: 1.484 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.008e-05/0.1546, allocations: 124.9 kB / 0.6978 GB, free: 1.363 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1546, allocations: 0 / 0.6978 GB, free: 1.363 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.1549, allocations: 55.98 kB / 0.6979 GB, free: 1.309 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 (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.0001829/0.1551, allocations: 144.8 kB / 0.698 GB, free: 1.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004803/0.1556, allocations: 182 kB / 0.6982 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1556, allocations: 3.938 kB / 0.6982 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.1558, allocations: 87.88 kB / 0.6983 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.1563, allocations: 64.72 kB / 0.6983 GB, free: 0.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008403/0.1572, allocations: 489.6 kB / 0.6988 GB, free: 332 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.1574, allocations: 0.7176 MB / 0.6995 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003528/0.1578, allocations: 49.94 kB / 0.6995 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/0.1579, allocations: 27.42 kB / 0.6996 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1579, allocations: 0 / 0.6996 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of Templates: time 0.006125/0.164, allocations: 3.134 MB / 0.7026 GB, free: 12.45 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (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 & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)