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.001236/0.001236, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.467/1.467, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.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.769/1.769, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001429/0.001429, allocations: 69.92 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2917, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005839/0.2976, allocations: 4.043 MB / 0.7873 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002759/0.3003, allocations: 2.399 MB / 0.7896 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.3005, allocations: 4 kB / 0.7896 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.3008, allocations: 51.66 kB / 0.7897 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.3011, allocations: 103.3 kB / 0.7898 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.3024, allocations: 0.4973 MB / 0.7903 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.3027, allocations: 263.8 kB / 0.7905 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.98e-05/0.3028, allocations: 5.562 kB / 0.7905 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.303, allocations: 111.6 kB / 0.7906 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.3032, allocations: 95.59 kB / 0.7907 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.3032, allocations: 8 kB / 0.7907 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009083/0.3041, allocations: 431.3 kB / 0.7912 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.67e-05/0.3042, allocations: 43.89 kB / 0.7912 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.3043, allocations: 83.64 kB / 0.7913 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006265/0.305, allocations: 399.2 kB / 0.7917 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.305, allocations: 0 / 0.7917 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.894e-06/0.305, allocations: 0 / 0.7917 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.305, allocations: 0 / 0.7917 GB, free: 4.922 MB / 0.6075 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.0008279/0.3058, allocations: 0.4992 MB / 0.7921 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3059, allocations: 8.031 kB / 0.7922 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.3079, allocations: 188.5 kB / 0.7923 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.3082, allocations: 200.2 kB / 0.7925 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.3082, allocations: 12.7 kB / 0.7925 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.3083, allocations: 16.38 kB / 0.7926 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/0.3089, allocations: 312.4 kB / 0.7929 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3089, allocations: 0 / 0.7929 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.309, allocations: 11.98 kB / 0.7929 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.309, allocations: 4 kB / 0.7929 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007021/0.3097, allocations: 263.5 kB / 0.7931 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.3115, allocations: 1.377 MB / 0.7945 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/0.3122, allocations: 198.4 kB / 0.7947 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.3124, allocations: 81.5 kB / 0.7947 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.3125, allocations: 11.97 kB / 0.7947 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.3125, allocations: 38.56 kB / 0.7948 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.3125, allocations: 0 / 0.7948 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0007803/0.3133, allocations: 244.2 kB / 0.795 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.3134, allocations: 55.34 kB / 0.7951 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.3135, allocations: 161.4 kB / 0.7952 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.3136, allocations: 33.7 kB / 0.7952 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.892e-05/0.3137, allocations: 124 kB / 0.7954 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.3137, allocations: 59.14 kB / 0.7954 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.3138, allocations: 53.83 kB / 0.7955 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3139, allocations: 326.8 kB / 0.7958 GB, free: 392 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.3142, allocations: 60.42 kB / 0.7958 GB, free: 332 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.3144, allocations: 151.5 kB / 0.796 GB, free: 148 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.3149, allocations: 221.1 kB / 0.7962 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.315, allocations: 0 / 0.7962 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005853/0.3155, allocations: 251.8 kB / 0.7964 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.3156, allocations: 8 kB / 0.7964 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3156, allocations: 3.984 kB / 0.7965 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3156, allocations: 4 kB / 0.7965 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.316, allocations: 67.89 kB / 0.7965 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.316, allocations: 7.938 kB / 0.7965 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.3162, allocations: 24.09 kB / 0.7965 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.3162, allocations: 19.98 kB / 0.7966 GB, free: 15.51 MB / 0.6231 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.0001312/0.3164, allocations: 133.7 kB / 0.7967 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.3164, allocations: 15.81 kB / 0.7967 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006509/0.3171, allocations: 225.8 kB / 0.7969 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.3171, allocations: 0 / 0.7969 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3171, allocations: 0 / 0.7969 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3171, allocations: 0 / 0.7969 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.3174, allocations: 253.3 kB / 0.7972 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3174, allocations: 4 kB / 0.7972 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.3177, allocations: 47.91 kB / 0.7972 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3177, allocations: 0 / 0.7972 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.3178, allocations: 7.984 kB / 0.7972 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3178, allocations: 4 kB / 0.7972 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3178, allocations: 3.938 kB / 0.7972 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005907/0.3184, allocations: 295.2 kB / 0.7975 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.3185, allocations: 100.9 kB / 0.7976 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.3186, allocations: 8 kB / 0.7976 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.3188, allocations: 11.98 kB / 0.7976 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.3188, allocations: 11.98 kB / 0.7976 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.3189, allocations: 11.98 kB / 0.7977 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.802e-05/0.319, allocations: 125.5 kB / 0.7978 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.319, allocations: 0 / 0.7978 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003621/0.3194, allocations: 60 kB / 0.7978 GB, free: 14.12 MB / 0.6231 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.0002462/0.3196, allocations: 135.2 kB / 0.798 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005546/0.3202, allocations: 183.7 kB / 0.7981 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3202, allocations: 0 / 0.7981 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.3204, allocations: 95.25 kB / 0.7982 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.321, allocations: 70.25 kB / 0.7983 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009803/0.322, allocations: 399.3 kB / 0.7987 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.3223, allocations: 0.7173 MB / 0.7994 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003361/0.3226, allocations: 53.92 kB / 0.7994 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.09e-05/0.3227, allocations: 23.42 kB / 0.7994 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.3227, allocations: 0 / 0.7994 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of Templates: time 0.007671/0.3304, allocations: 3.313 MB / 0.8027 GB, free: 9.152 MB / 0.6231 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)