Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.905/2.905, allocations: 287.5 MB / 302.4 MB, free: 8.25 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.001327/0.001327, allocations: 175.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008801/0.0008802, allocations: 88.89 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009004/0.0009022, allocations: 10.39 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2484, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004988/0.2534, allocations: 3.574 MB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003329/0.2568, allocations: 2.233 MB / 0.984 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.257, allocations: 0 / 0.984 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.2573, allocations: 39.73 kB / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.2577, allocations: 87.48 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.2594, allocations: 417.4 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.2599, allocations: 279.9 kB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.555e-05/0.26, allocations: 21.48 kB / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.2602, allocations: 111.6 kB / 0.9849 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.2604, allocations: 91.66 kB / 0.985 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.2604, allocations: 8 kB / 0.985 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.2617, allocations: 335.4 kB / 0.9853 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.851e-05/0.2618, allocations: 31.89 kB / 0.9854 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.051e-05/0.2618, allocations: 57.62 kB / 0.9854 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005298/0.2624, allocations: 243.7 kB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.2624, allocations: 4 kB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.026e-06/0.2624, allocations: 7.938 kB / 0.9857 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.2624, allocations: 4 kB / 0.9857 GB, free: 20.8 MB / 0.6198 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.0007875/0.2632, allocations: 467.2 kB / 0.9861 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2633, allocations: 16 kB / 0.9861 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002903/0.2662, allocations: 191.5 kB / 0.9863 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.2666, allocations: 202.8 kB / 0.9865 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.2666, allocations: 16.27 kB / 0.9865 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.2667, allocations: 12 kB / 0.9865 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009083/0.2676, allocations: 296.3 kB / 0.9868 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.2676, allocations: 7.938 kB / 0.9868 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.2677, allocations: 7.984 kB / 0.9868 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.2677, allocations: 11.95 kB / 0.9869 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.2688, allocations: 263.6 kB / 0.9871 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.2708, allocations: 1.373 MB / 0.9884 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.2719, allocations: 191.4 kB / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.2723, allocations: 80.75 kB / 0.9887 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.139e-05/0.2724, allocations: 11.94 kB / 0.9887 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.2724, allocations: 34.56 kB / 0.9888 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.547e-06/0.2724, allocations: 3.984 kB / 0.9888 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001256/0.2737, allocations: 247.2 kB / 0.989 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.2737, allocations: 51.41 kB / 0.989 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.2739, allocations: 150.5 kB / 0.9892 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.274, allocations: 33.7 kB / 0.9892 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.2741, allocations: 128 kB / 0.9893 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.2741, allocations: 59.11 kB / 0.9894 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.2742, allocations: 12 kB / 0.9894 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.856e-05/0.2743, allocations: 318.8 kB / 0.9897 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.2746, allocations: 72.34 kB / 0.9898 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.275, allocations: 139.3 kB / 0.9899 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/0.2754, allocations: 79.91 kB / 0.99 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2754, allocations: 3.938 kB / 0.99 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009329/0.2764, allocations: 251.5 kB / 0.9902 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.2764, allocations: 11.95 kB / 0.9902 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2764, allocations: 4 kB / 0.9902 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.2765, allocations: 4 kB / 0.9903 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/0.2771, allocations: 59.89 kB / 0.9903 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.2771, allocations: 4 kB / 0.9903 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.2775, allocations: 31.73 kB / 0.9903 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.2776, allocations: 20.03 kB / 0.9904 GB, free: 15.66 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.2777, allocations: 129.8 kB / 0.9905 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.2778, allocations: 15.81 kB / 0.9905 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.2789, allocations: 228.9 kB / 0.9907 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2789, allocations: 0 / 0.9907 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2789, allocations: 7.953 kB / 0.9907 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2789, allocations: 3.984 kB / 0.9907 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.2793, allocations: 233.4 kB / 0.991 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2793, allocations: 4 kB / 0.991 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.2798, allocations: 51.89 kB / 0.991 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.2798, allocations: 4 kB / 0.991 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.2799, allocations: 8 kB / 0.991 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.2799, allocations: 3.953 kB / 0.991 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2799, allocations: 0 / 0.991 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/0.2807, allocations: 291.2 kB / 0.9913 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.2809, allocations: 96.98 kB / 0.9914 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.2809, allocations: 11.98 kB / 0.9914 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.2814, allocations: 11.98 kB / 0.9914 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.2814, allocations: 15.94 kB / 0.9914 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.2815, allocations: 8 kB / 0.9914 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.562e-05/0.2816, allocations: 123.8 kB / 0.9916 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2816, allocations: 3.938 kB / 0.9916 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005312/0.2821, allocations: 67.97 kB / 0.9916 GB, free: 14.28 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000239/0.2824, allocations: 132 kB / 0.9917 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008365/0.2832, allocations: 177.7 kB / 0.9919 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2832, allocations: 0 / 0.9919 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.2836, allocations: 92.5 kB / 0.992 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007529/0.2844, allocations: 55.91 kB / 0.9921 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.2857, allocations: 493.5 kB / 0.9925 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.2859, allocations: 0.7253 MB / 0.9932 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005925/0.2866, allocations: 49.92 kB / 0.9933 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.2867, allocations: 19.44 kB / 0.9933 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of SimCode: time 1.252e-06/0.2867, allocations: 0 / 0.9933 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.009196/0.2959, allocations: 3.045 MB / 0.9963 GB, free: 9.512 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)