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.001326/0.001326, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001718/0.001718, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.411/1.411, allocations: 205.1 MB / 222 MB, free: 4.996 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.698/1.698, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001287/0.001287, allocations: 70.39 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2571, allocations: 114.6 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006861/0.264, allocations: 4.095 MB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.2671, allocations: 2.438 MB / 0.789 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.2673, allocations: 0 / 0.789 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.2676, allocations: 39.73 kB / 0.7891 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.2679, allocations: 87.48 kB / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.2693, allocations: 460.1 kB / 0.7896 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004071/0.2697, allocations: 331.8 kB / 0.7899 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.175e-05/0.2697, allocations: 9.562 kB / 0.7899 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.2699, allocations: 119.5 kB / 0.79 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.2701, allocations: 95.64 kB / 0.7901 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.2701, allocations: 4 kB / 0.7901 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008768/0.271, allocations: 443.1 kB / 0.7906 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.19e-05/0.2711, allocations: 35.89 kB / 0.7906 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.677e-05/0.2712, allocations: 79.66 kB / 0.7907 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000605/0.2718, allocations: 403.3 kB / 0.7911 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2718, allocations: 3.938 kB / 0.7911 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2718, allocations: 0 / 0.7911 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.2718, allocations: 0 / 0.7911 GB, free: 5.387 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.0007546/0.2726, allocations: 0.5031 MB / 0.7916 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2727, allocations: 12.03 kB / 0.7916 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.2747, allocations: 184.5 kB / 0.7917 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.275, allocations: 200.2 kB / 0.7919 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.432e-05/0.275, allocations: 16.7 kB / 0.7919 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.2751, allocations: 24.34 kB / 0.792 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.2757, allocations: 304.4 kB / 0.7923 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2758, allocations: 0 / 0.7923 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.2758, allocations: 12 kB / 0.7923 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.2758, allocations: 4 kB / 0.7923 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/0.2766, allocations: 267.5 kB / 0.7925 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.2782, allocations: 1.381 MB / 0.7939 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006701/0.2789, allocations: 198.3 kB / 0.7941 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.2791, allocations: 84.75 kB / 0.7942 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.2792, allocations: 0 / 0.7942 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.2792, allocations: 34.56 kB / 0.7942 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.2792, allocations: 0 / 0.7942 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0007983/0.28, allocations: 248.8 kB / 0.7944 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2801, allocations: 51.41 kB / 0.7945 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.2802, allocations: 161 kB / 0.7946 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.2802, allocations: 33.7 kB / 0.7947 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.2803, allocations: 128 kB / 0.7948 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.2804, allocations: 63.09 kB / 0.7948 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.645e-05/0.2805, allocations: 49.92 kB / 0.7949 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2806, allocations: 326.8 kB / 0.7952 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.2808, allocations: 64.42 kB / 0.7953 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.2811, allocations: 142.3 kB / 0.7954 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.2815, allocations: 213.2 kB / 0.7956 GB, free: 372 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2816, allocations: 0 / 0.7956 GB, free: 372 kB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005733/0.2821, allocations: 259.9 kB / 0.7958 GB, free: 108 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2822, allocations: 8 kB / 0.7959 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2822, allocations: 3.938 kB / 0.7959 GB, free: 96 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2822, allocations: 4 kB / 0.7959 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.2826, allocations: 72.2 kB / 0.7959 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/0.2826, allocations: 4 kB / 0.7959 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.2829, allocations: 31.67 kB / 0.796 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.2829, allocations: 15.98 kB / 0.796 GB, free: 15.97 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.0001161/0.283, allocations: 129.7 kB / 0.7961 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.2831, allocations: 15.84 kB / 0.7961 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006175/0.2837, allocations: 229.6 kB / 0.7963 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2837, allocations: 4 kB / 0.7963 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.2838, allocations: 0 / 0.7963 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2838, allocations: 0 / 0.7963 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.284, allocations: 245.3 kB / 0.7966 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.284, allocations: 0 / 0.7966 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.2844, allocations: 47.91 kB / 0.7966 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2844, allocations: 0 / 0.7966 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.2844, allocations: 11.98 kB / 0.7966 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2844, allocations: 4 kB / 0.7966 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2844, allocations: 0 / 0.7966 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005344/0.285, allocations: 295.2 kB / 0.7969 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-05/0.2851, allocations: 108.8 kB / 0.797 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.2851, allocations: 8 kB / 0.797 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.2854, allocations: 15.98 kB / 0.797 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.2854, allocations: 11.98 kB / 0.7971 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.2855, allocations: 11.98 kB / 0.7971 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.815e-05/0.2855, allocations: 119.1 kB / 0.7972 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2856, allocations: 0 / 0.7972 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003598/0.2859, allocations: 56.12 kB / 0.7972 GB, free: 14.59 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.0002115/0.2861, allocations: 143 kB / 0.7974 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005428/0.2867, allocations: 176.2 kB / 0.7975 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2867, allocations: 0 / 0.7975 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.2869, allocations: 87.89 kB / 0.7976 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.2875, allocations: 60.06 kB / 0.7977 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009327/0.2884, allocations: 463.4 kB / 0.7981 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.2887, allocations: 0.7137 MB / 0.7988 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003573/0.289, allocations: 49.92 kB / 0.7989 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.2891, allocations: 35.42 kB / 0.7989 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.2891, allocations: 3.938 kB / 0.7989 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of Templates: time 0.006333/0.2955, allocations: 3.16 MB / 0.802 GB, free: 9.707 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)