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.0009823/0.0009856, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001196/0.001196, allocations: 168.7 kB / 15.95 MB, free: 204 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.295/1.295, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001739/0.001739, allocations: 279.1 kB / 291.4 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9446/0.9446, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004115, allocations: 18.47 kB / 0.598 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.154, allocations: 88.54 MB / 0.6845 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.00452/0.1585, allocations: 4.203 MB / 0.6886 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002482/0.161, allocations: 2.483 MB / 0.691 GB, free: 8.812 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.071e-05/0.1611, allocations: 0.8125 kB / 0.691 GB, free: 8.812 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.1614, allocations: 31.81 kB / 0.691 GB, free: 8.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.1616, allocations: 96.72 kB / 0.6911 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009389/0.1626, allocations: 407.2 kB / 0.6915 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.1628, allocations: 259.9 kB / 0.6918 GB, free: 8.039 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.1629, allocations: 13.55 kB / 0.6918 GB, free: 8.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.1631, allocations: 107.6 kB / 0.6919 GB, free: 7.922 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.1632, allocations: 91.66 kB / 0.692 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.1632, allocations: 8 kB / 0.692 GB, free: 7.824 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005464/0.1638, allocations: 271.3 kB / 0.6922 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.1639, allocations: 35.89 kB / 0.6923 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.1639, allocations: 53.64 kB / 0.6923 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.1642, allocations: 219.8 kB / 0.6925 GB, free: 7.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1642, allocations: 0 / 0.6925 GB, free: 7.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1643, allocations: 0 / 0.6925 GB, free: 7.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1643, allocations: 0 / 0.6925 GB, free: 7.25 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.0006465/0.1649, allocations: 479.1 kB / 0.693 GB, free: 6.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.165, allocations: 8.031 kB / 0.693 GB, free: 6.723 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.1651, allocations: 27.77 kB / 0.693 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.1653, allocations: 206.8 kB / 0.6932 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1654, allocations: 12.33 kB / 0.6932 GB, free: 6.441 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1654, allocations: 16 kB / 0.6932 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.1657, allocations: 244.7 kB / 0.6935 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1658, allocations: 3.984 kB / 0.6935 GB, free: 6.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.1658, allocations: 15.98 kB / 0.6935 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.1658, allocations: 7.953 kB / 0.6935 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.1663, allocations: 427.3 kB / 0.6939 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.1674, allocations: 0.9488 MB / 0.6948 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.1676, allocations: 156.3 kB / 0.695 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.914e-05/0.1677, allocations: 60.88 kB / 0.695 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00126/0.169, allocations: 1.825 MB / 0.6968 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.169, allocations: 38.56 kB / 0.6969 GB, free: 2.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.169, allocations: 0 / 0.6969 GB, free: 2.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003077/0.1694, allocations: 147 kB / 0.697 GB, free: 2.082 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.1694, allocations: 55.41 kB / 0.6971 GB, free: 2.016 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.1696, allocations: 168.9 kB / 0.6972 GB, free: 1.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.1696, allocations: 29.7 kB / 0.6972 GB, free: 1.805 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.1697, allocations: 147.7 kB / 0.6974 GB, free: 1.656 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.1697, allocations: 55.2 kB / 0.6974 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.1697, allocations: 4 kB / 0.6974 GB, free: 1.598 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1699, allocations: 322.8 kB / 0.6977 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-05/0.1699, allocations: 35.97 kB / 0.6978 GB, free: 1.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1701, allocations: 142.9 kB / 0.6979 GB, free: 1.051 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.725e-05/0.1702, allocations: 51.98 kB / 0.698 GB, free: 1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1702, allocations: 4 kB / 0.698 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003082/0.1705, allocations: 223.1 kB / 0.6982 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1705, allocations: 4 kB / 0.6982 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1705, allocations: 4 kB / 0.6982 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1706, allocations: 8.469 kB / 0.6982 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.1707, allocations: 51.92 kB / 0.6982 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.1708, allocations: 7.984 kB / 0.6983 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1709, allocations: 31.69 kB / 0.6983 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1709, allocations: 12 kB / 0.6983 GB, free: 0.6562 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.171, allocations: 133.7 kB / 0.6984 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.171, allocations: 15.86 kB / 0.6984 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.1713, allocations: 166.9 kB / 0.6986 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.1714, allocations: 4 kB / 0.6986 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1714, allocations: 4 kB / 0.6986 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1714, allocations: 0 / 0.6986 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.1716, allocations: 213.5 kB / 0.6988 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1716, allocations: 0 / 0.6988 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.165e-05/0.1717, allocations: 31.92 kB / 0.6988 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1717, allocations: 3.953 kB / 0.6988 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1717, allocations: 0 / 0.6988 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1717, allocations: 4 kB / 0.6988 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1718, allocations: 0 / 0.6988 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.172, allocations: 220.5 kB / 0.6991 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.2e-05/0.1721, allocations: 108.9 kB / 0.6992 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.1721, allocations: 7.953 kB / 0.6992 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.1723, allocations: 15.98 kB / 0.6992 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.1723, allocations: 15.98 kB / 0.6992 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.1724, allocations: 8 kB / 0.6992 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.603e-05/0.1725, allocations: 123.2 kB / 0.6993 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1725, allocations: 3.938 kB / 0.6993 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003816/0.1729, allocations: 83.92 kB / 0.6994 GB, free: 15.43 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 (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.0002416/0.1731, allocations: 162 kB / 0.6996 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.1733, allocations: 127.6 kB / 0.6997 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1733, allocations: 0 / 0.6997 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.539e-05/0.1734, allocations: 48.61 kB / 0.6997 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.1739, allocations: 50.88 kB / 0.6998 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006548/0.1745, allocations: 427.4 kB / 0.7002 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.1748, allocations: 0.7211 MB / 0.7009 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001664/0.175, allocations: 45.75 kB / 0.7009 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.175, allocations: 23.42 kB / 0.701 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.175, allocations: 0 / 0.701 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.006344/0.1814, allocations: 3.194 MB / 0.7041 GB, free: 10.63 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)