Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.001121, allocations: 196.6 kB / 16.64 MB, free: 6.453 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.419/1.419, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.762/1.762, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001482/0.001482, allocations: 67.8 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2384, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00312/0.2416, allocations: 1.271 MB / 0.7849 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004022/0.2457, allocations: 2.493 MB / 0.7873 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.2458, allocations: 0 / 0.7873 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/0.2458, allocations: 7.922 kB / 0.7873 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.2459, allocations: 7.922 kB / 0.7873 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007218/0.2466, allocations: 139.2 kB / 0.7875 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.2467, allocations: 39.92 kB / 0.7875 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.2468, allocations: 0 / 0.7875 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.2469, allocations: 23.84 kB / 0.7875 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.247, allocations: 15.98 kB / 0.7875 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.247, allocations: 7.938 kB / 0.7875 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003513/0.2473, allocations: 111.8 kB / 0.7876 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.2474, allocations: 11.98 kB / 0.7877 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.2474, allocations: 11.92 kB / 0.7877 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.2476, allocations: 88.06 kB / 0.7877 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2476, allocations: 0 / 0.7877 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2477, allocations: 4 kB / 0.7878 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.2477, allocations: 0 / 0.7878 GB, free: 9.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004378/0.2481, allocations: 355.4 kB / 0.7881 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2482, allocations: 8.031 kB / 0.7881 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.2482, allocations: 30.75 kB / 0.7881 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.2484, allocations: 16.92 kB / 0.7881 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.2485, allocations: 164.3 kB / 0.7883 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.263e-05/0.2486, allocations: 4.375 kB / 0.7883 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.2486, allocations: 8.375 kB / 0.7883 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.2488, allocations: 76.17 kB / 0.7884 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2488, allocations: 0 / 0.7884 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.2489, allocations: 4 kB / 0.7884 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2489, allocations: 0 / 0.7884 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.101e-05/0.2489, allocations: 19.92 kB / 0.7884 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006976/0.2496, allocations: 466.8 kB / 0.7889 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.2498, allocations: 71.75 kB / 0.7889 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.2498, allocations: 22.64 kB / 0.7889 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.2498, allocations: 4 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.2499, allocations: 38.56 kB / 0.789 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.2499, allocations: 0 / 0.789 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006808/0.2506, allocations: 298.2 kB / 0.7893 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.2507, allocations: 115.1 kB / 0.7894 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.367e-05/0.2507, allocations: 97.84 kB / 0.7895 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.2508, allocations: 29.7 kB / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.2508, allocations: 84.05 kB / 0.7896 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.2509, allocations: 31.55 kB / 0.7896 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.2509, allocations: 33.64 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.2511, allocations: 314.8 kB / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.2511, allocations: 23.92 kB / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.612e-05/0.2511, allocations: 49.14 kB / 0.79 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.589e-05/0.2512, allocations: 81.59 kB / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2513, allocations: 3.938 kB / 0.7901 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001379/0.2514, allocations: 93.61 kB / 0.7902 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2514, allocations: 4 kB / 0.7902 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2514, allocations: 4 kB / 0.7902 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2514, allocations: 0 / 0.7902 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.975e-05/0.2515, allocations: 27.92 kB / 0.7902 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2515, allocations: 0 / 0.7902 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.2516, allocations: 16.03 kB / 0.7902 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.2516, allocations: 7.938 kB / 0.7902 GB, free: 6.098 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.2517, allocations: 109.8 kB / 0.7903 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.2518, allocations: 4 kB / 0.7903 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.2518, allocations: 15.55 kB / 0.7904 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2518, allocations: 0 / 0.7904 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2518, allocations: 0 / 0.7904 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2519, allocations: 0 / 0.7904 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.2522, allocations: 177.6 kB / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2522, allocations: 3.938 kB / 0.7905 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.492e-05/0.2523, allocations: 20 kB / 0.7906 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2523, allocations: 4 kB / 0.7906 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2523, allocations: 3.984 kB / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2523, allocations: 0 / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2523, allocations: 0 / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.2526, allocations: 333.9 kB / 0.7909 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.2527, allocations: 89.14 kB / 0.791 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.2527, allocations: 3.938 kB / 0.791 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.2529, allocations: 4 kB / 0.791 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.2529, allocations: 11.92 kB / 0.791 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.2529, allocations: 0 / 0.791 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.463e-05/0.253, allocations: 83.28 kB / 0.7911 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.253, allocations: 0 / 0.7911 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003147/0.2533, allocations: 12 kB / 0.7911 GB, free: 5.141 MB / 0.6075 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 (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.0005848/0.2539, allocations: 0.8633 MB / 0.7919 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.2541, allocations: 51.95 kB / 0.792 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2541, allocations: 0 / 0.792 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.531e-05/0.2541, allocations: 15.94 kB / 0.792 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.2546, allocations: 18.92 kB / 0.792 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.2563, allocations: 1.711 MB / 0.7937 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.2566, allocations: 0.6846 MB / 0.7943 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.08e-05/0.2567, allocations: 7.781 kB / 0.7944 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.2568, allocations: 19.44 kB / 0.7944 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.2568, allocations: 0 / 0.7944 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.2765, allocations: 1.697 MB / 0.796 GB, free: 80 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.127, allocations: 9.125 kB / 0.796 GB, free: 76 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)