Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001204/0.001204, allocations: 113.8 kB / 16.37 MB, free: 6.332 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.00117/0.00117, allocations: 192.9 kB / 17.3 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7152/0.7152, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 66.92 kB / 0.5862 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1311, allocations: 80.93 MB / 0.6652 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002171/0.1333, allocations: 1.264 MB / 0.6665 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002643/0.1359, allocations: 2.503 MB / 0.6689 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.136, allocations: 0 / 0.6689 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.136, allocations: 4 kB / 0.6689 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.1361, allocations: 7.922 kB / 0.6689 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.1365, allocations: 127.4 kB / 0.669 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.618e-05/0.1366, allocations: 35.86 kB / 0.6691 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.1366, allocations: 0 / 0.6691 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.545e-05/0.1367, allocations: 27.91 kB / 0.6691 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.1368, allocations: 15.92 kB / 0.6691 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.1368, allocations: 8 kB / 0.6691 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.1371, allocations: 107.8 kB / 0.6692 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.1371, allocations: 11.98 kB / 0.6692 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.1371, allocations: 19.92 kB / 0.6693 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1373, allocations: 79.78 kB / 0.6693 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1373, allocations: 3.938 kB / 0.6693 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1373, allocations: 0 / 0.6693 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.1373, allocations: 0 / 0.6693 GB, free: 1.617 MB / 0.4981 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.0003663/0.1377, allocations: 359.5 kB / 0.6697 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.1377, allocations: 9.109 kB / 0.6697 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.1379, allocations: 12.92 kB / 0.6697 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.138, allocations: 164.4 kB / 0.6699 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1381, allocations: 8.312 kB / 0.6699 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1381, allocations: 8.281 kB / 0.6699 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.1382, allocations: 72.38 kB / 0.6699 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1382, allocations: 3.938 kB / 0.6699 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1383, allocations: 8 kB / 0.6699 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1383, allocations: 0 / 0.6699 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.53e-05/0.1383, allocations: 8 kB / 0.67 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.1388, allocations: 462.9 kB / 0.6704 GB, free: 372 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.139, allocations: 83.64 kB / 0.6705 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.139, allocations: 22.78 kB / 0.6705 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.139, allocations: 0 / 0.6705 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.139, allocations: 46.55 kB / 0.6705 GB, free: 172 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.1391, allocations: 0 / 0.6705 GB, free: 172 kB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005649/0.1396, allocations: 302.1 kB / 0.6708 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.1397, allocations: 106.8 kB / 0.6709 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.919e-05/0.1398, allocations: 97.86 kB / 0.671 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.1398, allocations: 33.7 kB / 0.6711 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.1398, allocations: 92.23 kB / 0.6711 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.1398, allocations: 27.64 kB / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.1399, allocations: 29.61 kB / 0.6712 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.14, allocations: 318.8 kB / 0.6715 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.073e-05/0.14, allocations: 12 kB / 0.6715 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.284e-05/0.1401, allocations: 49.14 kB / 0.6716 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.535e-05/0.1402, allocations: 73.08 kB / 0.6716 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1402, allocations: 4 kB / 0.6716 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001238/0.1403, allocations: 93.64 kB / 0.6717 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1403, allocations: 8.031 kB / 0.6717 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1403, allocations: 4 kB / 0.6717 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1403, allocations: 0 / 0.6717 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.13e-05/0.1404, allocations: 23.92 kB / 0.6718 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1404, allocations: 4 kB / 0.6718 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.573e-05/0.1405, allocations: 4.062 kB / 0.6718 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.1405, allocations: 8 kB / 0.6718 GB, free: 14.75 MB / 0.5137 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 6.626e-05/0.1405, allocations: 121.7 kB / 0.6719 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.1406, allocations: 7.906 kB / 0.6719 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.1406, allocations: 12.17 kB / 0.6719 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1407, allocations: 4 kB / 0.6719 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.1407, allocations: 0 / 0.6719 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1407, allocations: 3.984 kB / 0.6719 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.141, allocations: 173.6 kB / 0.6721 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.141, allocations: 4 kB / 0.6721 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.707e-05/0.1411, allocations: 12 kB / 0.6721 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1411, allocations: 7.922 kB / 0.6721 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.1411, allocations: 8 kB / 0.6721 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1411, allocations: 0 / 0.6721 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1411, allocations: 4 kB / 0.6721 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.1413, allocations: 333.9 kB / 0.6724 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.1414, allocations: 89.05 kB / 0.6725 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.1414, allocations: 4 kB / 0.6725 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.1416, allocations: 4 kB / 0.6725 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.1416, allocations: 8 kB / 0.6725 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.1416, allocations: 7.922 kB / 0.6725 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.209e-05/0.1416, allocations: 83.28 kB / 0.6726 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1417, allocations: 0 / 0.6726 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002926/0.1419, allocations: 12 kB / 0.6726 GB, free: 13.77 MB / 0.5137 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.0001167/0.1421, allocations: 104.6 kB / 0.6727 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.1422, allocations: 51.86 kB / 0.6728 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1422, allocations: 0 / 0.6728 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.518e-05/0.1422, allocations: 19.92 kB / 0.6728 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.1426, allocations: 8 kB / 0.6728 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.1432, allocations: 358.4 kB / 0.6732 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1435, allocations: 0.6846 MB / 0.6738 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.1435, allocations: 11.44 kB / 0.6738 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1435, allocations: 0 / 0.6738 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of Templates: time 0.002024/0.1455, allocations: 0.7845 MB / 0.6746 GB, free: 11.68 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)