Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009232/0.0009233, allocations: 84.38 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.001012/0.001012, 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 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001758/0.001758, allocations: 271.1 kB / 291.4 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9376/0.9376, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003986, allocations: 13.62 kB / 0.598 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1356, allocations: 88.55 MB / 0.6845 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001107/0.1367, allocations: 0.9747 MB / 0.6854 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.1393, allocations: 2.337 MB / 0.6877 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.897e-05/0.1393, allocations: 0.5 kB / 0.6877 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.1394, allocations: 1.219 kB / 0.6877 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.627e-05/0.1394, allocations: 3.984 kB / 0.6877 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.1398, allocations: 101 kB / 0.6878 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.182e-05/0.1398, allocations: 31.86 kB / 0.6879 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.992e-05/0.1399, allocations: 4.734 kB / 0.6879 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.1399, allocations: 23.92 kB / 0.6879 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.316e-05/0.14, allocations: 14.83 kB / 0.6879 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.14, allocations: 7.984 kB / 0.6879 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.1402, allocations: 83.78 kB / 0.688 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.1403, allocations: 11.97 kB / 0.688 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.1403, allocations: 33.7 kB / 0.688 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.1404, allocations: 40.17 kB / 0.6881 GB, free: 11.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1404, allocations: 4 kB / 0.6881 GB, free: 11.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1404, allocations: 1.688 kB / 0.6881 GB, free: 11.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.1404, allocations: 0 / 0.6881 GB, free: 11.83 MB / 494.1 MB 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.0003094/0.1408, allocations: 343.3 kB / 0.6884 GB, free: 11.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.1408, allocations: 8.531 kB / 0.6884 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.141, allocations: 17.67 kB / 0.6884 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.311e-05/0.1411, allocations: 178.8 kB / 0.6886 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1411, allocations: 0 / 0.6886 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1411, allocations: 4 kB / 0.6886 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1413, allocations: 65.86 kB / 0.6887 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1413, allocations: 0 / 0.6887 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1413, allocations: 8.625 kB / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1413, allocations: 4.609 kB / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.741e-05/0.1413, allocations: 15.88 kB / 0.6887 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.1419, allocations: 472.4 kB / 0.6891 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.142, allocations: 71.66 kB / 0.6892 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.836e-05/0.1421, allocations: 22.64 kB / 0.6892 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.1421, allocations: 12 kB / 0.6892 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.1421, allocations: 30.56 kB / 0.6893 GB, free: 10.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.1421, allocations: 0 / 0.6893 GB, free: 10.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005541/0.1427, allocations: 310.1 kB / 0.6896 GB, free: 10.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.1427, allocations: 107.1 kB / 0.6897 GB, free: 9.914 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.214e-05/0.1428, allocations: 97.84 kB / 0.6898 GB, free: 9.809 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1428, allocations: 33.7 kB / 0.6898 GB, free: 9.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.1429, allocations: 84.05 kB / 0.6899 GB, free: 9.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.1429, allocations: 27.64 kB / 0.6899 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.1429, allocations: 4 kB / 0.6899 GB, free: 9.652 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.143, allocations: 310.8 kB / 0.6902 GB, free: 9.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/0.143, allocations: 15.98 kB / 0.6902 GB, free: 9.324 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.816e-05/0.1431, allocations: 61.02 kB / 0.6903 GB, free: 9.246 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.975e-05/0.1431, allocations: 20 kB / 0.6903 GB, free: 9.227 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1432, allocations: 0 / 0.6903 GB, free: 9.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001367/0.1433, allocations: 101.4 kB / 0.6904 GB, free: 9.121 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1433, allocations: 11.95 kB / 0.6904 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1433, allocations: 0 / 0.6904 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1433, allocations: 0 / 0.6904 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-05/0.1434, allocations: 27.94 kB / 0.6904 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1434, allocations: 3.984 kB / 0.6904 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.636e-05/0.1435, allocations: 4 kB / 0.6904 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.1435, allocations: 4 kB / 0.6904 GB, free: 9.07 MB / 494.1 MB 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 7.082e-05/0.1436, allocations: 114.5 kB / 0.6905 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.1436, allocations: 8.609 kB / 0.6906 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.1437, allocations: 15.52 kB / 0.6906 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1437, allocations: 0 / 0.6906 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1437, allocations: 0 / 0.6906 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1437, allocations: 4 kB / 0.6906 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.144, allocations: 181.6 kB / 0.6907 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.144, allocations: 0 / 0.6907 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.655e-05/0.1441, allocations: 23.86 kB / 0.6908 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1441, allocations: 4 kB / 0.6908 GB, free: 8.668 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.1442, allocations: 4.062 kB / 0.6908 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1442, allocations: 7.953 kB / 0.6908 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1442, allocations: 4 kB / 0.6908 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.1444, allocations: 318.1 kB / 0.6911 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.1444, allocations: 88.95 kB / 0.6912 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.1445, allocations: 4.031 kB / 0.6912 GB, free: 8.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.1446, allocations: 4 kB / 0.6912 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.1447, allocations: 11.95 kB / 0.6912 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1447, allocations: 4 kB / 0.6912 GB, free: 8.195 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.888e-05/0.1447, allocations: 83.27 kB / 0.6913 GB, free: 8.113 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1447, allocations: 0 / 0.6913 GB, free: 8.113 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00032/0.145, allocations: 16 kB / 0.6913 GB, free: 8.098 MB / 494.1 MB 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 9.943e-05/0.1452, allocations: 99.25 kB / 0.6914 GB, free: 7.988 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.1453, allocations: 47.92 kB / 0.6914 GB, free: 7.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1453, allocations: 0 / 0.6914 GB, free: 7.941 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.824e-05/0.1453, allocations: 23.92 kB / 0.6915 GB, free: 7.918 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1457, allocations: 4 kB / 0.6915 GB, free: 7.914 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005695/0.1463, allocations: 404.9 kB / 0.6918 GB, free: 7.484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.1465, allocations: 0.6848 MB / 0.6925 GB, free: 6.773 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.24e-05/0.1466, allocations: 15.92 kB / 0.6925 GB, free: 6.758 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.1466, allocations: 11.44 kB / 0.6925 GB, free: 6.746 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1466, allocations: 0 / 0.6925 GB, free: 6.746 MB / 494.1 MB Notification: Performance of Templates: time 0.002489/0.1491, allocations: 0.5895 MB / 0.6931 GB, free: 6.191 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)