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.0009458/0.0009458, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005853/0.005853, allocations: 169.1 kB / 16.26 MB, free: 6.652 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: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001722/0.001722, allocations: 266.2 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9364/0.9364, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004066, allocations: 13.81 kB / 0.5986 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1446, allocations: 88.54 MB / 0.6851 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.004879/0.1496, allocations: 4.361 MB / 0.6894 GB, free: 10.65 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.1523, allocations: 2.695 MB / 0.692 GB, free: 7.965 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.1524, allocations: 0 / 0.692 GB, free: 7.965 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.1527, allocations: 40.53 kB / 0.692 GB, free: 7.926 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.1529, allocations: 80.77 kB / 0.6921 GB, free: 7.848 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.154, allocations: 460.2 kB / 0.6926 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.1543, allocations: 315.8 kB / 0.6929 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.1543, allocations: 9.562 kB / 0.6929 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.1545, allocations: 107.6 kB / 0.693 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.1546, allocations: 95.64 kB / 0.6931 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.1547, allocations: 8 kB / 0.6931 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005928/0.1553, allocations: 371.2 kB / 0.6934 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.1553, allocations: 35.89 kB / 0.6935 GB, free: 6.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.276e-05/0.1554, allocations: 113.3 kB / 0.6936 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005133/0.156, allocations: 359.3 kB / 0.6939 GB, free: 6.012 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.156, allocations: 0 / 0.6939 GB, free: 6.012 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.156, allocations: 3.984 kB / 0.6939 GB, free: 6.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.156, allocations: 0 / 0.6939 GB, free: 6.008 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.0006473/0.1566, allocations: 475.2 kB / 0.6944 GB, free: 5.492 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1567, allocations: 8.031 kB / 0.6944 GB, free: 5.484 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.1568, allocations: 24.75 kB / 0.6944 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.157, allocations: 216.1 kB / 0.6946 GB, free: 5.211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1571, allocations: 12.7 kB / 0.6946 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.1571, allocations: 12.38 kB / 0.6946 GB, free: 5.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.1574, allocations: 256.8 kB / 0.6949 GB, free: 4.918 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1575, allocations: 3.984 kB / 0.6949 GB, free: 4.914 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.1575, allocations: 4 kB / 0.6949 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.1575, allocations: 8 kB / 0.6949 GB, free: 4.902 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004405/0.158, allocations: 427.3 kB / 0.6953 GB, free: 4.484 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.1591, allocations: 0.9566 MB / 0.6962 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.1594, allocations: 156.3 kB / 0.6964 GB, free: 3.277 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1595, allocations: 68.81 kB / 0.6964 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/0.1609, allocations: 1.821 MB / 0.6982 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1609, allocations: 34.56 kB / 0.6983 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/0.1609, allocations: 0 / 0.6983 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003112/0.1612, allocations: 151.2 kB / 0.6984 GB, free: 0.832 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1613, allocations: 55.34 kB / 0.6984 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.1614, allocations: 184.8 kB / 0.6986 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1615, allocations: 29.7 kB / 0.6987 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/0.1615, allocations: 131.8 kB / 0.6988 GB, free: 416 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.1616, allocations: 59.27 kB / 0.6988 GB, free: 356 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.1616, allocations: 25.72 kB / 0.6989 GB, free: 324 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1618, allocations: 322.8 kB / 0.6992 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-05/0.1618, allocations: 39.97 kB / 0.6992 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.162, allocations: 138.9 kB / 0.6993 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.1622, allocations: 197.5 kB / 0.6995 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1622, allocations: 4 kB / 0.6995 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003072/0.1625, allocations: 211.7 kB / 0.6997 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1626, allocations: 11.94 kB / 0.6997 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1626, allocations: 4 kB / 0.6997 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1626, allocations: 4 kB / 0.6998 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.1628, allocations: 59.84 kB / 0.6998 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.1628, allocations: 8.469 kB / 0.6998 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1629, allocations: 31.69 kB / 0.6998 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1629, allocations: 12 kB / 0.6999 GB, free: 15.18 MB / 0.4981 GB 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 0.0001086/0.163, allocations: 133.7 kB / 0.7 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.1631, allocations: 19.8 kB / 0.7 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.1634, allocations: 150.9 kB / 0.7001 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.1634, allocations: 7.938 kB / 0.7002 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1634, allocations: 0 / 0.7002 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1634, allocations: 4 kB / 0.7002 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.1637, allocations: 217.5 kB / 0.7004 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1637, allocations: 0 / 0.7004 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.48e-05/0.1638, allocations: 23.98 kB / 0.7004 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1638, allocations: 0 / 0.7004 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1638, allocations: 8 kB / 0.7004 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1638, allocations: 7.875 kB / 0.7004 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1638, allocations: 0 / 0.7004 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.164, allocations: 220 kB / 0.7006 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.1641, allocations: 116.9 kB / 0.7007 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.1642, allocations: 0 / 0.7007 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.1644, allocations: 23.92 kB / 0.7007 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.1644, allocations: 7.984 kB / 0.7008 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.1644, allocations: 19.92 kB / 0.7008 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.708e-05/0.1645, allocations: 123.2 kB / 0.7009 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1645, allocations: 0 / 0.7009 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00037/0.1649, allocations: 83.92 kB / 0.701 GB, free: 13.95 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.0003258/0.1652, allocations: 175.1 kB / 0.7011 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.1655, allocations: 116.9 kB / 0.7013 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1655, allocations: 0 / 0.7013 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.346e-05/0.1655, allocations: 43.92 kB / 0.7013 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.166, allocations: 54.88 kB / 0.7013 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.1666, allocations: 441.3 kB / 0.7018 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.1669, allocations: 0.7131 MB / 0.7025 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.1671, allocations: 45.77 kB / 0.7025 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.1671, allocations: 27.42 kB / 0.7025 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1671, allocations: 0 / 0.7025 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.006744/0.1739, allocations: 3.304 MB / 0.7058 GB, free: 9.027 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)