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.001363/0.001363, allocations: 106.2 kB / 16.27 MB, free: 5.945 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.001415/0.001415, allocations: 189.7 kB / 17.2 MB, free: 5.582 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.1 MB, free: 12.28 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.729/1.729, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001602/0.001602, allocations: 71.91 kB / 0.6722 GB, free: 6.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.236, allocations: 114.5 MB / 0.784 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.4156/0.6516, allocations: 4.042 MB / 0.788 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002861/0.6545, allocations: 2.405 MB / 0.7903 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.6546, allocations: 0 / 0.7903 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.6549, allocations: 52.69 kB / 0.7904 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.6554, allocations: 96.2 kB / 0.7905 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.6566, allocations: 0.4982 MB / 0.7909 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.657, allocations: 255.5 kB / 0.7912 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.282e-05/0.657, allocations: 11.34 kB / 0.7912 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.6572, allocations: 114.1 kB / 0.7913 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.6574, allocations: 91.06 kB / 0.7914 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.6574, allocations: 7.875 kB / 0.7914 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007581/0.6582, allocations: 434.4 kB / 0.7918 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.35e-05/0.6583, allocations: 44.03 kB / 0.7919 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.6584, allocations: 81.7 kB / 0.7919 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.659, allocations: 395.4 kB / 0.7923 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.659, allocations: 0 / 0.7923 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.659, allocations: 0.5 kB / 0.7923 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.659, allocations: 3.469 kB / 0.7923 GB, free: 45.59 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.0007379/0.6597, allocations: 0.4934 MB / 0.7928 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.6598, allocations: 10.41 kB / 0.7928 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.6618, allocations: 181.9 kB / 0.793 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.662, allocations: 213.4 kB / 0.7932 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.662, allocations: 11.83 kB / 0.7932 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.6621, allocations: 15.16 kB / 0.7932 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000604/0.6627, allocations: 317 kB / 0.7935 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.6627, allocations: 0 / 0.7935 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/0.6627, allocations: 6.875 kB / 0.7935 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.6628, allocations: 7 kB / 0.7935 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/0.6634, allocations: 262.2 kB / 0.7938 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.6648, allocations: 1.378 MB / 0.7951 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/0.6654, allocations: 203.6 kB / 0.7953 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.6657, allocations: 74.45 kB / 0.7954 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.6657, allocations: 10.88 kB / 0.7954 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.6657, allocations: 34.5 kB / 0.7954 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.843e-06/0.6657, allocations: 0 / 0.7954 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.00076/0.6665, allocations: 243.2 kB / 0.7957 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.6666, allocations: 54.88 kB / 0.7957 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.6667, allocations: 162.7 kB / 0.7959 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.6667, allocations: 29.33 kB / 0.7959 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.6668, allocations: 121.7 kB / 0.796 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.6668, allocations: 62.42 kB / 0.7961 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.6669, allocations: 53.7 kB / 0.7961 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.359e-05/0.667, allocations: 325.6 kB / 0.7964 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.6672, allocations: 65.11 kB / 0.7965 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.6674, allocations: 147.9 kB / 0.7966 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.6679, allocations: 211.5 kB / 0.7968 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6679, allocations: 11.38 kB / 0.7969 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005551/0.6684, allocations: 250.5 kB / 0.7971 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.6685, allocations: 6.938 kB / 0.7971 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.6685, allocations: 7.688 kB / 0.7971 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.6685, allocations: 7.375 kB / 0.7971 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.6688, allocations: 63.42 kB / 0.7972 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.6689, allocations: 3.469 kB / 0.7972 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.6691, allocations: 39.16 kB / 0.7972 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.6691, allocations: 12.73 kB / 0.7972 GB, free: 42.59 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.0001246/0.6693, allocations: 134 kB / 0.7974 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.6693, allocations: 18.84 kB / 0.7974 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006199/0.6699, allocations: 222.6 kB / 0.7976 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.67, allocations: 3.344 kB / 0.7976 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.67, allocations: 0 / 0.7976 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.67, allocations: 3.141 kB / 0.7976 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.6702, allocations: 242.8 kB / 0.7978 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6702, allocations: 1.406 kB / 0.7978 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.6705, allocations: 50.86 kB / 0.7979 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.6705, allocations: 4 kB / 0.7979 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.6705, allocations: 3.375 kB / 0.7979 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6706, allocations: 5.031 kB / 0.7979 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.6706, allocations: 2.203 kB / 0.7979 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.6711, allocations: 295.6 kB / 0.7982 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.168e-05/0.6712, allocations: 112.3 kB / 0.7983 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.6712, allocations: 3 kB / 0.7983 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.6714, allocations: 13.84 kB / 0.7983 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.6715, allocations: 13.08 kB / 0.7983 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.6715, allocations: 5.047 kB / 0.7983 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.182e-05/0.6716, allocations: 113.5 kB / 0.7984 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6716, allocations: 0 / 0.7984 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003662/0.672, allocations: 58.81 kB / 0.7985 GB, free: 41.88 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.0002095/0.6722, allocations: 147.4 kB / 0.7986 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005406/0.6727, allocations: 187.3 kB / 0.7988 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6727, allocations: 3.094 kB / 0.7988 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.673, allocations: 90.89 kB / 0.7989 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.6735, allocations: 56.42 kB / 0.7989 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009106/0.6745, allocations: 436.6 kB / 0.7994 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.6746, allocations: 0.7166 MB / 0.8001 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.6747, allocations: 25.39 kB / 0.8001 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/0.6748, allocations: 4 kB / 0.8001 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.006464/0.6812, allocations: 2.857 MB / 0.8029 GB, free: 40.67 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)