Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001042/0.001042, allocations: 190.5 kB / 16.14 MB, free: 6.707 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 282.2 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9337/0.9337, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 87.38 kB / 0.5945 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1384, allocations: 86.99 MB / 0.6794 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.005757/0.1442, allocations: 4.747 MB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.147, allocations: 2.726 MB / 0.6867 GB, free: 9.711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.1471, allocations: 0 / 0.6867 GB, free: 9.711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.1473, allocations: 47.73 kB / 0.6868 GB, free: 9.664 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.1475, allocations: 83.48 kB / 0.6868 GB, free: 9.582 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009049/0.1484, allocations: 457.1 kB / 0.6873 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.1487, allocations: 311.8 kB / 0.6876 GB, free: 8.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.1487, allocations: 9.562 kB / 0.6876 GB, free: 8.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.1489, allocations: 107.6 kB / 0.6877 GB, free: 8.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.149, allocations: 91.61 kB / 0.6878 GB, free: 8.629 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.1491, allocations: 4 kB / 0.6878 GB, free: 8.625 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006008/0.1497, allocations: 383.1 kB / 0.6881 GB, free: 8.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.991e-05/0.1497, allocations: 39.83 kB / 0.6882 GB, free: 8.211 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.1499, allocations: 83.64 kB / 0.6883 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005299/0.1504, allocations: 363.2 kB / 0.6886 GB, free: 7.773 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1504, allocations: 0 / 0.6886 GB, free: 7.773 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1504, allocations: 0 / 0.6886 GB, free: 7.773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1504, allocations: 0 / 0.6886 GB, free: 7.773 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.0006619/0.1511, allocations: 0.4993 MB / 0.6891 GB, free: 7.227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.1511, allocations: 12.03 kB / 0.6891 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.1513, allocations: 24.75 kB / 0.6891 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1515, allocations: 204.2 kB / 0.6893 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1515, allocations: 16.64 kB / 0.6893 GB, free: 6.938 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1516, allocations: 16.38 kB / 0.6894 GB, free: 6.922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.1519, allocations: 252.8 kB / 0.6896 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.152, allocations: 4 kB / 0.6896 GB, free: 6.652 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.152, allocations: 8 kB / 0.6896 GB, free: 6.645 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.152, allocations: 4 kB / 0.6896 GB, free: 6.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005748/0.1526, allocations: 435.3 kB / 0.69 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1537, allocations: 0.9449 MB / 0.691 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.154, allocations: 162.6 kB / 0.6911 GB, free: 5.016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.937e-05/0.1541, allocations: 64.88 kB / 0.6912 GB, free: 4.949 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/0.1554, allocations: 1.833 MB / 0.693 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1554, allocations: 30.56 kB / 0.693 GB, free: 2.719 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.1554, allocations: 0 / 0.693 GB, free: 2.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003084/0.1557, allocations: 152.1 kB / 0.6931 GB, free: 2.566 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.1558, allocations: 55.34 kB / 0.6932 GB, free: 2.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1559, allocations: 176.8 kB / 0.6934 GB, free: 2.316 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.156, allocations: 29.7 kB / 0.6934 GB, free: 2.281 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.156, allocations: 135.8 kB / 0.6935 GB, free: 2.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.1561, allocations: 59.19 kB / 0.6936 GB, free: 2.086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/0.1562, allocations: 49.7 kB / 0.6936 GB, free: 2.031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.1563, allocations: 322.8 kB / 0.6939 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-05/0.1563, allocations: 31.98 kB / 0.694 GB, free: 1.676 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.1565, allocations: 151.4 kB / 0.6941 GB, free: 1.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.1567, allocations: 199.3 kB / 0.6943 GB, free: 1.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.1567, allocations: 4 kB / 0.6943 GB, free: 1.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003021/0.157, allocations: 213.2 kB / 0.6945 GB, free: 1.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.157, allocations: 8 kB / 0.6945 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.157, allocations: 4 kB / 0.6945 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1571, allocations: 4 kB / 0.6945 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.1572, allocations: 59.78 kB / 0.6946 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1572, allocations: 8 kB / 0.6946 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1574, allocations: 28.12 kB / 0.6946 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.1574, allocations: 20 kB / 0.6946 GB, free: 0.8906 MB / 494.1 MB 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 9.727e-05/0.1575, allocations: 137.6 kB / 0.6948 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.1575, allocations: 15.81 kB / 0.6948 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.1578, allocations: 155 kB / 0.6949 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.1579, allocations: 3.938 kB / 0.6949 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1579, allocations: 0 / 0.6949 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1579, allocations: 3.984 kB / 0.6949 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.1581, allocations: 213.5 kB / 0.6951 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1581, allocations: 0 / 0.6951 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.139e-05/0.1582, allocations: 27.98 kB / 0.6952 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1582, allocations: 7.875 kB / 0.6952 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.1582, allocations: 4 kB / 0.6952 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1582, allocations: 3.938 kB / 0.6952 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1582, allocations: 0 / 0.6952 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.1585, allocations: 225.1 kB / 0.6954 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-05/0.1586, allocations: 104.9 kB / 0.6955 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.1586, allocations: 8 kB / 0.6955 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.1588, allocations: 15.92 kB / 0.6955 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.1588, allocations: 15.98 kB / 0.6955 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.1589, allocations: 7.984 kB / 0.6955 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.367e-05/0.159, allocations: 123.2 kB / 0.6956 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.159, allocations: 0 / 0.6956 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003567/0.1593, allocations: 75.94 kB / 0.6957 GB, free: 15.68 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 (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.0002892/0.1596, allocations: 178.2 kB / 0.6959 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.1598, allocations: 118.8 kB / 0.696 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1598, allocations: 4.062 kB / 0.696 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.691e-05/0.1599, allocations: 47.91 kB / 0.6961 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.1604, allocations: 51.95 kB / 0.6961 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.161, allocations: 400.3 kB / 0.6965 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.1612, allocations: 0.7092 MB / 0.6972 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001666/0.1614, allocations: 57.67 kB / 0.6972 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.1615, allocations: 27.44 kB / 0.6973 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1615, allocations: 0 / 0.6973 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of Templates: time 0.006145/0.1676, allocations: 3.312 MB / 0.7005 GB, free: 10.77 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1)