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.0009583/0.0009581, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001233/0.001233, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.4 MB / 222.1 MB, free: 5.355 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.704/1.704, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005199/0.00052, allocations: 15.66 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2655, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001725/0.2673, allocations: 0.9859 MB / 0.7884 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00353/0.2709, allocations: 2.343 MB / 0.7907 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.271, allocations: 0 / 0.7907 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.271, allocations: 0 / 0.7907 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.198e-05/0.2711, allocations: 7.922 kB / 0.7907 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.2716, allocations: 99.55 kB / 0.7908 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.582e-05/0.2717, allocations: 39.83 kB / 0.7908 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.2718, allocations: 0 / 0.7908 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.952e-05/0.2718, allocations: 23.92 kB / 0.7908 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.712e-05/0.2719, allocations: 11.97 kB / 0.7908 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.2719, allocations: 4 kB / 0.7908 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.2722, allocations: 87.77 kB / 0.7909 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.2722, allocations: 15.92 kB / 0.7909 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.2723, allocations: 29.7 kB / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.2724, allocations: 48.17 kB / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2725, allocations: 0 / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2725, allocations: 0 / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2725, allocations: 0 / 0.791 GB, free: 8.113 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.0004304/0.2729, allocations: 339.4 kB / 0.7913 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.273, allocations: 8.031 kB / 0.7913 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.273, allocations: 38.55 kB / 0.7914 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.2732, allocations: 23.84 kB / 0.7914 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.2734, allocations: 163.1 kB / 0.7916 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2734, allocations: 8 kB / 0.7916 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.2734, allocations: 8 kB / 0.7916 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.2736, allocations: 68.19 kB / 0.7916 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2736, allocations: 0 / 0.7916 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.2736, allocations: 4 kB / 0.7916 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2737, allocations: 3.984 kB / 0.7916 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.928e-05/0.2737, allocations: 15.89 kB / 0.7917 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.2744, allocations: 466.9 kB / 0.7921 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.2745, allocations: 75.72 kB / 0.7922 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.2746, allocations: 26.64 kB / 0.7922 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.2746, allocations: 0 / 0.7922 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.2746, allocations: 42.58 kB / 0.7922 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.2746, allocations: 3.938 kB / 0.7922 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006606/0.2753, allocations: 306.3 kB / 0.7925 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.2754, allocations: 102.8 kB / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.172e-05/0.2755, allocations: 101.8 kB / 0.7927 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.2755, allocations: 29.64 kB / 0.7928 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.2756, allocations: 84.05 kB / 0.7928 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.2756, allocations: 31.55 kB / 0.7929 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.2756, allocations: 4 kB / 0.7929 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2757, allocations: 318.9 kB / 0.7932 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.993e-05/0.2757, allocations: 15.98 kB / 0.7932 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.963e-05/0.2758, allocations: 49.14 kB / 0.7932 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.397e-05/0.2758, allocations: 19.94 kB / 0.7933 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2759, allocations: 8 kB / 0.7933 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001451/0.276, allocations: 89.55 kB / 0.7934 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.276, allocations: 7.953 kB / 0.7934 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.276, allocations: 0 / 0.7934 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2761, allocations: 4 kB / 0.7934 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.739e-05/0.2762, allocations: 23.98 kB / 0.7934 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2762, allocations: 4 kB / 0.7934 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.858e-05/0.2762, allocations: 3.938 kB / 0.7934 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.2762, allocations: 8.125 kB / 0.7934 GB, free: 5.309 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.756e-05/0.2763, allocations: 114.5 kB / 0.7935 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.2764, allocations: 8.516 kB / 0.7935 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.2764, allocations: 11.52 kB / 0.7935 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2764, allocations: 0 / 0.7935 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2765, allocations: 4 kB / 0.7935 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2765, allocations: 0 / 0.7935 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.2768, allocations: 177.7 kB / 0.7937 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.2768, allocations: 7.984 kB / 0.7937 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.052e-05/0.2769, allocations: 23.98 kB / 0.7937 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2769, allocations: 3.938 kB / 0.7937 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.2769, allocations: 0 / 0.7937 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.277, allocations: 11.89 kB / 0.7938 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.277, allocations: 0 / 0.7938 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.2772, allocations: 330 kB / 0.7941 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.2773, allocations: 85.14 kB / 0.7941 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.2773, allocations: 4 kB / 0.7942 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.2775, allocations: 0 / 0.7942 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.2775, allocations: 11.95 kB / 0.7942 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.2775, allocations: 11.92 kB / 0.7942 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.35e-05/0.2776, allocations: 75.28 kB / 0.7942 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2776, allocations: 0 / 0.7942 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003278/0.2779, allocations: 16 kB / 0.7943 GB, free: 4.332 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 (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.0005757/0.2785, allocations: 0.8633 MB / 0.7951 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.2786, allocations: 48.16 kB / 0.7952 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2786, allocations: 4 kB / 0.7952 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.844e-05/0.2787, allocations: 19.92 kB / 0.7952 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.2791, allocations: 11.95 kB / 0.7952 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.2803, allocations: 0.6826 MB / 0.7959 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.2806, allocations: 0.6809 MB / 0.7965 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.415e-05/0.2807, allocations: 12.05 kB / 0.7965 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.2807, allocations: 15.5 kB / 0.7965 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.2807, allocations: 0 / 0.7965 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01319/0.2939, allocations: 1.471 MB / 0.798 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/0.2942, allocations: 227.7 kB / 0.7982 GB, free: 380 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/1.987, allocations: 0 / 0.7982 GB, free: 380 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: