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.001479/0.001479, allocations: 108.2 kB / 16.29 MB, free: 6.43 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.001357/0.001357, allocations: 184 kB / 17.22 MB, free: 5.934 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.466/1.466, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.931/1.931, 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.001764/0.001764, allocations: 71.91 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2626, allocations: 114.5 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.4697/0.7324, allocations: 4.044 MB / 0.788 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0025/0.735, allocations: 2.402 MB / 0.7904 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.393e-05/0.7351, allocations: 0 / 0.7904 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.7354, allocations: 47.19 kB / 0.7904 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.7358, allocations: 98.45 kB / 0.7905 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.7371, allocations: 0.4925 MB / 0.791 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.7374, allocations: 260.8 kB / 0.7912 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.457e-05/0.7374, allocations: 14.97 kB / 0.7912 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.7377, allocations: 113.6 kB / 0.7914 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.7378, allocations: 93.94 kB / 0.7914 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.7378, allocations: 8.844 kB / 0.7914 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.7389, allocations: 435.2 kB / 0.7919 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.92e-05/0.739, allocations: 41.38 kB / 0.7919 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.7391, allocations: 83.62 kB / 0.792 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007011/0.7398, allocations: 398.2 kB / 0.7924 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7398, allocations: 0 / 0.7924 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7398, allocations: 2.25 kB / 0.7924 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.7398, allocations: 4.656 kB / 0.7924 GB, free: 45.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.0007648/0.7406, allocations: 0.4971 MB / 0.7929 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.7406, allocations: 9.688 kB / 0.7929 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/0.7425, allocations: 181.8 kB / 0.793 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.7427, allocations: 207.7 kB / 0.7932 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.7428, allocations: 14.08 kB / 0.7932 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.7428, allocations: 13.66 kB / 0.7933 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006314/0.7435, allocations: 303.5 kB / 0.7936 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.7435, allocations: 2.406 kB / 0.7936 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.7435, allocations: 12.75 kB / 0.7936 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.7436, allocations: 11.88 kB / 0.7936 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006594/0.7442, allocations: 262.6 kB / 0.7938 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.7456, allocations: 1.376 MB / 0.7952 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.7462, allocations: 204 kB / 0.7954 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.7464, allocations: 83.78 kB / 0.7954 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.7465, allocations: 3.75 kB / 0.7954 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.7465, allocations: 35.56 kB / 0.7955 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.7465, allocations: 0 / 0.7955 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0006611/0.7472, allocations: 241.9 kB / 0.7957 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.7472, allocations: 55.41 kB / 0.7958 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.7473, allocations: 165.4 kB / 0.7959 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.7474, allocations: 27.89 kB / 0.796 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.7474, allocations: 129 kB / 0.7961 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.7475, allocations: 64.17 kB / 0.7961 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/0.7475, allocations: 46.09 kB / 0.7962 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.483e-05/0.7476, allocations: 324.4 kB / 0.7965 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.7478, allocations: 66.53 kB / 0.7966 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.748, allocations: 139.5 kB / 0.7967 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.7484, allocations: 221.2 kB / 0.7969 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7484, allocations: 5.625 kB / 0.7969 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005115/0.7489, allocations: 257.8 kB / 0.7971 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.7489, allocations: 8.594 kB / 0.7972 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.7489, allocations: 3.5 kB / 0.7972 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.749, allocations: 4.125 kB / 0.7972 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.7493, allocations: 69.02 kB / 0.7972 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.7493, allocations: 7.375 kB / 0.7972 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.7495, allocations: 33.12 kB / 0.7973 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.7496, allocations: 10.69 kB / 0.7973 GB, free: 42.46 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 9.015e-05/0.7497, allocations: 135.7 kB / 0.7974 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.7497, allocations: 10.91 kB / 0.7974 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.7502, allocations: 228.4 kB / 0.7976 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.7503, allocations: 0 / 0.7976 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7503, allocations: 4 kB / 0.7976 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.7503, allocations: 7.312 kB / 0.7976 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.7505, allocations: 238.5 kB / 0.7979 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.7505, allocations: 0 / 0.7979 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.7508, allocations: 46.73 kB / 0.7979 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.7508, allocations: 0 / 0.7979 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.7508, allocations: 5.953 kB / 0.7979 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.7508, allocations: 4.156 kB / 0.7979 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7508, allocations: 0.9375 kB / 0.7979 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.7513, allocations: 300.2 kB / 0.7982 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.7514, allocations: 112.1 kB / 0.7983 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.7514, allocations: 3.375 kB / 0.7983 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.7516, allocations: 10.36 kB / 0.7983 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.7517, allocations: 17.11 kB / 0.7984 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.7517, allocations: 6.828 kB / 0.7984 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.478e-05/0.7518, allocations: 115.8 kB / 0.7985 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7518, allocations: 0 / 0.7985 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003412/0.7521, allocations: 59.34 kB / 0.7985 GB, free: 41.76 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.0001852/0.7523, allocations: 145.5 kB / 0.7987 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004623/0.7528, allocations: 183.3 kB / 0.7988 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7528, allocations: 1.969 kB / 0.7988 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.753, allocations: 88.06 kB / 0.7989 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.7535, allocations: 60.38 kB / 0.799 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009281/0.7545, allocations: 400.3 kB / 0.7994 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.7547, allocations: 0.7182 MB / 0.8001 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00024/0.7549, allocations: 46.16 kB / 0.8001 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/0.755, allocations: 29.17 kB / 0.8001 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.755, allocations: 0 / 0.8001 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.008888/0.7639, allocations: 3.295 MB / 0.8034 GB, free: 40.57 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)