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.001473/0.001473, allocations: 111.1 kB / 15.99 MB, free: 5.91 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.001642/0.001642, allocations: 193.1 kB / 16.91 MB, free: 5.758 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.406/1.406, allocations: 205.1 MB / 222.8 MB, free: 12.43 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.722/1.722, allocations: 292.3 MB / 0.5492 GB, free: 17.64 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.001307/0.001307, allocations: 71.91 kB / 0.6716 GB, free: 6.926 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2602, allocations: 114.6 MB / 0.7835 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005782/0.2661, allocations: 4.09 MB / 0.7875 GB, free: 148 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4415/0.7076, allocations: 2.396 MB / 0.7898 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.7077, allocations: 2.906 kB / 0.7898 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.708, allocations: 37.17 kB / 0.7899 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.7084, allocations: 96.94 kB / 0.79 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.7097, allocations: 471.6 kB / 0.7904 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.71, allocations: 254.9 kB / 0.7907 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.565e-05/0.71, allocations: 12.03 kB / 0.7907 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.7102, allocations: 112.5 kB / 0.7908 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.7103, allocations: 98.36 kB / 0.7909 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.7103, allocations: 7.875 kB / 0.7909 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006526/0.711, allocations: 446.1 kB / 0.7913 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.7111, allocations: 38.64 kB / 0.7913 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.239e-05/0.7111, allocations: 81.42 kB / 0.7914 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.7115, allocations: 279.8 kB / 0.7917 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.7115, allocations: 0 / 0.7917 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7115, allocations: 0 / 0.7917 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.7116, allocations: 0 / 0.7917 GB, free: 45.64 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.000621/0.7122, allocations: 0.499 MB / 0.7922 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.635e-05/0.7122, allocations: 10.5 kB / 0.7922 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.7142, allocations: 184.5 kB / 0.7924 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.7144, allocations: 211.7 kB / 0.7926 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.7144, allocations: 10.77 kB / 0.7926 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.7144, allocations: 14.44 kB / 0.7926 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.715, allocations: 310.6 kB / 0.7929 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.7151, allocations: 2.156 kB / 0.7929 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.7151, allocations: 8.031 kB / 0.7929 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.7151, allocations: 7 kB / 0.7929 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/0.7158, allocations: 264.4 kB / 0.7932 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.7171, allocations: 1.372 MB / 0.7945 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005951/0.7177, allocations: 204.7 kB / 0.7947 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.718, allocations: 81.39 kB / 0.7948 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.718, allocations: 7.875 kB / 0.7948 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.718, allocations: 37.62 kB / 0.7948 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.718, allocations: 0 / 0.7948 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0007187/0.7188, allocations: 240.6 kB / 0.795 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.7188, allocations: 54.84 kB / 0.7951 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.7189, allocations: 163.5 kB / 0.7952 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.719, allocations: 25.7 kB / 0.7953 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.719, allocations: 128.1 kB / 0.7954 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.7191, allocations: 59.95 kB / 0.7955 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.7192, allocations: 52.23 kB / 0.7955 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.7193, allocations: 326.1 kB / 0.7958 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.7195, allocations: 62.34 kB / 0.7959 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.7197, allocations: 145.8 kB / 0.796 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.7201, allocations: 215.1 kB / 0.7962 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7201, allocations: 3.938 kB / 0.7962 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005269/0.7207, allocations: 251.6 kB / 0.7965 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.7207, allocations: 3.5 kB / 0.7965 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.7207, allocations: 3.812 kB / 0.7965 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.7207, allocations: 7.5 kB / 0.7965 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.7211, allocations: 71.61 kB / 0.7965 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.7211, allocations: 4.469 kB / 0.7965 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.7213, allocations: 34.92 kB / 0.7966 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.7214, allocations: 9.656 kB / 0.7966 GB, free: 42.65 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.0001028/0.7215, allocations: 136.1 kB / 0.7967 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.7215, allocations: 22.03 kB / 0.7967 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005879/0.7221, allocations: 223.9 kB / 0.797 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.7221, allocations: 3.406 kB / 0.797 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7222, allocations: 0 / 0.797 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.7222, allocations: 0 / 0.797 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.7224, allocations: 250 kB / 0.7972 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7224, allocations: 0 / 0.7972 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.7227, allocations: 46.8 kB / 0.7972 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7227, allocations: 8.562 kB / 0.7972 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.7228, allocations: 2.812 kB / 0.7973 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.7228, allocations: 3.438 kB / 0.7973 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7228, allocations: 0 / 0.7973 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004921/0.7233, allocations: 298.7 kB / 0.7975 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/0.7234, allocations: 112 kB / 0.7976 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.7234, allocations: 3.375 kB / 0.7976 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.7237, allocations: 16.73 kB / 0.7977 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.7237, allocations: 10.34 kB / 0.7977 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.7237, allocations: 13.73 kB / 0.7977 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.082e-05/0.7238, allocations: 110.9 kB / 0.7978 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7238, allocations: 0 / 0.7978 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003822/0.7242, allocations: 58.66 kB / 0.7978 GB, free: 41.94 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.0002018/0.7244, allocations: 135.7 kB / 0.798 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005174/0.725, allocations: 189.5 kB / 0.7982 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.725, allocations: 6.844 kB / 0.7982 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.7252, allocations: 86.33 kB / 0.7982 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.7258, allocations: 66.61 kB / 0.7983 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009962/0.7268, allocations: 494.3 kB / 0.7988 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.727, allocations: 0.7178 MB / 0.7995 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.7271, allocations: 34.61 kB / 0.7995 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.7271, allocations: 0 / 0.7995 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.006618/0.7337, allocations: 2.847 MB / 0.8023 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)