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.001765/0.001765, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001889/0.001889, allocations: 195.6 kB / 16.14 MB, free: 6.645 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.5/1.5, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00261/0.00261, allocations: 282.3 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 178.6 MB / 0.5068 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004371/0.004371, allocations: 92.7 kB / 0.6057 GB, free: 25.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1881, allocations: 89.17 MB / 0.6928 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005814/0.1939, allocations: 4.101 MB / 0.6968 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.197, allocations: 2.461 MB / 0.6992 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.197, allocations: 0 / 0.6992 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.1973, allocations: 35.81 kB / 0.6992 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.1976, allocations: 99.41 kB / 0.6993 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.1988, allocations: 473.5 kB / 0.6998 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.1992, allocations: 339.7 kB / 0.7001 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.1993, allocations: 13.55 kB / 0.7001 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.1995, allocations: 99.69 kB / 0.7002 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.1997, allocations: 107.6 kB / 0.7003 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.1997, allocations: 4 kB / 0.7003 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009021/0.2006, allocations: 463 kB / 0.7008 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.351e-05/0.2007, allocations: 39.88 kB / 0.7008 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.2008, allocations: 83.66 kB / 0.7009 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006921/0.2015, allocations: 407.2 kB / 0.7013 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2015, allocations: 4 kB / 0.7013 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.82e-07/0.2015, allocations: 0 / 0.7013 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2016, allocations: 0 / 0.7013 GB, free: 12.15 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.0007986/0.2024, allocations: 0.5109 MB / 0.7018 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2024, allocations: 8.031 kB / 0.7018 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.2046, allocations: 184.5 kB / 0.702 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.2049, allocations: 208.2 kB / 0.7022 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.2049, allocations: 12.7 kB / 0.7022 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.2049, allocations: 12.38 kB / 0.7022 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/0.2056, allocations: 304.4 kB / 0.7025 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2057, allocations: 3.938 kB / 0.7025 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.2057, allocations: 8 kB / 0.7025 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.2057, allocations: 7.938 kB / 0.7025 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008356/0.2066, allocations: 263.6 kB / 0.7027 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.2084, allocations: 1.392 MB / 0.7041 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007011/0.2091, allocations: 186.4 kB / 0.7043 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.2094, allocations: 84.84 kB / 0.7044 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.2094, allocations: 8 kB / 0.7044 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.2095, allocations: 30.56 kB / 0.7044 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.2095, allocations: 0 / 0.7044 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0008593/0.2104, allocations: 255.3 kB / 0.7046 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.2104, allocations: 63.25 kB / 0.7047 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.2106, allocations: 154.1 kB / 0.7048 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.2106, allocations: 29.7 kB / 0.7049 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.2107, allocations: 128 kB / 0.705 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/0.2108, allocations: 67.08 kB / 0.7051 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.2109, allocations: 45.94 kB / 0.7051 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2111, allocations: 322.8 kB / 0.7054 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.2114, allocations: 72.41 kB / 0.7055 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.2117, allocations: 138.3 kB / 0.7056 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/0.2122, allocations: 227.9 kB / 0.7058 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2122, allocations: 0 / 0.7058 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000632/0.2128, allocations: 249.2 kB / 0.7061 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.2129, allocations: 8 kB / 0.7061 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2129, allocations: 0 / 0.7061 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.2129, allocations: 4 kB / 0.7061 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.2133, allocations: 72.2 kB / 0.7061 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.2133, allocations: 7.938 kB / 0.7062 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.2136, allocations: 31.73 kB / 0.7062 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.2137, allocations: 8 kB / 0.7062 GB, free: 6.73 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.2138, allocations: 137.6 kB / 0.7063 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.2139, allocations: 11.91 kB / 0.7063 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006759/0.2145, allocations: 232 kB / 0.7066 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.2146, allocations: 7.984 kB / 0.7066 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2146, allocations: 0 / 0.7066 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2146, allocations: 0 / 0.7066 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.2149, allocations: 245.4 kB / 0.7068 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.2149, allocations: 0 / 0.7068 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.2153, allocations: 47.84 kB / 0.7068 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.2153, allocations: 4 kB / 0.7068 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.2153, allocations: 8 kB / 0.7069 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2153, allocations: 0 / 0.7069 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2153, allocations: 7.938 kB / 0.7069 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005879/0.2159, allocations: 297.3 kB / 0.7071 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.2161, allocations: 100.9 kB / 0.7072 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.2161, allocations: 8 kB / 0.7073 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.2164, allocations: 19.98 kB / 0.7073 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.2164, allocations: 15.92 kB / 0.7073 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.2165, allocations: 11.98 kB / 0.7073 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001032/0.2166, allocations: 113.3 kB / 0.7074 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2166, allocations: 0 / 0.7074 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003843/0.217, allocations: 68.06 kB / 0.7075 GB, free: 5.324 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0002531/0.2172, allocations: 131.2 kB / 0.7076 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005577/0.2178, allocations: 180.4 kB / 0.7078 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.2178, allocations: 4 kB / 0.7078 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.2181, allocations: 83.88 kB / 0.7079 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.2186, allocations: 61.72 kB / 0.7079 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.2197, allocations: 469 kB / 0.7084 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.2201, allocations: 0.7137 MB / 0.7091 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000357/0.2204, allocations: 49.94 kB / 0.7091 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.511e-05/0.2205, allocations: 27.42 kB / 0.7091 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2205, allocations: 0 / 0.7091 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of Templates: time 0.007457/0.228, allocations: 3.258 MB / 0.7123 GB, free: 396 kB / 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)