Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001636/0.001636, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.001873/0.001873, allocations: 198.3 kB / 17.3 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.797/1.797, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 71.89 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2334, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.3857/0.6192, allocations: 4.027 MB / 0.7887 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002054/0.6213, allocations: 2.401 MB / 0.7911 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.969e-05/0.6214, allocations: 2.625 kB / 0.7911 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.6217, allocations: 51.25 kB / 0.7911 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.6219, allocations: 97.95 kB / 0.7912 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.623, allocations: 0.4889 MB / 0.7917 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.6233, allocations: 263.8 kB / 0.7919 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.6233, allocations: 15.53 kB / 0.7919 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.6235, allocations: 115.7 kB / 0.7921 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.6236, allocations: 90.97 kB / 0.7921 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.6237, allocations: 9.062 kB / 0.7922 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007198/0.6244, allocations: 439.4 kB / 0.7926 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.6245, allocations: 42.09 kB / 0.7926 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.236e-05/0.6246, allocations: 84.31 kB / 0.7927 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.6251, allocations: 389.3 kB / 0.7931 GB, free: 46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6251, allocations: 4.094 kB / 0.7931 GB, free: 46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6251, allocations: 1.719 kB / 0.7931 GB, free: 46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.6251, allocations: 0 / 0.7931 GB, free: 46 MB / 0.6544 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.0006434/0.6258, allocations: 0.4961 MB / 0.7936 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.6258, allocations: 14.06 kB / 0.7936 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/0.6278, allocations: 180.3 kB / 0.7937 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.628, allocations: 210.6 kB / 0.7939 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.6281, allocations: 11.02 kB / 0.794 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.6281, allocations: 14.81 kB / 0.794 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005574/0.6287, allocations: 308.3 kB / 0.7943 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.6287, allocations: 2.062 kB / 0.7943 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.6288, allocations: 13.94 kB / 0.7943 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.6288, allocations: 10.45 kB / 0.7943 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006489/0.6294, allocations: 256.9 kB / 0.7945 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.6307, allocations: 1.386 MB / 0.7959 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000583/0.6313, allocations: 202.9 kB / 0.7961 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.6315, allocations: 78.88 kB / 0.7962 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.6316, allocations: 9.5 kB / 0.7962 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.6316, allocations: 31.75 kB / 0.7962 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 2.284e-06/0.6316, allocations: 2.203 kB / 0.7962 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.00071/0.6323, allocations: 240.4 kB / 0.7964 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.6324, allocations: 58.94 kB / 0.7965 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.6325, allocations: 160.7 kB / 0.7966 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.6325, allocations: 34.08 kB / 0.7967 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.6325, allocations: 124.5 kB / 0.7968 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.6326, allocations: 62.72 kB / 0.7968 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/0.6327, allocations: 46.86 kB / 0.7969 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.705e-05/0.6327, allocations: 325.5 kB / 0.7972 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.6329, allocations: 67.36 kB / 0.7973 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.6331, allocations: 141.3 kB / 0.7974 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.6336, allocations: 217.2 kB / 0.7976 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.6336, allocations: 7.406 kB / 0.7976 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000527/0.6341, allocations: 249.9 kB / 0.7979 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.6341, allocations: 10.72 kB / 0.7979 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6341, allocations: 3.438 kB / 0.7979 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.6342, allocations: 3.438 kB / 0.7979 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.6345, allocations: 63.3 kB / 0.7979 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.6345, allocations: 15.56 kB / 0.7979 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.6348, allocations: 33.78 kB / 0.798 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.6348, allocations: 6.75 kB / 0.798 GB, free: 43 MB / 0.6544 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 8.793e-05/0.6349, allocations: 140.8 kB / 0.7981 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.635, allocations: 10.88 kB / 0.7981 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005721/0.6356, allocations: 221.3 kB / 0.7983 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6356, allocations: 3.312 kB / 0.7983 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6356, allocations: 4 kB / 0.7983 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6356, allocations: 0.9375 kB / 0.7983 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.6358, allocations: 249.8 kB / 0.7986 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6358, allocations: 3.5 kB / 0.7986 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.6362, allocations: 46.16 kB / 0.7986 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.6362, allocations: 3.344 kB / 0.7986 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.6362, allocations: 3.234 kB / 0.7986 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.6362, allocations: 3.406 kB / 0.7986 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6362, allocations: 0 / 0.7986 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004882/0.6367, allocations: 303.4 kB / 0.7989 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.6368, allocations: 106 kB / 0.799 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.6369, allocations: 5.625 kB / 0.799 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.6371, allocations: 10.89 kB / 0.799 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.6372, allocations: 19.23 kB / 0.7991 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.6372, allocations: 7.984 kB / 0.7991 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.171e-05/0.6373, allocations: 118.4 kB / 0.7992 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6373, allocations: 0 / 0.7992 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003833/0.6377, allocations: 59.25 kB / 0.7992 GB, free: 42.29 MB / 0.6544 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.000193/0.6379, allocations: 135 kB / 0.7994 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005052/0.6384, allocations: 175.2 kB / 0.7995 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6384, allocations: 2.188 kB / 0.7995 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.6386, allocations: 95.86 kB / 0.7996 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.6391, allocations: 58.19 kB / 0.7997 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008908/0.64, allocations: 401.5 kB / 0.8001 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.6402, allocations: 0.7186 MB / 0.8008 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002381/0.6404, allocations: 49.31 kB / 0.8008 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.6405, allocations: 30.84 kB / 0.8008 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.6405, allocations: 0 / 0.8008 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.007098/0.6476, allocations: 3.299 MB / 0.8041 GB, free: 41.1 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)