Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.323/2.323, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 192.7 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 108.1 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 51.16 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2906, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004257/0.2949, allocations: 4.102 MB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.2972, allocations: 2.457 MB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.57e-05/0.2973, allocations: 4 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.2976, allocations: 39.8 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.2978, allocations: 91.42 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.2989, allocations: 481.8 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.2993, allocations: 343.7 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.84e-05/0.2993, allocations: 9.562 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.2995, allocations: 107.6 kB / 1.226 GB, free: 109.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.2997, allocations: 95.66 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.2997, allocations: 8 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007062/0.3004, allocations: 467.1 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.403e-05/0.3005, allocations: 35.83 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.207e-05/0.3006, allocations: 79.66 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005491/0.3012, allocations: 417.1 kB / 1.227 GB, free: 108.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3012, allocations: 3.938 kB / 1.227 GB, free: 108.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3012, allocations: 0 / 1.227 GB, free: 108.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.3012, allocations: 4 kB / 1.227 GB, free: 108.5 MB / 0.823 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.0006846/0.3019, allocations: 0.4993 MB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3019, allocations: 11.98 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.3037, allocations: 188.5 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.304, allocations: 204.2 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.304, allocations: 16.7 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.304, allocations: 16.38 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/0.3046, allocations: 306.3 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3046, allocations: 3.938 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.3047, allocations: 11.98 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.3047, allocations: 11.92 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/0.3053, allocations: 260.1 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.3066, allocations: 1.392 MB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006193/0.3072, allocations: 199.3 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.3074, allocations: 76.81 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.3075, allocations: 3.984 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.3075, allocations: 38.56 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.3075, allocations: 0 / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.0007207/0.3082, allocations: 250.5 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.3083, allocations: 55.41 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.967e-05/0.3084, allocations: 156.8 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3084, allocations: 33.7 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.3085, allocations: 124 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.3085, allocations: 59.11 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-05/0.3086, allocations: 53.92 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.061e-05/0.3086, allocations: 326.8 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.3088, allocations: 60.42 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.309, allocations: 149 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/0.3095, allocations: 218.4 kB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3095, allocations: 4 kB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005129/0.31, allocations: 250.2 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.31, allocations: 8.938 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.31, allocations: 4 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3101, allocations: 4.312 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.3104, allocations: 63.89 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.3104, allocations: 4 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.3106, allocations: 35.67 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.3106, allocations: 19.98 kB / 1.232 GB, free: 103 MB / 0.823 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 8.459e-05/0.3107, allocations: 126.4 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.3108, allocations: 19.81 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000652/0.3115, allocations: 226.7 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3115, allocations: 0 / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3115, allocations: 0 / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3115, allocations: 0 / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.3117, allocations: 257.2 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3117, allocations: 0 / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.312, allocations: 43.97 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.312, allocations: 0 / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.312, allocations: 11.98 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.312, allocations: 4 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3121, allocations: 4 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.3129, allocations: 0.9215 MB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.313, allocations: 112.8 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.3131, allocations: 0 / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.3133, allocations: 19.98 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.3134, allocations: 11.92 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.3134, allocations: 15.98 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.589e-05/0.3135, allocations: 121.5 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3135, allocations: 4 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000437/0.3139, allocations: 64.12 kB / 1.233 GB, free: 101 MB / 0.823 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.0002269/0.3142, allocations: 138.3 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005024/0.3147, allocations: 179.8 kB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3147, allocations: 0 / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.3149, allocations: 89.03 kB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.3155, allocations: 56.2 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000922/0.3164, allocations: 0.6089 MB / 1.234 GB, free: 99.86 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.3166, allocations: 0.7254 MB / 1.235 GB, free: 99.11 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003257/0.3169, allocations: 49.94 kB / 1.235 GB, free: 99.06 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.317, allocations: 23.42 kB / 1.235 GB, free: 99.04 MB / 0.823 GB Notification: Performance of SimCode: time 2.11e-07/0.317, allocations: 0 / 1.235 GB, free: 99.04 MB / 0.823 GB Notification: Performance of Templates: time 0.005576/0.3226, allocations: 3.343 MB / 1.238 GB, free: 95.77 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)