Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.809/1.809, allocations: 288.4 MB / 303.3 MB, free: 8.156 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.0009306/0.0009305, allocations: 198.8 kB / 372 MB, free: 10.24 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.4 MB / 0.6307 GB, free: 9.887 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.0007674/0.0007675, allocations: 89.25 kB / 0.744 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004288, allocations: 14.59 kB / 0.867 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2367, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001291/0.2381, allocations: 0.9746 MB / 0.9806 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002401/0.2405, allocations: 2.346 MB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.2405, allocations: 3.938 kB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.2405, allocations: 3.984 kB / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.2e-05/0.2406, allocations: 7.922 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.2411, allocations: 99.55 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.2e-05/0.2412, allocations: 39.83 kB / 0.983 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.2412, allocations: 4 kB / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.609e-05/0.2412, allocations: 12 kB / 0.9831 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.2413, allocations: 23.91 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.2413, allocations: 0 / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.2416, allocations: 87.81 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.2416, allocations: 4 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.2416, allocations: 37.64 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.2418, allocations: 52.16 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2418, allocations: 0 / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2418, allocations: 0 / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2418, allocations: 0 / 0.9832 GB, free: 23.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00035/0.2421, allocations: 340.4 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.2422, allocations: 16.02 kB / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.2422, allocations: 38.55 kB / 0.9836 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.2424, allocations: 19.84 kB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.353e-05/0.2425, allocations: 167 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.2425, allocations: 4 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.2426, allocations: 11.98 kB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.2427, allocations: 68.2 kB / 0.9839 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2427, allocations: 3.984 kB / 0.9839 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2427, allocations: 0 / 0.9839 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2427, allocations: 4 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.924e-05/0.2428, allocations: 15.94 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.2433, allocations: 466.8 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.2434, allocations: 75.66 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.2435, allocations: 22.7 kB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.2435, allocations: 0 / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.2435, allocations: 34.56 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.2435, allocations: 0 / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000567/0.2441, allocations: 310.2 kB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.2441, allocations: 106.8 kB / 0.9849 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.809e-05/0.2442, allocations: 101.8 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.2442, allocations: 25.7 kB / 0.985 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.289e-05/0.2442, allocations: 92.05 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.2442, allocations: 31.55 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-06/0.2442, allocations: 4.25 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.736e-05/0.2443, allocations: 310.8 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.2443, allocations: 19.92 kB / 0.9854 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.2444, allocations: 49.16 kB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.679e-05/0.2444, allocations: 23.98 kB / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2444, allocations: 3.938 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001034/0.2445, allocations: 93.55 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.2446, allocations: 7.953 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2446, allocations: 4 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2446, allocations: 0.6094 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.034e-05/0.2447, allocations: 19.94 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2447, allocations: 4 kB / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.2447, allocations: 8.109 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.2447, allocations: 8 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 5.416e-05/0.2448, allocations: 113.8 kB / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.2448, allocations: 11.91 kB / 0.9858 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.2449, allocations: 11.52 kB / 0.9858 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2449, allocations: 4 kB / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2449, allocations: 3.984 kB / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2449, allocations: 0 / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.2452, allocations: 173.6 kB / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2452, allocations: 8 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.964e-05/0.2453, allocations: 16.05 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2453, allocations: 4 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.2453, allocations: 4 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2453, allocations: 3.953 kB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2453, allocations: 0 / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.2455, allocations: 333.9 kB / 0.9863 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.2455, allocations: 81.11 kB / 0.9864 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.2455, allocations: 4.031 kB / 0.9864 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.2457, allocations: 8 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.2457, allocations: 3.953 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.2458, allocations: 4 kB / 0.9864 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.955e-05/0.2458, allocations: 83.27 kB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2458, allocations: 0 / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002708/0.2461, allocations: 12 kB / 0.9865 GB, free: 20.06 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.000312/0.2464, allocations: 0.8633 MB / 0.9873 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.2465, allocations: 47.92 kB / 0.9874 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2465, allocations: 7.875 kB / 0.9874 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.035e-05/0.2465, allocations: 16 kB / 0.9874 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.2469, allocations: 11.94 kB / 0.9874 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008698/0.2478, allocations: 0.6828 MB / 0.9881 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.2479, allocations: 0.6904 MB / 0.9888 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.329e-05/0.248, allocations: 8.047 kB / 0.9888 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.248, allocations: 15.5 kB / 0.9888 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.248, allocations: 0 / 0.9888 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01099/0.259, allocations: 1.484 MB / 0.9902 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/0.2592, allocations: 229.9 kB / 0.9904 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/1.863, allocations: 12 kB / 0.9905 GB, free: 16.09 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)