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.001308/0.001308, 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.001287/0.001287, allocations: 196.8 kB / 16.14 MB, free: 6.715 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.534/1.534, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00277/0.00277, allocations: 278.9 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.09/1.09, allocations: 178.6 MB / 0.5068 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004279/0.004279, allocations: 97.62 kB / 0.6057 GB, free: 24.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.17, allocations: 89.15 MB / 0.6928 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.006592/0.1766, allocations: 4.747 MB / 0.6974 GB, free: 52 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003111/0.1798, allocations: 2.718 MB / 0.7001 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.1799, allocations: 0 / 0.7001 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.1801, allocations: 47.72 kB / 0.7001 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.1804, allocations: 75.5 kB / 0.7002 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009944/0.1814, allocations: 469.5 kB / 0.7006 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.1817, allocations: 311.8 kB / 0.7009 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.1817, allocations: 9.562 kB / 0.7009 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.1819, allocations: 115.5 kB / 0.701 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1821, allocations: 95.61 kB / 0.7011 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.1821, allocations: 4 kB / 0.7011 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006847/0.1828, allocations: 375.1 kB / 0.7015 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.65e-05/0.1829, allocations: 35.83 kB / 0.7015 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.183, allocations: 83.64 kB / 0.7016 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005854/0.1836, allocations: 363.3 kB / 0.702 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1836, allocations: 0 / 0.702 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.21e-07/0.1836, allocations: 0 / 0.702 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1836, allocations: 0 / 0.702 GB, free: 11.38 MB / 0.4981 GB 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.0007729/0.1844, allocations: 0.501 MB / 0.7025 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1844, allocations: 8.031 kB / 0.7025 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.1846, allocations: 20.75 kB / 0.7025 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1849, allocations: 216 kB / 0.7027 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1849, allocations: 20.62 kB / 0.7027 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.1849, allocations: 16.38 kB / 0.7027 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.1853, allocations: 252.1 kB / 0.703 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1854, allocations: 0 / 0.703 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.1854, allocations: 8 kB / 0.703 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.1854, allocations: 4 kB / 0.703 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.186, allocations: 427.5 kB / 0.7034 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.1872, allocations: 0.9488 MB / 0.7043 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.1875, allocations: 161.4 kB / 0.7045 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.1876, allocations: 66.19 kB / 0.7045 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/0.1892, allocations: 1.825 MB / 0.7063 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1893, allocations: 38.56 kB / 0.7063 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.1893, allocations: 0 / 0.7063 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003518/0.1896, allocations: 149.3 kB / 0.7065 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.1897, allocations: 55.34 kB / 0.7065 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.1899, allocations: 174.9 kB / 0.7067 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.1899, allocations: 29.7 kB / 0.7067 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/0.19, allocations: 135.8 kB / 0.7069 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.1901, allocations: 63.17 kB / 0.7069 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.692e-05/0.1901, allocations: 57.61 kB / 0.707 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1903, allocations: 322.8 kB / 0.7073 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.125e-05/0.1904, allocations: 35.98 kB / 0.7073 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.1905, allocations: 141.6 kB / 0.7075 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.1908, allocations: 199.6 kB / 0.7076 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1908, allocations: 0 / 0.7076 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003512/0.1912, allocations: 205.2 kB / 0.7078 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1912, allocations: 11.94 kB / 0.7079 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1912, allocations: 4 kB / 0.7079 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1912, allocations: 7.938 kB / 0.7079 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.1914, allocations: 59.84 kB / 0.7079 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.1915, allocations: 12.45 kB / 0.7079 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.1916, allocations: 31.69 kB / 0.708 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.1916, allocations: 16 kB / 0.708 GB, free: 4.492 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.0001187/0.1917, allocations: 133.7 kB / 0.7081 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.1918, allocations: 15.81 kB / 0.7081 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.1921, allocations: 144.9 kB / 0.7083 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.1922, allocations: 11.92 kB / 0.7083 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1922, allocations: 3.938 kB / 0.7083 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1922, allocations: 4 kB / 0.7083 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.1925, allocations: 221.4 kB / 0.7085 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1925, allocations: 0 / 0.7085 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.1926, allocations: 23.98 kB / 0.7085 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1926, allocations: 3.938 kB / 0.7085 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1926, allocations: 8 kB / 0.7085 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1926, allocations: 3.938 kB / 0.7085 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1926, allocations: 0 / 0.7085 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.1929, allocations: 227.2 kB / 0.7087 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/0.193, allocations: 105 kB / 0.7088 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.193, allocations: 0 / 0.7088 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.1933, allocations: 19.92 kB / 0.7089 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.1933, allocations: 7.984 kB / 0.7089 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.1933, allocations: 19.98 kB / 0.7089 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000106/0.1934, allocations: 120 kB / 0.709 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1934, allocations: 0 / 0.709 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003917/0.1938, allocations: 79.84 kB / 0.7091 GB, free: 3.266 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.0003507/0.1942, allocations: 179.1 kB / 0.7092 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.1944, allocations: 120.8 kB / 0.7094 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1945, allocations: 0 / 0.7094 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.349e-05/0.1945, allocations: 45.75 kB / 0.7094 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.195, allocations: 57.86 kB / 0.7095 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007214/0.1957, allocations: 400.3 kB / 0.7098 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1961, allocations: 0.7092 MB / 0.7105 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.1963, allocations: 53.73 kB / 0.7106 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.1963, allocations: 27.44 kB / 0.7106 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1964, allocations: 0 / 0.7106 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of Templates: time 0.007353/0.2037, allocations: 3.305 MB / 0.7138 GB, free: 14.37 MB / 0.5137 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)