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.001133/0.001134, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 186.1 kB / 16.62 MB, free: 6.613 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.524/1.524, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.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.77/1.77, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.00137/0.00137, allocations: 75.58 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2878, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00615/0.294, allocations: 4.045 MB / 0.7881 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002854/0.2969, allocations: 2.399 MB / 0.7904 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.548e-05/0.297, allocations: 4 kB / 0.7904 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.2973, allocations: 39.69 kB / 0.7904 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.2976, allocations: 107.3 kB / 0.7905 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.2986, allocations: 0.4957 MB / 0.791 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000326/0.299, allocations: 263.8 kB / 0.7913 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.595e-05/0.299, allocations: 9.562 kB / 0.7913 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.2993, allocations: 115.6 kB / 0.7914 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.2994, allocations: 95.59 kB / 0.7915 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/0.2995, allocations: 8 kB / 0.7915 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007719/0.3003, allocations: 435.3 kB / 0.7919 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.387e-05/0.3004, allocations: 39.89 kB / 0.792 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.3005, allocations: 91.58 kB / 0.792 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006/0.3011, allocations: 399 kB / 0.7924 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3011, allocations: 0 / 0.7924 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3011, allocations: 0 / 0.7924 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3011, allocations: 0 / 0.7924 GB, free: 4.215 MB / 0.6075 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.000819/0.3019, allocations: 0.507 MB / 0.7929 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.302, allocations: 12.03 kB / 0.7929 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/0.3039, allocations: 172.5 kB / 0.7931 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.3043, allocations: 204.2 kB / 0.7933 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.3043, allocations: 16.7 kB / 0.7933 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.3044, allocations: 16.38 kB / 0.7933 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000668/0.305, allocations: 304.4 kB / 0.7936 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.305, allocations: 0 / 0.7936 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.3051, allocations: 8 kB / 0.7936 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/0.3051, allocations: 4 kB / 0.7936 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007087/0.3058, allocations: 267.5 kB / 0.7939 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.3075, allocations: 1.381 MB / 0.7952 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006622/0.3082, allocations: 194.4 kB / 0.7954 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.3084, allocations: 88.72 kB / 0.7955 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.3085, allocations: 7.984 kB / 0.7955 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.3085, allocations: 34.56 kB / 0.7955 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.3085, allocations: 0 / 0.7955 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0007666/0.3093, allocations: 252.1 kB / 0.7958 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.3093, allocations: 51.41 kB / 0.7958 GB, free: 464 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.3095, allocations: 157.4 kB / 0.796 GB, free: 292 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.3095, allocations: 29.7 kB / 0.796 GB, free: 256 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.3096, allocations: 132 kB / 0.7961 GB, free: 120 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.3097, allocations: 59.14 kB / 0.7962 GB, free: 60 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.543e-05/0.3098, allocations: 53.83 kB / 0.7962 GB, free: 0 / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3099, allocations: 326.8 kB / 0.7965 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.3102, allocations: 64.42 kB / 0.7966 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.3104, allocations: 139.5 kB / 0.7967 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.3109, allocations: 221.1 kB / 0.797 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.3109, allocations: 4 kB / 0.797 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006288/0.3116, allocations: 251.8 kB / 0.7972 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3116, allocations: 8 kB / 0.7972 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3116, allocations: 4 kB / 0.7972 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.3116, allocations: 4 kB / 0.7972 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.312, allocations: 60.2 kB / 0.7973 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.312, allocations: 11.94 kB / 0.7973 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.3122, allocations: 27.83 kB / 0.7973 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.3123, allocations: 15.92 kB / 0.7973 GB, free: 14.81 MB / 0.6231 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.0001202/0.3124, allocations: 137.7 kB / 0.7975 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.3125, allocations: 15.81 kB / 0.7975 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006104/0.3131, allocations: 218.7 kB / 0.7977 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3131, allocations: 8 kB / 0.7977 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3131, allocations: 0 / 0.7977 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3131, allocations: 0 / 0.7977 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.3134, allocations: 245.3 kB / 0.7979 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3134, allocations: 0 / 0.7979 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.3137, allocations: 51.91 kB / 0.798 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3137, allocations: 0 / 0.798 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.3137, allocations: 4 kB / 0.798 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.3138, allocations: 0 / 0.798 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3138, allocations: 3.938 kB / 0.798 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.3143, allocations: 303.2 kB / 0.7983 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3144, allocations: 104.9 kB / 0.7984 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.3145, allocations: 0 / 0.7984 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.3147, allocations: 15.98 kB / 0.7984 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.3147, allocations: 11.98 kB / 0.7984 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.3148, allocations: 15.94 kB / 0.7984 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.744e-05/0.3149, allocations: 117.5 kB / 0.7985 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3149, allocations: 0 / 0.7985 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003706/0.3152, allocations: 60.12 kB / 0.7986 GB, free: 13.43 MB / 0.6231 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.0002347/0.3155, allocations: 146 kB / 0.7987 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005417/0.316, allocations: 183.1 kB / 0.7989 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.316, allocations: 0 / 0.7989 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.3163, allocations: 83.89 kB / 0.799 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.3168, allocations: 66.25 kB / 0.799 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009624/0.3177, allocations: 411.2 kB / 0.7994 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.3181, allocations: 0.7134 MB / 0.8001 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002569/0.3183, allocations: 49.94 kB / 0.8002 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/0.3184, allocations: 27.42 kB / 0.8002 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.3184, allocations: 0 / 0.8002 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of Templates: time 0.007134/0.3256, allocations: 3.293 MB / 0.8034 GB, free: 8.469 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)