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.001265/0.001265, allocations: 104 kB / 16.36 MB, free: 6.301 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.001263/0.001263, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.444/1.444, 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.772/1.772, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001398/0.001399, allocations: 71.89 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2366, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.4173/0.6539, allocations: 4.035 MB / 0.7887 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.6562, allocations: 2.4 MB / 0.7911 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.6563, allocations: 0.7812 kB / 0.7911 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.6566, allocations: 45.16 kB / 0.7911 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.657, allocations: 101.6 kB / 0.7912 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.6582, allocations: 0.4984 MB / 0.7917 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.6585, allocations: 262.7 kB / 0.7919 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.6585, allocations: 11.03 kB / 0.792 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.6587, allocations: 114.3 kB / 0.7921 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.6588, allocations: 96.14 kB / 0.7922 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.6589, allocations: 7.875 kB / 0.7922 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007337/0.6596, allocations: 437.3 kB / 0.7926 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.6597, allocations: 42.72 kB / 0.7926 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.841e-05/0.6598, allocations: 81.52 kB / 0.7927 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.6603, allocations: 397.2 kB / 0.7931 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.6604, allocations: 6.656 kB / 0.7931 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.825e-06/0.6604, allocations: 1.625 kB / 0.7931 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.6604, allocations: 3.938 kB / 0.7931 GB, free: 45.39 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.0006481/0.661, allocations: 499.6 kB / 0.7936 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.6611, allocations: 12.75 kB / 0.7936 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/0.663, allocations: 174.1 kB / 0.7937 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.6633, allocations: 211.1 kB / 0.7939 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.6633, allocations: 12.55 kB / 0.794 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.6633, allocations: 18.75 kB / 0.794 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.6639, allocations: 312.5 kB / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.6639, allocations: 0 / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.664, allocations: 11.72 kB / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.664, allocations: 7.875 kB / 0.7943 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006611/0.6647, allocations: 259.1 kB / 0.7945 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.666, allocations: 1.377 MB / 0.7959 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.6666, allocations: 198.7 kB / 0.7961 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.6668, allocations: 85.55 kB / 0.7962 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.6669, allocations: 3.984 kB / 0.7962 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.6669, allocations: 37.25 kB / 0.7962 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 2.234e-06/0.6669, allocations: 0 / 0.7962 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0007471/0.6676, allocations: 247.6 kB / 0.7964 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.6677, allocations: 51.41 kB / 0.7965 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.6678, allocations: 161.8 kB / 0.7966 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.6678, allocations: 28.95 kB / 0.7967 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.6679, allocations: 123.6 kB / 0.7968 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.668, allocations: 64.67 kB / 0.7968 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.972e-05/0.668, allocations: 48.98 kB / 0.7969 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.38e-05/0.6681, allocations: 325.4 kB / 0.7972 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.6683, allocations: 61.95 kB / 0.7973 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.6686, allocations: 148.9 kB / 0.7974 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.669, allocations: 210 kB / 0.7976 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.669, allocations: 14.47 kB / 0.7976 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005404/0.6696, allocations: 252.6 kB / 0.7979 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6696, allocations: 5.469 kB / 0.7979 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.6696, allocations: 7.188 kB / 0.7979 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.6696, allocations: 5 kB / 0.7979 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.67, allocations: 66.73 kB / 0.7979 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.67, allocations: 3.5 kB / 0.7979 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.6702, allocations: 32.73 kB / 0.798 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.6703, allocations: 10.41 kB / 0.798 GB, free: 42.4 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 0.0001003/0.6704, allocations: 138.1 kB / 0.7981 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.6704, allocations: 17.94 kB / 0.7981 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000598/0.671, allocations: 221.2 kB / 0.7983 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.671, allocations: 3.5 kB / 0.7983 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.671, allocations: 0 / 0.7983 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6711, allocations: 0 / 0.7983 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.6713, allocations: 250 kB / 0.7986 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.6713, allocations: 3.469 kB / 0.7986 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.6716, allocations: 45.8 kB / 0.7986 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.6716, allocations: 5.938 kB / 0.7986 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.6716, allocations: 6.094 kB / 0.7986 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.6716, allocations: 3.5 kB / 0.7986 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6716, allocations: 0 / 0.7986 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.6721, allocations: 293.6 kB / 0.7989 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.988e-05/0.6722, allocations: 114.2 kB / 0.799 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.6723, allocations: 6.781 kB / 0.799 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.6725, allocations: 12.48 kB / 0.7991 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.6726, allocations: 10.25 kB / 0.7991 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.6726, allocations: 9.844 kB / 0.7991 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.027e-05/0.6727, allocations: 113.8 kB / 0.7992 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.11e-07/0.6727, allocations: 0 / 0.7992 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003496/0.673, allocations: 66.94 kB / 0.7992 GB, free: 41.68 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.0001924/0.6732, allocations: 129.5 kB / 0.7994 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000519/0.6738, allocations: 187.2 kB / 0.7995 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6738, allocations: 0 / 0.7995 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.674, allocations: 81.83 kB / 0.7996 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.6745, allocations: 65.25 kB / 0.7997 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008905/0.6754, allocations: 431.9 kB / 0.8001 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.6755, allocations: 0.7178 MB / 0.8008 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.6756, allocations: 33.08 kB / 0.8008 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.6756, allocations: 0.8438 kB / 0.8008 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.005911/0.6815, allocations: 2.852 MB / 0.8036 GB, free: 40.49 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 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)