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.0007555/0.0007558, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004366/0.004366, allocations: 170 kB / 16.27 MB, free: 6.66 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.362/1.362, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.67/1.67, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0004946/0.0004947, allocations: 15.88 kB / 0.6744 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1934, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001141/0.1945, allocations: 0.9898 MB / 0.789 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002692/0.1973, allocations: 2.47 MB / 0.7914 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.1973, allocations: 4 kB / 0.7914 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.1973, allocations: 0 / 0.7914 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.1974, allocations: 11.91 kB / 0.7914 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.1978, allocations: 123.5 kB / 0.7915 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.527e-05/0.1979, allocations: 27.92 kB / 0.7915 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.1979, allocations: 0 / 0.7915 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.235e-05/0.198, allocations: 19.98 kB / 0.7916 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.198, allocations: 23.84 kB / 0.7916 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.198, allocations: 4 kB / 0.7916 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.1983, allocations: 111.8 kB / 0.7917 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.1983, allocations: 7.984 kB / 0.7917 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.1984, allocations: 37.64 kB / 0.7917 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.1985, allocations: 84.06 kB / 0.7918 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1986, allocations: 0 / 0.7918 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1986, allocations: 0 / 0.7918 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.1986, allocations: 0 / 0.7918 GB, free: 7.531 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.0003554/0.1989, allocations: 347.5 kB / 0.7921 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.199, allocations: 15.97 kB / 0.7922 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.199, allocations: 38.69 kB / 0.7922 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.1992, allocations: 16.83 kB / 0.7922 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.051e-05/0.1993, allocations: 160.4 kB / 0.7924 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1993, allocations: 4.375 kB / 0.7924 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.1994, allocations: 8.375 kB / 0.7924 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.1995, allocations: 72.19 kB / 0.7924 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1995, allocations: 3.938 kB / 0.7924 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1995, allocations: 4 kB / 0.7925 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1995, allocations: 4 kB / 0.7925 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.282e-05/0.1996, allocations: 4 kB / 0.7925 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.2001, allocations: 478.8 kB / 0.7929 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.2002, allocations: 71.66 kB / 0.793 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.2003, allocations: 26.78 kB / 0.793 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.273e-06/0.2003, allocations: 0 / 0.793 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.2003, allocations: 38.56 kB / 0.793 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.2003, allocations: 0 / 0.793 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005361/0.2008, allocations: 302.2 kB / 0.7933 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.2009, allocations: 110.8 kB / 0.7934 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.965e-05/0.201, allocations: 102.1 kB / 0.7935 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.201, allocations: 25.7 kB / 0.7936 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.201, allocations: 87.98 kB / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.2011, allocations: 31.55 kB / 0.7937 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.2011, allocations: 17.72 kB / 0.7937 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2012, allocations: 322.8 kB / 0.794 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/0.2012, allocations: 8 kB / 0.794 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.668e-05/0.2013, allocations: 61.08 kB / 0.7941 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.791e-05/0.2014, allocations: 73.08 kB / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2014, allocations: 0 / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000133/0.2015, allocations: 97.55 kB / 0.7942 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2016, allocations: 7.938 kB / 0.7942 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2016, allocations: 4 kB / 0.7942 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2016, allocations: 0 / 0.7942 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.2017, allocations: 27.98 kB / 0.7943 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2017, allocations: 4 kB / 0.7943 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.438e-05/0.2017, allocations: 0 / 0.7943 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.2017, allocations: 8.547 kB / 0.7943 GB, free: 4.629 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 7.239e-05/0.2018, allocations: 121.9 kB / 0.7944 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.2019, allocations: 7.906 kB / 0.7944 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.2019, allocations: 7.562 kB / 0.7944 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.2019, allocations: 4 kB / 0.7944 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2019, allocations: 0 / 0.7944 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2019, allocations: 3.984 kB / 0.7944 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.2023, allocations: 181.6 kB / 0.7946 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2023, allocations: 4 kB / 0.7946 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.2024, allocations: 15.98 kB / 0.7946 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2024, allocations: 0 / 0.7946 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.2024, allocations: 4 kB / 0.7946 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2024, allocations: 4 kB / 0.7946 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2024, allocations: 0 / 0.7946 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.2026, allocations: 337.9 kB / 0.7949 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.2027, allocations: 85.14 kB / 0.795 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.2027, allocations: 0 / 0.795 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.2029, allocations: 8 kB / 0.795 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.2029, allocations: 11.94 kB / 0.795 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.2029, allocations: 3.984 kB / 0.795 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.924e-05/0.2029, allocations: 79.28 kB / 0.7951 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2029, allocations: 0 / 0.7951 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003094/0.2032, allocations: 16 kB / 0.7951 GB, free: 3.652 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.000447/0.2037, allocations: 0.8699 MB / 0.796 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.583e-05/0.2038, allocations: 39.97 kB / 0.796 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.2038, allocations: 4 kB / 0.796 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.848e-05/0.2038, allocations: 28.17 kB / 0.7961 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.2043, allocations: 7.938 kB / 0.7961 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.2057, allocations: 1.758 MB / 0.7978 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.2059, allocations: 0.6809 MB / 0.7984 GB, free: 100 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.309e-05/0.206, allocations: 11.98 kB / 0.7985 GB, free: 88 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.206, allocations: 15.44 kB / 0.7985 GB, free: 72 kB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.206, allocations: 0 / 0.7985 GB, free: 72 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0104/0.2164, allocations: 1.494 MB / 0.7999 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.2166, allocations: 234.9 kB / 0.8002 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.079, allocations: 2.391 kB / 0.8002 GB, free: 14.53 MB / 0.6231 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/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)