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.0009086/0.0009086, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008379/0.000838, allocations: 177.3 kB / 15.94 MB, free: 228 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.204/1.204, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8936/0.8936, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002918, allocations: 12 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.15, allocations: 82.31 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001097/0.1511, allocations: 0.9627 MB / 0.5881 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1531, allocations: 1.887 MB / 0.59 GB, free: 268 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.479e-05/0.1531, allocations: 3.938 kB / 0.59 GB, free: 264 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.1532, allocations: 3.938 kB / 0.59 GB, free: 260 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.44e-05/0.1532, allocations: 11.98 kB / 0.59 GB, free: 248 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.1535, allocations: 103.7 kB / 0.5901 GB, free: 144 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.576e-05/0.1536, allocations: 23.97 kB / 0.5901 GB, free: 120 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.1536, allocations: 3.984 kB / 0.5901 GB, free: 116 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.1537, allocations: 19.92 kB / 0.5901 GB, free: 96 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.82e-05/0.1537, allocations: 15.98 kB / 0.5902 GB, free: 80 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.1537, allocations: 0 / 0.5902 GB, free: 80 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.154, allocations: 111.9 kB / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.154, allocations: 11.94 kB / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.154, allocations: 37.58 kB / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.1542, allocations: 44.17 kB / 0.5904 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1542, allocations: 0 / 0.5904 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1542, allocations: 4 kB / 0.5904 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.1542, allocations: 0 / 0.5904 GB, free: 15.87 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.0003047/0.1545, allocations: 339.3 kB / 0.5907 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.1545, allocations: 8.031 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.1547, allocations: 16 kB / 0.5907 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.603e-05/0.1548, allocations: 171 kB / 0.5909 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1548, allocations: 3.984 kB / 0.5909 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.1548, allocations: 8 kB / 0.5909 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.155, allocations: 72.17 kB / 0.5909 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.155, allocations: 0 / 0.5909 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.155, allocations: 4 kB / 0.591 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.155, allocations: 8 kB / 0.591 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.436e-05/0.155, allocations: 7.984 kB / 0.591 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.1555, allocations: 470.8 kB / 0.5914 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.1556, allocations: 75.66 kB / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.1557, allocations: 0 / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.1557, allocations: 38.69 kB / 0.5915 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.1557, allocations: 0 / 0.5915 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004962/0.1562, allocations: 302.4 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.1562, allocations: 102.8 kB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.186e-05/0.1563, allocations: 106.1 kB / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1563, allocations: 33.58 kB / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.1564, allocations: 92.05 kB / 0.5921 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.1564, allocations: 27.56 kB / 0.5922 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.1564, allocations: 0 / 0.5922 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.329e-05/0.1565, allocations: 323 kB / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.1565, allocations: 11.94 kB / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.247e-05/0.1566, allocations: 53.14 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.635e-05/0.1566, allocations: 24.17 kB / 0.5926 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1566, allocations: 0 / 0.5926 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001185/0.1567, allocations: 93.55 kB / 0.5926 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.1568, allocations: 4 kB / 0.5926 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1568, allocations: 8.062 kB / 0.5927 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.1568, allocations: 0 / 0.5927 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.158e-05/0.1569, allocations: 27.88 kB / 0.5927 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1569, allocations: 4 kB / 0.5927 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.44e-05/0.1569, allocations: 3.906 kB / 0.5927 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1569, allocations: 12.12 kB / 0.5927 GB, free: 13.14 MB / 0.4981 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 5.933e-05/0.157, allocations: 113.8 kB / 0.5928 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.1571, allocations: 7.984 kB / 0.5928 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.1571, allocations: 11.5 kB / 0.5928 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1571, allocations: 4 kB / 0.5928 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1571, allocations: 3.953 kB / 0.5928 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1571, allocations: 0 / 0.5928 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.1574, allocations: 173.6 kB / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1574, allocations: 4 kB / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-05/0.1575, allocations: 19.98 kB / 0.593 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1575, allocations: 0 / 0.593 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1575, allocations: 8 kB / 0.593 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1575, allocations: 0 / 0.593 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1575, allocations: 0 / 0.593 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.1577, allocations: 361.3 kB / 0.5934 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.1578, allocations: 77.11 kB / 0.5934 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.1578, allocations: 7.953 kB / 0.5935 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.158, allocations: 7.984 kB / 0.5935 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.158, allocations: 0 / 0.5935 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.158, allocations: 8 kB / 0.5935 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.751e-05/0.1581, allocations: 79.28 kB / 0.5935 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1581, allocations: 0 / 0.5935 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002844/0.1584, allocations: 16 kB / 0.5936 GB, free: 12.14 MB / 0.4981 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.0001062/0.1585, allocations: 103.2 kB / 0.5937 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.158e-05/0.1586, allocations: 47.86 kB / 0.5937 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1586, allocations: 0 / 0.5937 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.242e-05/0.1586, allocations: 16 kB / 0.5937 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.1588, allocations: 12.36 kB / 0.5937 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.1594, allocations: 404.6 kB / 0.5941 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.1596, allocations: 0.6887 MB / 0.5948 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.677e-05/0.1596, allocations: 8 kB / 0.5948 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.1597, allocations: 11.44 kB / 0.5948 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1597, allocations: 0 / 0.5948 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.002088/0.1618, allocations: 0.5937 MB / 0.5954 GB, free: 10.23 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: