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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 292.3 MB / 308.1 MB, free: 4.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 196.4 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205 MB / 0.6353 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009876/0.0009876, allocations: 94.95 kB / 0.748 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 51.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2933, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00771/0.3011, allocations: 4.113 MB / 0.9862 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003352/0.3045, allocations: 2.434 MB / 0.9886 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.3047, allocations: 7.938 kB / 0.9886 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.3051, allocations: 35.81 kB / 0.9887 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004395/0.3056, allocations: 91.47 kB / 0.9887 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.3073, allocations: 462.1 kB / 0.9892 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004998/0.3078, allocations: 331.8 kB / 0.9895 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.745e-05/0.3078, allocations: 9.562 kB / 0.9895 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.3081, allocations: 111.5 kB / 0.9896 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.3084, allocations: 95.66 kB / 0.9897 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.3084, allocations: 4 kB / 0.9897 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.3095, allocations: 439.1 kB / 0.9901 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.3096, allocations: 43.88 kB / 0.9902 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.3098, allocations: 83.59 kB / 0.9902 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.3108, allocations: 403.3 kB / 0.9906 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3108, allocations: 0 / 0.9906 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3109, allocations: 0 / 0.9906 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.3109, allocations: 0 / 0.9906 GB, free: 1.727 MB / 0.7136 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.001064/0.3119, allocations: 0.4992 MB / 0.9911 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.312, allocations: 12.03 kB / 0.9911 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001993/0.314, allocations: 180.5 kB / 0.9913 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.3143, allocations: 208.2 kB / 0.9915 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.3144, allocations: 12.7 kB / 0.9915 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.3144, allocations: 16.38 kB / 0.9915 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.3151, allocations: 301.1 kB / 0.9918 GB, free: 404 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3151, allocations: 3.938 kB / 0.9918 GB, free: 400 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.3152, allocations: 12 kB / 0.9918 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.3152, allocations: 4 kB / 0.9918 GB, free: 384 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007286/0.3159, allocations: 263.5 kB / 0.9921 GB, free: 120 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.3177, allocations: 1.392 MB / 0.9934 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007135/0.3185, allocations: 194.7 kB / 0.9936 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.3187, allocations: 76.81 kB / 0.9937 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.3188, allocations: 0 / 0.9937 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.3188, allocations: 38.56 kB / 0.9937 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.3189, allocations: 0 / 0.9937 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0008494/0.3197, allocations: 245.4 kB / 0.994 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.3198, allocations: 55.34 kB / 0.994 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.32, allocations: 154.4 kB / 0.9942 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.32, allocations: 29.7 kB / 0.9942 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.907e-05/0.3201, allocations: 136 kB / 0.9943 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.3202, allocations: 63.09 kB / 0.9944 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.189e-05/0.3203, allocations: 45.92 kB / 0.9944 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3204, allocations: 326.8 kB / 0.9947 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.3206, allocations: 64.42 kB / 0.9948 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.3209, allocations: 138.3 kB / 0.9949 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/0.3215, allocations: 227.5 kB / 0.9952 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3215, allocations: 4 kB / 0.9952 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006167/0.3221, allocations: 245.5 kB / 0.9954 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3221, allocations: 12.06 kB / 0.9954 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3221, allocations: 0 / 0.9954 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3222, allocations: 4 kB / 0.9954 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.3225, allocations: 63.89 kB / 0.9955 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.3226, allocations: 7.938 kB / 0.9955 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.3228, allocations: 31.73 kB / 0.9955 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.3228, allocations: 15.98 kB / 0.9955 GB, free: 12.33 MB / 0.7292 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.0001622/0.323, allocations: 145.6 kB / 0.9957 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.3231, allocations: 11.91 kB / 0.9957 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006863/0.3238, allocations: 237.2 kB / 0.9959 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3238, allocations: 4 kB / 0.9959 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3238, allocations: 0 / 0.9959 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3238, allocations: 0 / 0.9959 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.3241, allocations: 241.4 kB / 0.9961 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3241, allocations: 0 / 0.9961 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.3244, allocations: 55.91 kB / 0.9962 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3244, allocations: 0 / 0.9962 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.3244, allocations: 7.984 kB / 0.9962 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3245, allocations: 0 / 0.9962 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3245, allocations: 3.938 kB / 0.9962 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.3256, allocations: 0.9306 MB / 0.9971 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.3257, allocations: 100.9 kB / 0.9972 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.3257, allocations: 4 kB / 0.9972 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.326, allocations: 15.98 kB / 0.9972 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.326, allocations: 15.92 kB / 0.9972 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.3261, allocations: 8 kB / 0.9972 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001014/0.3262, allocations: 117.9 kB / 0.9974 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3262, allocations: 0 / 0.9974 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000455/0.3266, allocations: 59.94 kB / 0.9974 GB, free: 10.25 MB / 0.7292 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.0002555/0.3269, allocations: 139.3 kB / 0.9976 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005669/0.3275, allocations: 179.8 kB / 0.9977 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3275, allocations: 0.625 kB / 0.9977 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.3278, allocations: 93.73 kB / 0.9978 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/0.3284, allocations: 51.89 kB / 0.9979 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.3296, allocations: 0.605 MB / 0.9985 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.3299, allocations: 0.7215 MB / 0.9992 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003503/0.3303, allocations: 45.94 kB / 0.9992 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.657e-05/0.3304, allocations: 27.42 kB / 0.9992 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.3304, allocations: 0 / 0.9992 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of Templates: time 0.006501/0.3369, allocations: 3.252 MB / 1.002 GB, free: 5.102 MB / 0.7292 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)