Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.629/1.629, allocations: 287.4 MB / 302.6 MB, free: 8.227 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.0009675/0.0009675, allocations: 181.2 kB / 371.1 MB, free: 10.84 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.179/1.179, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.000732/0.000732, allocations: 94.42 kB / 0.7431 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003087, allocations: 15.39 kB / 0.8662 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1529, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.0008981/0.1539, allocations: 0.986 MB / 0.9797 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1557, allocations: 2.335 MB / 0.982 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.1557, allocations: 4 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.1557, allocations: 3.938 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.76e-05/0.1558, allocations: 11.97 kB / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.1561, allocations: 95.55 kB / 0.9821 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.125e-05/0.1561, allocations: 31.84 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 2.641e-05/0.1562, allocations: 4 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.016e-05/0.1562, allocations: 23.92 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.1562, allocations: 19.97 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.1563, allocations: 0 / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.1565, allocations: 95.75 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.1565, allocations: 0 / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.1565, allocations: 33.7 kB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.056e-05/0.1566, allocations: 48.16 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.175e-05/0.1566, allocations: 0 / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1566, allocations: 0 / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.1566, allocations: 0 / 0.9823 GB, free: 24.39 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.0002315/0.1569, allocations: 343.5 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.1569, allocations: 12.03 kB / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.246e-05/0.1569, allocations: 34.75 kB / 0.9827 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.1571, allocations: 20.81 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.905e-05/0.1572, allocations: 168.3 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.1572, allocations: 12.25 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.851e-05/0.1572, allocations: 8.375 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.13e-05/0.1573, allocations: 76.19 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.1573, allocations: 0 / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1573, allocations: 4 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1573, allocations: 0 / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.963e-05/0.1574, allocations: 11.92 kB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.1577, allocations: 474.8 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.704e-05/0.1578, allocations: 67.75 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.1579, allocations: 26.64 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.1579, allocations: 4 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.101e-05/0.1579, allocations: 34.56 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1579, allocations: 0 / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004188/0.1583, allocations: 306.1 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.1584, allocations: 102.8 kB / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.507e-05/0.1584, allocations: 106.1 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.1584, allocations: 29.7 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.788e-05/0.1584, allocations: 88.05 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.1585, allocations: 27.56 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.1585, allocations: 0 / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.014e-05/0.1585, allocations: 322.8 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/0.1585, allocations: 8 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.1586, allocations: 65.08 kB / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.637e-05/0.1586, allocations: 69.08 kB / 0.9846 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1586, allocations: 0 / 0.9846 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.696e-05/0.1587, allocations: 97.55 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.1588, allocations: 4 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1588, allocations: 0 / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1588, allocations: 4 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.1589, allocations: 23.94 kB / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1589, allocations: 11.92 kB / 0.9848 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.1589, allocations: 0 / 0.9848 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1589, allocations: 7.938 kB / 0.9848 GB, free: 21.5 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 4.254e-05/0.159, allocations: 122 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.159, allocations: 7.906 kB / 0.9849 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.159, allocations: 7.562 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1591, allocations: 0 / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1591, allocations: 4 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1591, allocations: 0 / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.1593, allocations: 181.6 kB / 0.9851 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1593, allocations: 0 / 0.9851 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.762e-05/0.1594, allocations: 23.92 kB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1594, allocations: 4.547 kB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1594, allocations: 4 kB / 0.9851 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1594, allocations: 4 kB / 0.9851 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1594, allocations: 0 / 0.9851 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.1596, allocations: 325.9 kB / 0.9854 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.1596, allocations: 85.11 kB / 0.9855 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1596, allocations: 12.03 kB / 0.9855 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1598, allocations: 4.094 kB / 0.9855 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.1598, allocations: 15.92 kB / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-06/0.1598, allocations: 4 kB / 0.9856 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.537e-05/0.1598, allocations: 79.27 kB / 0.9856 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1598, allocations: 0 / 0.9856 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002547/0.1601, allocations: 16 kB / 0.9856 GB, free: 20.53 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.0002375/0.1603, allocations: 0.8633 MB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.016e-05/0.1604, allocations: 39.97 kB / 0.9865 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1604, allocations: 0 / 0.9865 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.9e-05/0.1605, allocations: 20.19 kB / 0.9865 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.1608, allocations: 19.92 kB / 0.9866 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007329/0.1616, allocations: 0.6824 MB / 0.9872 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.042e-05/0.1617, allocations: 0.6899 MB / 0.9879 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.006e-05/0.1617, allocations: 8.062 kB / 0.9879 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.1618, allocations: 15.5 kB / 0.9879 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1618, allocations: 0 / 0.9879 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3479/0.5097, allocations: 1.458 MB / 0.9894 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.5099, allocations: 224.9 kB / 0.9896 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.322/1.832, allocations: 2.531 kB / 0.9896 GB, free: 16.59 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)