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.001242/0.001242, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001198/0.001198, allocations: 193.3 kB / 16.25 MB, free: 6.629 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.429/1.429, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.633/1.633, allocations: 292.2 MB / 0.5485 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.001313/0.001313, allocations: 74.62 kB / 0.671 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2545, allocations: 114.5 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006272/0.2608, allocations: 4.087 MB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002523/0.2634, allocations: 2.399 MB / 0.7892 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.2635, allocations: 4 kB / 0.7892 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.2637, allocations: 39.8 kB / 0.7892 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.264, allocations: 95.34 kB / 0.7893 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.2652, allocations: 466.7 kB / 0.7898 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.2656, allocations: 259.9 kB / 0.79 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.2656, allocations: 9.562 kB / 0.79 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.2658, allocations: 111.6 kB / 0.7901 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.266, allocations: 95.59 kB / 0.7902 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.266, allocations: 8 kB / 0.7902 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007282/0.2667, allocations: 447.2 kB / 0.7907 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-05/0.2668, allocations: 39.88 kB / 0.7907 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.086e-05/0.2669, allocations: 83.66 kB / 0.7908 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005526/0.2675, allocations: 403.2 kB / 0.7912 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2675, allocations: 4 kB / 0.7912 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2675, allocations: 0 / 0.7912 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2675, allocations: 0 / 0.7912 GB, free: 5.379 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.000708/0.2682, allocations: 0.503 MB / 0.7916 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.2683, allocations: 8.031 kB / 0.7917 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.2702, allocations: 180.5 kB / 0.7918 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.2704, allocations: 208.2 kB / 0.792 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.2704, allocations: 8.703 kB / 0.792 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.2705, allocations: 24.36 kB / 0.7921 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006594/0.2711, allocations: 308.4 kB / 0.7924 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.2712, allocations: 7.938 kB / 0.7924 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.2712, allocations: 4 kB / 0.7924 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.2712, allocations: 8 kB / 0.7924 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006874/0.2719, allocations: 255.6 kB / 0.7926 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.2735, allocations: 1.389 MB / 0.794 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006434/0.2742, allocations: 190.5 kB / 0.7942 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.2744, allocations: 80.72 kB / 0.7942 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.2745, allocations: 8 kB / 0.7942 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.2745, allocations: 34.56 kB / 0.7943 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.2745, allocations: 0 / 0.7943 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0007757/0.2753, allocations: 245.3 kB / 0.7945 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.2753, allocations: 51.41 kB / 0.7946 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.2755, allocations: 165.2 kB / 0.7947 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.2755, allocations: 29.7 kB / 0.7947 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.2756, allocations: 131.9 kB / 0.7949 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.036e-05/0.2757, allocations: 59.19 kB / 0.7949 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.2758, allocations: 57.83 kB / 0.795 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2759, allocations: 322.8 kB / 0.7953 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.2762, allocations: 64.42 kB / 0.7953 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.2764, allocations: 146.2 kB / 0.7955 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/0.2769, allocations: 223.7 kB / 0.7957 GB, free: 356 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2769, allocations: 0 / 0.7957 GB, free: 356 kB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005627/0.2775, allocations: 257.1 kB / 0.7959 GB, free: 92 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2775, allocations: 4 kB / 0.7959 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.2775, allocations: 4 kB / 0.796 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2775, allocations: 4 kB / 0.796 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.2779, allocations: 59.89 kB / 0.796 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.2779, allocations: 4 kB / 0.796 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.2782, allocations: 32.28 kB / 0.796 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.2782, allocations: 19.98 kB / 0.7961 GB, free: 15.96 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.0001267/0.2784, allocations: 129.7 kB / 0.7962 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.2784, allocations: 15.81 kB / 0.7962 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006095/0.279, allocations: 222.7 kB / 0.7964 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.279, allocations: 7.938 kB / 0.7964 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2791, allocations: 3.938 kB / 0.7964 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2791, allocations: 4 kB / 0.7964 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.2793, allocations: 253.3 kB / 0.7967 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2794, allocations: 0 / 0.7967 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.2797, allocations: 39.97 kB / 0.7967 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2797, allocations: 4 kB / 0.7967 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.2797, allocations: 3.984 kB / 0.7967 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2797, allocations: 3.938 kB / 0.7967 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2797, allocations: 0 / 0.7967 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.2802, allocations: 305.7 kB / 0.797 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.2803, allocations: 101 kB / 0.7971 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.2804, allocations: 0 / 0.7971 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.2807, allocations: 23.88 kB / 0.7971 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.2807, allocations: 11.98 kB / 0.7971 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.2807, allocations: 15.98 kB / 0.7972 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.916e-05/0.2808, allocations: 117.5 kB / 0.7973 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2808, allocations: 0 / 0.7973 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003311/0.2812, allocations: 63.94 kB / 0.7973 GB, free: 14.57 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.0002262/0.2814, allocations: 131.2 kB / 0.7975 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005191/0.2819, allocations: 191.7 kB / 0.7976 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2819, allocations: 0.625 kB / 0.7976 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.2822, allocations: 87.88 kB / 0.7977 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005284/0.2827, allocations: 59.83 kB / 0.7978 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009239/0.2836, allocations: 465.1 kB / 0.7982 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.2839, allocations: 0.7173 MB / 0.7989 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003334/0.2843, allocations: 53.92 kB / 0.799 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.519e-05/0.2844, allocations: 31.36 kB / 0.799 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2844, allocations: 0 / 0.799 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of Templates: time 0.006625/0.291, allocations: 3.281 MB / 0.8022 GB, free: 9.562 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)