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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.692/2.692, allocations: 287.3 MB / 302.3 MB, free: 8.211 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.001556/0.001556, allocations: 185.8 kB / 370.8 MB, free: 10.87 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.481/2.481, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001153/0.001152, allocations: 93.34 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004987/0.0004989, allocations: 16.08 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2298, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004427/0.2343, allocations: 3.053 MB / 0.9813 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003405/0.2377, allocations: 2.163 MB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.238, allocations: 0 / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.2382, allocations: 35.8 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.2385, allocations: 91.69 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.2402, allocations: 426.9 kB / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.2405, allocations: 164.7 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.853e-05/0.2406, allocations: 17.55 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.2408, allocations: 99.67 kB / 0.9842 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.241, allocations: 71.75 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.241, allocations: 8 kB / 0.9843 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.2422, allocations: 375.5 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.2423, allocations: 39.89 kB / 0.9847 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.707e-05/0.2424, allocations: 57.58 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005952/0.243, allocations: 247.7 kB / 0.9849 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2431, allocations: 0 / 0.9849 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2431, allocations: 7.938 kB / 0.985 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.2431, allocations: 0 / 0.985 GB, free: 21.46 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.0007673/0.2439, allocations: 475.2 kB / 0.9854 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.2439, allocations: 8.031 kB / 0.9854 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.806e-05/0.244, allocations: 54.5 kB / 0.9855 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002916/0.2469, allocations: 187.5 kB / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.2473, allocations: 210.7 kB / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.2473, allocations: 8.328 kB / 0.9859 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.2474, allocations: 16 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009364/0.2483, allocations: 300.2 kB / 0.9862 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2484, allocations: 0 / 0.9862 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.201e-05/0.2484, allocations: 12 kB / 0.9862 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.2485, allocations: 15.89 kB / 0.9862 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.2496, allocations: 263.6 kB / 0.9864 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.2517, allocations: 1.369 MB / 0.9878 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.2528, allocations: 198.9 kB / 0.988 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.2528, allocations: 11.94 kB / 0.988 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.2529, allocations: 42.55 kB / 0.988 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.735e-06/0.2529, allocations: 0 / 0.988 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001347/0.2542, allocations: 239.7 kB / 0.9882 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.2543, allocations: 63.3 kB / 0.9883 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.2545, allocations: 152.7 kB / 0.9884 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.2545, allocations: 29.7 kB / 0.9885 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.2546, allocations: 128 kB / 0.9886 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.2547, allocations: 59.11 kB / 0.9887 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.2547, allocations: 4 kB / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.108e-05/0.2548, allocations: 330.8 kB / 0.989 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.2552, allocations: 64.41 kB / 0.989 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/0.2556, allocations: 139.3 kB / 0.9892 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.256, allocations: 79.84 kB / 0.9892 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.256, allocations: 4 kB / 0.9892 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009611/0.257, allocations: 239.7 kB / 0.9895 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.2571, allocations: 12.27 kB / 0.9895 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2571, allocations: 8 kB / 0.9895 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.2571, allocations: 7.984 kB / 0.9895 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.2578, allocations: 67.89 kB / 0.9896 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.2578, allocations: 4 kB / 0.9896 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/0.2582, allocations: 31.73 kB / 0.9896 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.2583, allocations: 12 kB / 0.9896 GB, free: 16.34 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.0001729/0.2585, allocations: 137.7 kB / 0.9897 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.2585, allocations: 19.81 kB / 0.9898 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.2596, allocations: 218.7 kB / 0.99 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2596, allocations: 4 kB / 0.99 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2596, allocations: 7.938 kB / 0.99 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2596, allocations: 0 / 0.99 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.26, allocations: 233.4 kB / 0.9902 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.26, allocations: 0 / 0.9902 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005669/0.2606, allocations: 67.83 kB / 0.9903 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.2606, allocations: 0 / 0.9903 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.2606, allocations: 4 kB / 0.9903 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.2606, allocations: 3.953 kB / 0.9903 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2606, allocations: 0 / 0.9903 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008526/0.2615, allocations: 301.9 kB / 0.9906 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.2616, allocations: 105 kB / 0.9907 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.2617, allocations: 8 kB / 0.9907 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.2622, allocations: 11.98 kB / 0.9907 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.2622, allocations: 15.94 kB / 0.9907 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.2623, allocations: 11.98 kB / 0.9907 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.965e-05/0.2624, allocations: 115.9 kB / 0.9908 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2624, allocations: 7.938 kB / 0.9908 GB, free: 15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005108/0.2629, allocations: 67.97 kB / 0.9909 GB, free: 14.93 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.001171/0.2641, allocations: 0.8466 MB / 0.9917 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000846/0.265, allocations: 187.4 kB / 0.9919 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.265, allocations: 0 / 0.9919 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003773/0.2654, allocations: 87.89 kB / 0.992 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.2661, allocations: 52.5 kB / 0.992 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/0.2694, allocations: 2.6 MB / 0.9946 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.2696, allocations: 0.7215 MB / 0.9953 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006214/0.2703, allocations: 53.88 kB / 0.9953 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.2705, allocations: 47.41 kB / 0.9954 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of SimCode: time 1.794e-06/0.2705, allocations: 0 / 0.9954 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.3009, allocations: 4.586 MB / 0.9999 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/0.3012, allocations: 226 kB / 1 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/2.883, allocations: 0 / 1 GB, free: 5.59 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)